MidiOut midiOut;
void setup()
{
// Make a new MidiOuputObject and open it
midiOut = new MidiOut(); midiOut.showAvailableOutputs(); midiOut.openOutput(1); midiOut.setNoteOn(0,48,127);
midiOut.setController(0,0,59);
midiOut.setNoteOff(0,48);
}
Description
Use this function to send a noteOff
on a certain channel, to the note with the given pitch.