I'm working on a project using a glove device to make digital music.
Recently I was persuaded to try MAX MSP as a medium to convert an Arduino Output into musical notes. While so far it's been simple to get musical outputs, the sound doesn't end. Each pin is connected to a message so that when it is pressed, a note is played. The problem is that when the pin is stopped, the note doesn't end.
I've spent hours trying to get this to work, because this is a pretty critical feature. The only things I've found that seem to be for this (sustain, for example), are made for MIDI which we aren't using. What can I do?