Can Anybody else reproduce this bit of oddness?

Learn about building and using Max for Live devices.
Post Reply
Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Can Anybody else reproduce this bit of oddness?

Post by Surreal » Thu Jan 27, 2011 6:53 pm

I am doing this with a js heavy midi effect.

the effect works fine and the notes are on time, normally.

but if i scrub back and forth in the bottom little tab that shows a bird's eye view of all of the effect really quickly, the timing gets REALLY loose.

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: Can Anybody else reproduce this bit of oddness?

Post by Surreal » Thu Jan 27, 2011 7:14 pm

you could try without js...i am just wondering if it is.reproducible

amounra93
Posts: 432
Joined: Sat Jan 24, 2009 8:16 pm
Location: Arcata, CA
Contact:

Re: Can Anybody else reproduce this bit of oddness?

Post by amounra93 » Thu Jan 27, 2011 7:18 pm

I stay away from MIDI processing with js for this very reason....everything runs low priority, and in a single thread in m4l. That means if the API takes a hit for whatever reason (redraws, etc.), timing gets wonky. You'll get a pause in the output, then a stacked output of everything that got dropped until it catches up. I use js only for stuff that is UI related or for API calls (since they are always low-priority anyway).

So yes, very reproducible.
http://www.aumhaa.com for Monomod and other m4l goodies.

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: Can Anybody else reproduce this bit of oddness?

Post by Surreal » Thu Jan 27, 2011 7:41 pm

well that is incredibly dissapointing. I remember the warning about timers, but didn't realize that it would mess up event based midi processing as much as it does.

i've done too much to scrap it, but now i don't know how useful this will be.

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: Can Anybody else reproduce this bit of oddness?

Post by Surreal » Thu Jan 27, 2011 7:57 pm

immediate to the rescue!

amounra93
Posts: 432
Joined: Sat Jan 24, 2009 8:16 pm
Location: Arcata, CA
Contact:

Re: Can Anybody else reproduce this bit of oddness?

Post by amounra93 » Thu Jan 27, 2011 8:18 pm

'immediate' is not a solution....in my own experience, it has been the most reliable means to ensure that your patch ALWAYS crashes. Sorry :(

a

edit:: to clarify: according to my information, the 'immediate' attribute is not correctly supported in m4l.
http://www.aumhaa.com for Monomod and other m4l goodies.

Surreal
Posts: 560
Joined: Wed May 17, 2006 1:18 am

Re: Can Anybody else reproduce this bit of oddness?

Post by Surreal » Thu Jan 27, 2011 8:41 pm

hasn't done much ill to me...

so far.

heh.

Post Reply