live.object Changes cannot be triggered by notifications

Dec 13, 2009 at 11:31pm

live.object Changes cannot be triggered by notifications

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

#47191
Dec 14, 2009 at 1:15am

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. –
#169674
Dec 14, 2009 at 10:59pm

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

#169675

You must be logged in to reply to this topic.