Page 1 of 1

Creating Transpose buttons for Keyboard

Posted: 31 Jan 2013 05:32
by ausbaxter
Okay, so i'm having trouble coming up with how to get this to work. I have 12 custom buttons functioning as a keyboard. I want to create two other custom buttons that will incrementally increase or decrease the range of the keyboard by octave. I cant figure out how to get the the script to recognize the midi note numbers in the midi mapping page. I thought it would be similar to identifying an attribute in an object, but i just cant figure it out.
Any help would be awesome!

Re: Creating Transpose buttons for Keyboard

Posted: 31 Jan 2013 07:28
by Softcore
There are many midi keyboards in the user library with transpose buttons to check out the logic. It boils down to creating a custom variable, let's name it "pitch_offset", then create a custom midi out message and use scripts in the transpose buttons to increment-decrement the "pitch_offset" variable which will then be added to the "base" pitch of each custom midi message.

Re: Creating Transpose buttons for Keyboard

Posted: 01 Feb 2013 10:03
by ausbaxter
Thanks for the reply! I know what your saying and I had a look at some of the keyboards in the library, I am absolutely noob at programming so I get confused when theres so much going on. Looking at these templates made me realize how much potential lemur has if only I understood programming... so one more question. Is there any recommendations on some beginner scripting concepts for lemur, I have already read the manual, and it goes through some very basic stuff, but I just don't know where to look to get the information. (obviously here but don't want to bombard the forum with beginner questions) Again thanks for the reply.

Re: Creating Transpose buttons for Keyboard

Posted: 01 Feb 2013 12:34
by Softcore
Hear ya! Well, indeed, due to the vast posibilities I cant think of any "beginner-friendly" method other than downloading user templates with ideas that might be of use to you and analyze the scripts and try to comprehend whats going on.