switch between video playback and live-input

Jun 22, 2010 at 4:39pm

switch between video playback and live-input

I would like to switch in a jit.window between live-input and playback of prerecorded video. The problem I am having is that when I switch to live-im+nput, I still get the sounds from the prerecorded video. How do I solve that?

#51016
Jun 22, 2010 at 5:35pm

A combination of the [spigot~] object and the “soc” message to [jit.qt.movie] will give you access to the audio in Max directly, or you can simply set the [jit.qt.movie] rate to 0 when you switch to live input.

#183045
Jun 22, 2010 at 6:57pm

also if you want the prerecorded video to keep playing just send it the volume message or [vol $1] or just [vol 0] to turn the volume off and [vol 1] to turn it back up with a toggle going into that for volume on off..or just a number box if you want to fade the volume out or something

#183046

You must be logged in to reply to this topic.