From: Ryan on
I'm making a GUI piano for a final project and I'm having some trouble with figuring out the length of time for notes. I have a simple 1.5 octave gui piano and its working fine if i assign the frequencies to play on a button press, but im not sure how to make matlab continuosly play the note if the button is held down.