10.6

Table Of Contents
218Logic Pro Effects
/* because modwheel range is 0-127 and pitch range is 1-127, convert a modwheel
value of 0 to 1 */
event.value = 1;
note.pitch = event.value; /* use cc value as note pitch */
note.velocity = 100; /* use velocity 100 */
note.send(); /* send note on */
var off = new NoteOff(note); /* create a NoteOff object that inherits the NoteOn pitch
and velocity values */
var delayInBeats = GetParameter("Note Length")/100 + 0.1;
/* retrieve the parameter value of the slider you created (add 0.1 to guarantee note on
and off are not simultaneous) */
off.sendAfterBeats(delayInBeats);w/* send note off after the length in beats is set via
the slider */
}
}
Logic Pro Transposer MIDI plug-in
The Transposer MIDI plug-in can transpose incoming MIDI notes in real time and can
correct notes to a selected scale.
Transposer parameters
Transpose slider: Transpose incoming MIDI Notes by ± 24 semitones.
Root pop-up menu: Choose the root note for the scale.
Scale pop-up menu: Choose one of several preset scales or create your own custom
scale (User) with the onscreen keyboard.
Keyboard: Click notes to turn them on or off. Notes that are turned off are excluded
from the User scale.