[PD] playing video+sound with Gem

Max Neupert abonnements at revolwear.com
Tue Nov 28 11:21:17 CET 2006


Am 16.11.2006 um 21:46 schrieb sven:
>> you'll have to split the audio and the video into individual files  
>> and play
>> them separately.
>> the best way to make sure that a/v stays perfectly in sync would  
>> be to play the audio
>> with [vline~] + [tabread4~] and [snapshot~] the ouput of [vline~]  
>> every [gemhead]
>> to determine the frame of the video to be displayed.
>
> the technique above (replace [vline~] with whatever you're  
> controlling your audio playback with)
> also works for timestretching, reverse playback and scratching.
> and beside the video and the audio file also a dead_chicken.txt is  
> needed because
> the framerate of the video needs to be known to pd somehow.

sven,
why do you need to know the framerate? i think actually just the kHz  
rate of the sample needs to be known. then if sample and video have  
the same length and you have the total number of frames... just  
devide them with the total of samples and you will know which frame  
goes with which sample, or not?
no dead_chicken.txt in the end?

max




More information about the Pd-list mailing list