jit.record and playback speed of recorded material

Joni950's icon

Hi everyone,
I'm having some issues with recording some audioreactive visuals from my patch that I want to be able to sync with the audio I'm recording in the same patch. I've used the Quickrecord function for the audio, and jit.record for the visuals, but the playback speed for the video is all wrong.

Noise Sequencer.maxpat
Max Patch
Audioreactive Visuals

Any help or tricks is very welcome.

Thanks,
Johan

Sue Slagle's icon

Hi Johan
Your patch runs at 15fps on my computer, but you are recording at 30fps. You can try setting the "realtime" flag to "on" (1) in jit.record. My (perhaps outdated) understanding is that this flag will record at the rate the frames are being processed. If it's mismatched then your video is either too fast, or too slow. This used to happen 100% of the time years ago, but for me and my students has not been a problem in a long time.
Ok good luck
Sue

Federico-AmazingMaxStuff's icon
Joni950's icon

Thanks a lot for your replies, both of you! I'll sit down with it tonight and read the tutorials, hopefully it will make it work! :)