Multiple Note ons

Discuss Lemur and share techniques.
Post Reply
DJ-PJ
Newbie
Posts: 1
Joined: 05 Jul 2012 10:28

Multiple Note ons

Post by DJ-PJ »

Hi

This is probably really easy......however

How do you create mutiple note ons on one switch? ie if I want one button to activate C3 and C4 at the same time. Basically I am trying to setup a template to do some keyswitching and can't figure it out....

Thanks
SBPBK
Newbie
Posts: 19
Joined: 20 May 2012 04:34

Re: Multiple Note ons

Post by SBPBK »

Make a script for the object you want to have send multiple notes, make the execution "On Expression" x and in the script write noteout(midi target, note number, velocity, channel)

If you wants the note to stop being triggered when you release the pad (note off), you'll have to make two scripts, one to send note on and one to send note off. The note on script needs to have a velocity above 0 and needs to be sent when the message goes from 0 to positive, the note off script needs to have a velocity of 0 and needs to be sent when the message goes from positive to 0. Use the drop down box on the top right part of the script window to select when the message is sent. You can just search "MIDI note numbers" to figure out what note numbers correspond to the MIDI notes you want to send, as you can't write "C3" or "C4" in the script, those would be 36 (C3) or 48 (C4), for example.

Attached is an object that I have sending 4 MIDI notes on/offs, one of the notes is determined by the object's (pad) setting and the other 3 determined by the note numbers in the script. You can also give the object itself no MIDI target and only send the MIDI notes using the script. That's an option too.

Cheers
Attachments
multinouteoutpad.jzlib
Multi Note Out Pad
(2.58 KiB) Downloaded 134 times
Post Reply