Page 2 of 3

Re: increase item limit on menus

Posted: 30 Sep 2014 16:00
by Gramsham
Hi Guys,

I'm delighted to have found this post as I too have recently encountered the limitations of the menu object.

Having spent the last few days working with the example from Softcore (thanks for the smart coding!), I've run into another problem
to overcome; when I try to scale the output from each container (i.e. individual menus) from 0-127 so as to interact with the live.menu in Live, the output is 0 for the first item
and 127 for each subsequent item (I checked it using a MIDI observer patch in Max). This kind of scaling was no problem with the menu object and worked fine in Live.
Would anybody have an idea as to how to overcome today's latest challenge?

Cheers,

Graham

Re: increase item limit on menus

Posted: 30 Sep 2014 20:06
by Softcore
Hello there....due to the fact that the "selection" variable is calculated via scripts, enabling the "scale" option in the midi mappings makes all the thing fail

In reality the "scale" option expects a floating value from 0 to 1 to then scale it to the desired 1-127 range. As you see in my template, the "selection" has actual 0 - 127 range thats why any value besides 0 with "scale" enabled will make the thing spit out 127s

Now, as it is, each object sends a CC related to its index position. All you have to do, for mapped menus in Ableton Live is to set the "mapping" options of said parameter (or menu of Live) so that

minimum = 0 and
maximum = amount of menu options in Lemur

This way your menu selections inside Lemur will "coincide" with the actual menu selection on Live.

;)

Re: increase item limit on menus

Posted: 01 Oct 2014 08:49
by Gramsham
Hmm...thanks for the advice but I can't find a way to adjust the range for live.menu - those options are greyed out. Frustrating.

Re: increase item limit on menus

Posted: 01 Oct 2014 12:31
by Softcore
Ah I see....so.....just send me the Lemur menu object you been working on and let me know the desired range - I'll do one for ya so that you can get the idea behind it. ;)

Re: increase item limit on menus

Posted: 01 Oct 2014 14:51
by Gramsham
It's funny that I'm essentially sending you your own work :)

Basically, the live.menu will respond to 0-127 scaling but that's not what's being output from the scrolling menu.

The ranges I'm sending are small - 0-3, 0-5, 0-20 etc.

Re: increase item limit on menus

Posted: 01 Oct 2014 16:15
by Softcore
No the first one isnt lol - its a simple menu object and as you can see you CANT jsut set desired 127 range....

here's the trickery though! ;)

(remember, if you change the menu options, you LL HAVE to change the division selection/19)

So here is the first one

Re: increase item limit on menus

Posted: 01 Oct 2014 16:23
by Softcore
And here's the other one - no need to change anything when you change the amount of options - I'm reading the amount in the script and do the division by script ;)

Re: increase item limit on menus

Posted: 07 Oct 2014 21:58
by Gramsham
Hey Softcore, I finally got a chance to sit down with those patches yesterday - been coding ever since!
After a bit of tinkering and adapting your ideas, I'm flying it now and have beautiful scrolling menus mapped to Live.
Had to do a little bit of thinking to match it all up but got there in the end.

Thanks for your help and the lesson in the magic of scripting.

All the best,

Graham :ugeek:

Re: increase item limit on menus

Posted: 08 Oct 2014 11:58
by Softcore
Great! yeah it is like magic isnt it? ;)

Re: increase item limit on menus

Posted: 08 Oct 2014 17:38
by Joe Soap
Magic so advanced . . . it's indistinguisable from technology.