Page 1 of 1

Menu Dropdown to midi note range?

Posted: 25 Dec 2016 00:26
by TKillz
Can a dropdown menu be set to send a different note value for each option tab? ie: Option0= 24, Option1= 25, Option2=26, etc? or even 24, 25, 32, 38)

If so, how. I've read the menu section of the manual, searched the forums. The manual seems to start with the assumption that the user is already a programmer and just needs some references. Is there a better way to learn other than dissecting other templates? I do this regularly, but if you can't find an example of what you want to do then you're s.o.l.

Re: Menu Dropdown to midi note range?

Posted: 25 Dec 2016 05:52
by Phil999
the simplest thing would probably be to create a script, executed on Menu.selection[insert number], and in that script add a noteout() command.

Re: Menu Dropdown to midi note range?

Posted: 26 Dec 2016 22:33
by phase_change
Scripting languages are really easy to pick up. The Lemur manual actually does get into the basics of how scripting languages work (loops, conditionals, operators, arrays, variables, briefly touches on datatypes.) Reread those parts until you understand them and you won't need to look at other people's code 9/10 times. Also, just ask on this forum if you have a question and someone will give you an example.