Set rule to transpose notes?

jdm

2008-03-15 10:15:53

Hi Guys,
How do I set up a rule to do the following?:

I want to use a controller, say controller #40 to transpose notes. If the controller is between 0-40, I want all notes transposed down -24 (2 octaves), if it's between 41-80 down -12, etc.

How do I do this?

Cheers,

Joris

joesapo

2008-03-28 21:53:23

jdm wrote:Hi Guys,
How do I set up a rule to do the following?:

I want to use a controller, say controller #40 to transpose notes. If the controller is between 0-40, I want all notes transposed down -24 (2 octaves), if it's between 41-80 down -12, etc.

How do I do this?

Cheers,

Joris
Hi there Joris!

This may help you get started...

The following is an example of a translator that does what you're looking for...

Code: Select all

Translator 1: Transpose Channel 1
Options: stop=false
Incoming: MIDI 90 xx yy 
Rules: 
  if ga<=63 then xx=xx-24
  if ga>=64 then xx=xx-12
Outgoing: Unknown Action: MID190 xx yy

Translator 2: Transpose Controll
Options: stop=false
Incoming: MIDI 91 40 xx 
Rules: 
  ga=xx
Outgoing: (none)
Translator 2 simply feeds controller #40 on MIDI channel 2 into a global variable that can be shared between translators. Translator 1 modifies the 'xx' variable (note #) according to the value of the global variable in translator 1...

Hope this helps. Let me know if you need any assistance!