NotePlayer Issues

I’m using a timer to play a series of notes consecutively. I’ve been using the various instruments and I’ve noticed that some of the notes sustain after the phrase of notes is done playing. I made a button to turn the timer off but the notes continue to sustain. Is there a way to shut off the sound completely so the notes will stop playing? I used noteplayer.playnote (60,0) and noteplayer.close but both of them did not work.

Did you send the last pitch or just 60 with velocity 0?
According to the docs »the played will continue to play until it is played again with a velocity of 0.«

Thanks I missed that detail