When I enter notes using the keyboard, the sound of the note continues to play and does not stop

Are you on the newest Mac OS (27, aka Golden Gate)? If so, see this thread.