increase item limit on menus
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
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
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.
![Wink ;)](./images/smilies/icon_e_wink.gif)
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.
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: increase item limit on menus
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
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. ![Wink ;)](./images/smilies/icon_e_wink.gif)
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: increase item limit on menus
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.
![Smile :)](./images/smilies/icon_e_smile.gif)
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.
- Attachments
-
- note_select.jzml
- (1.43KiB)Downloaded 304 times
-
- wave_select.jzml
- (10.7KiB)Downloaded 295 times
Re: increase item limit on menus
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!![Wink ;)](./images/smilies/icon_e_wink.gif)
(remember, if you change the menu options, you LL HAVE to change the division selection/19)
So here is the first one
here's the trickery though!
![Wink ;)](./images/smilies/icon_e_wink.gif)
(remember, if you change the menu options, you LL HAVE to change the division selection/19)
So here is the first one
- Attachments
-
- note_select-127range.jzml
- (1.22KiB)Downloaded 308 times
Re: increase item limit on menus
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 ![Wink ;)](./images/smilies/icon_e_wink.gif)
![Wink ;)](./images/smilies/icon_e_wink.gif)
- Attachments
-
- wave_select-127range.jzml
- (5.99KiB)Downloaded 330 times
Re: increase item limit on menus
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![Uber Geek :ugeek:](./images/smilies/icon_e_ugeek.gif)
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
![Uber Geek :ugeek:](./images/smilies/icon_e_ugeek.gif)
Re: increase item limit on menus
Great! yeah it is like magic isnt it? ![Wink ;)](./images/smilies/icon_e_wink.gif)
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: increase item limit on menus
Magic so advanced . . . it's indistinguisable from technology.