scene-select over 127

Learn about building and using Max for Live devices.
Post Reply
pyrolator
Posts: 39
Joined: Sat Feb 23, 2002 10:43 am
Contact:

scene-select over 127

Post by pyrolator » Fri Feb 05, 2010 4:27 am

I am trying right now to select a scene higher than 127 with "M4L.api.SetSelectedSceneIndex", this doesn´t work.
Also not with "M4L.api.SelectNextScene" to step by step go over a scene higher than 127.
I this a kind of "natural" limitation (midi)?
Or is it too late and I am tired?

have to get some sleep
pyro

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: scene-select over 127

Post by hoffman2k » Mon Feb 08, 2010 6:29 pm

I'll wager a guess that the problem is because of the [zl delace] objects in use.
I reported this bug earlier for different abstractions and it got fixed for those. I assumed the changes would follow for the other abstractions.

ZL Delace only handles 256 items in a list by default. So you get only 128 scenes because the other 128 items on the list are the word "ID".
All you need to do to fix this is add an argument to zl delace like [zl delace 9999].

pyrolator
Posts: 39
Joined: Sat Feb 23, 2002 10:43 am
Contact:

Re: scene-select over 127

Post by pyrolator » Mon Feb 08, 2010 9:48 pm

@hoffman2k (cool name by the way):

thanks, I will try that !

Post Reply