Forums > Jitter

Stopping movie audio playback upon opening patch

March 5, 2012 | 5:09 pm

Hello all,

I’m trying to make a patch for a friend’s performance of a piece for gyil and audio playback.

He made a video with a click track and as long as the video and audio file start at the same time everything is hunky dory.

Problem is whenever I open the patch the click audio from the movie starts playing (even though my patching works after the loadbang) If you open it, you’ll be able to see what I mean. Once the patch is open, tap the space bar twice and everything stops, then after you tap it again everything plays back exactly as it should.

How can I keep the click audio from playing on start up.

Here’s a link to a zip containing the patch, movie, and audio file: http://dl.dropbox.com/u/23679492/Divide%20by%205.zip

Thanks,
Aaron


March 5, 2012 | 11:27 pm

jit.qt.movie has by default autostart flag, it starts the associated spigot~ also. To avoid this, set jit.qt.movie @autostart 0.
I would also add to your patch a toggle or startwindow/stop to switch dac/adc on off, in order to control best.


March 5, 2012 | 11:34 pm

I meant "it starts the associated sound of the moviealso".
Best, Helmuth


March 6, 2012 | 12:54 am

Ah, good to know.

Thanks so much!

-Aaron


March 6, 2012 | 1:06 am

Well, maybe I spoke too soon. I’ve added "@autostart 0" to the jit.qt.movie. That fixes the issue with spigot~ starting up when the patch is loaded, but now the first time I start the movie nothing comes out of it. I have to stop it, then start it again for it to work.

Is that something I’ll just have to live with?

Thanks again,
Aaron


March 6, 2012 | 2:52 pm

Your video start’s with about 2 seconds black(volontary?). With another video no problem to start. Look like it has to do with your video(not shure). I start your video at 2190 ms, start’s fine. I added some little things in your patch, may help (let me know):

– Pasted Max Patch, click to expand. –

March 7, 2012 | 12:04 am

Sorry, I should’ve been more specific.

The video starts fine (there should be some dead time at the start), it’s the spigot~ that doesn’t output any sound until the second time I start the patch.

-Aaron


March 7, 2012 | 9:54 am

With the little changes I added to your patch (see my previous post)works fine here. Is your folder in the max filepreferences?

Best, Helmuth


Viewing 8 posts - 1 through 8 (of 8 total)