MEP transpose

Midi data arithmetics: addition/subtraction

  • always filter MIDI_CLOCK, MIDI_START, MIDI_CONT, MIDI_STOP, ACTIVE_SENS messages.
Name in+outtypeminmax comments
ininmidi
outoutmidi
filteredoutmidi
code1inbutton0 1
code2inbutton0 1
transposeindata-128 127 -128: bypass transpose
wrap aroundinbutton0 1

code 1

Process OR bypass first midi data BYTE.

  • IF code 1 OR code 2 are ON: midi input → transpose → midi out
  • IF code 1 AND code 2 are OFF: midi input → midi thru

code 2

Process OR bypass second midi data BYTE

transpose

Add '+' OR subtract '-' midi data values

IF value is = -128 THEN transpose is bypassed!

wrap around

IF a value as a RESULT of expanding OR transposing is not between 1 AND 128:

  • IF wrap around is ON: RESULT = f(1-1=128;128+1=1;).
  • IF wrap_around is OFF: RESULT = 128 OR 1.
manual/modules/scripts/mep_transpose.txt · Last modified: 2013/04/19 04:23 (external edit)