Hi,
Bit of a basic question about using the SendMIDI method.
I’m using the TDAbleton package to connect to Ableton, and have a python script to send a note to Ableton. I have a Chop Execute that triggers on a value change and sends the note like this:
op('abletonMIDI1').SendMIDI('note', val, 100)
where val is the note. Whenever the Chop Execute runs Ableton keeps playing the original note and adds the new note, so it keeps building up as more notes are sent. Is there a setting (either in Ableton or Touchdesigner) where it only plays the newest note that’s sent? I only want it to play the most recent note.
The only thing I’ve found is either set the previous note to a velocity of 0, or flush the note before sending a new one. It’s not really the same effect as if you were playing it on a keyboard though, since the notes wouldn’t be connected at all.
Thanks