how to get jit.qt.movie audio into MSP?

Dec 13, 2009 at 11:22pm

how to get jit.qt.movie audio into MSP?

Hi all,

I’ve been working on a patch for the past year that algorithmically scrubs through a movie by sending frame messages to a stopped jit.qt.movie.

Obviously, this method does not give me access to the audio tracks. To achieve this I would basically have to granulate the audio using the framerate to determine the duration of the grains. The thing is that I’m not really sure how to get the audio tracks from jit.qt.movie into MSP since I’ve never needed them before.

Please see below for a failed attempt at this using record~ and jit.buffer~. The idea was to scrub through the audio by varying the speed of the metro banging the counter.

Thanks,
Zach

– Pasted Max Patch, click to expand. –
#47189
Dec 13, 2009 at 11:59pm

spigot~

#169662
Dec 14, 2009 at 12:18am

Thanks!

#169663
Dec 14, 2009 at 12:49am

Hmm, looks like I could use some assistance on the granulation part. FYI, I’m adapting one of Andrew Benson’s recipes. Any idea why this isn’t working?

– Pasted Max Patch, click to expand. –
#169664
Dec 14, 2009 at 1:57am

Wow, this is stupid. I’m so used to working with video that I completely forgot I have to scale the duration of each grain during playback so that they don’t overlap or leave gaps in between. I’m going to have to think about this for a bit.

#169665

You must be logged in to reply to this topic.