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

Sophia's icon

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

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

mzed's icon

spigot~

Sophia's icon

Thanks!

Sophia's icon

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?

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

Sophia's icon

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.