Forums > Max For Live

Observing clip playing pos in js

Mar 12 2013 | 11:14 am

Hi, back in the world of Live 8 and Max 5/6.0, c74 informed me that this property was not safe to observe in js due to it being flooded with data – i’ve tried this in L9/6.1 and it seems better, but still causing crashes. Would be greatful if anyone or c74 can comment on whether this is still a no-no or not.

thx Lee

Mar 13 2013 | 10:34 am

I can confirm the crashes and have found that the playing position is reported at intervals of 60 ms. So it’s not really a "flood" of data. Seems strange to me that javascript can’t handle this.

Mar 13 2013 | 10:57 am

Please to post or send a frozen device which exhibits the problem. Thanks, Jeremy

Mar 13 2013 | 1:33 pm

Ok, give me a day or so to isolate an example – just fyi, I’ve done a bit more testing and it seems to be no problem if I’m not outputting to the max windows – currently, my devices output a load of trace, maybe 10 msgs per update per clip for 4 clips – if i turn off the trace to the max window it seems to be ok – also, when running in live and not in the editor it’s fine also, so maybe it’s an issue with so much data going to the max window??

Mar 13 2013 | 2:35 pm

That doesn’t seem likely, but we often see memory corruption problems which lead to crashes during posts to the Max window. That is, it’s the effect and not the cause. Thanks for taking the time to isolate an example — hopefully we can quickly identify the problem.

Best, Jeremy

Mar 13 2013 | 6:03 pm

ok, will do… where should I send the device to?

Mar 13 2013 | 6:06 pm

If you don’t want to post it here, you can send it to my first name at cycling74 dot com.

Best, Jeremy

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > Max For Live