I’m a real newbie to MSP, and would be very very grateful of any help.
I’m trying to build a patch in Jitter that allows the user to fade between two movies. The idea is that there is a slider at the bottom of the screen which controls the fade. If the slider is over hard left, then one video will be playing. If it’s over hard right, then the other video will be playing. If it’s in the middle then there will be a blend of both files. I also need it to work for the audio.
you’ll need jit.xfade for the video, and two spigot~ objects for the audio (jit.xfade won’t crossfade audio). Have the movies @vol 0. so QT doesn’t play back the sound. from spigot~ you can use audio fading (gainfader~, matrix~) and tie that to the video fader. might need [scale] in there for the right values.
If you don’t need to further process the audio in MSP–you just want to control its level–then I think you could get by without the spigot~ business. It should work to set the "vol $1" parameter for each jit.qt.movie to control its audio volume in QuickTime. The fader should make one volume level would go up as the other goes down. The [scale] or [!-] objects would be helpful to get the correct values.