add synchroneous sound to the video clips of the timeline, looking for a matching sync clip in a bin
(export in your xml a bin and a timeline
download an example)
list every clips in a bin and calculate the uncaptured holes between every clip
(export a bin as xml, not a timeline
download a sample xml)