how to trigger monophonic synth with MIDI ?

Status
Not open for further replies.

emmanuel63

Well-known member
Hello,

I am working on a basic synth project with a Teensy 3.2 + AudioShield.
I cannot figure out how to correctly trigger monophonic notes using MIDI.
Let's say I have triggered a C, then a D without releasing the C. When I release the D, it mutes both the D and the C. I must find a code that re-triggered the C in this case.

How do you deal with this ?

I tried to play with MIDI modes : omni, poly, mono... with no success.

Thanks for any help,
Emmanuel
 
How do you deal with this ?

I would add a variable that remembers which note number was most recently turned on.

At the beginning of the code which decides to turn on a new note, I'd check that variable and first send a note-off message, then transmit the new note-on message.
 
Thank you Paul, thank you Rabb17,

I figure out now how I will deal with it.

Special thanks to you Paul for developing such an amazing circuit.

Emmanuel
 
Status
Not open for further replies.
Back
Top