Stopping movie audio playback upon opening patch

AaronMButler's icon

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

Helmuth's icon

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.

Helmuth's icon

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

AaronMButler's icon

Ah, good to know.

Thanks so much!

-Aaron

AaronMButler's icon

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

Helmuth's icon

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):

Max Patch
Copy patch and select New From Clipboard in Max.

AaronMButler's icon

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

Helmuth's icon

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