Added a sustain mode to automatically cut off notes