Video fade slider patch needed!

Feb 15, 2011 at 10:50am

Video fade slider patch needed!

Hi all,

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.

Any ideas?

Thank you in adavance! :-)

#54963
Feb 20, 2011 at 9:59pm

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.

#197920
Feb 21, 2011 at 1:12pm

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.

#197921
Feb 22, 2011 at 1:56am

Kurt is right, I forgot you can just use the QT volume and scale that. Doh!

#197922

You must be logged in to reply to this topic.