Menu Dropdown to midi note range?

Discuss Lemur and share techniques.
Post Reply
TKillz
Newbie
Posts:11
Joined:15 Feb 2016 00:33
Menu Dropdown to midi note range?

Post by TKillz » 25 Dec 2016 00:26

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.

Phil999
Regular
Posts:932
Joined:11 Jan 2012 01:53

Re: Menu Dropdown to midi note range?

Post by Phil999 » 25 Dec 2016 05:52

the simplest thing would probably be to create a script, executed on Menu.selection[insert number], and in that script add a noteout() command.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro

phase_change
Regular
Posts:114
Joined:31 May 2015 18:45
Location:Austin, TX

Re: Menu Dropdown to midi note range?

Post by phase_change » 26 Dec 2016 22:33

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.
Have you tried turning it off and on again?

Post Reply