Creating Transpose buttons for Keyboard

Discuss problems and solutions.
Post Reply
ausbaxter
Newbie
Posts: 2
Joined: 31 Jan 2013 05:23

Creating Transpose buttons for Keyboard

Post 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!
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Creating Transpose buttons for Keyboard

Post 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.
ausbaxter
Newbie
Posts: 2
Joined: 31 Jan 2013 05:23

Re: Creating Transpose buttons for Keyboard

Post 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.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Creating Transpose buttons for Keyboard

Post 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.
Post Reply