Forums > Max For Live

live.object Changes cannot be triggered by notifications

December 13, 2009 | 11:31 pm

Hello

I’m a little bit stuck with how the live object model works. Can anyone point me in the right direction as to why the following code outputs this:
live.object Changes cannot be triggered by notifications

– Pasted Max Patch, click to expand. –

It’s meant to mute track 2 when there’s a clip playing on track 1 (so you’ll need to try it out on a set with 2 tracks.

Cheers

DiGiTaLFX


December 14, 2009 | 1:15 am

You’ve run into code which protects Live from potential API access problems.

Try deferlowing the call, which puts it at the back of the event queue

– Pasted Max Patch, click to expand. –

December 14, 2009 | 10:59 pm

Hi Andrew

Thanks for the reply. I don’t suppose you could elaborate a little bit more could you? e.g. what is it actually protecting it from, and why did you put the deferlow object after the >= comparison, rather than either before that or after the ‘set mute $1′ message? Also, why was a deferlow the solution in comparison to a defer?

Cheers

DiGiTaLFX


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