I am running the MiniMusicCmdApp class below - it compiles and almost functions as expected, except after it makes the sound the class hangs (blinking cursor - see image), and I have to close down Command Prompt, reset my path etc when I reopen it.
Is this a bad class, or is there something wrong with my computer settings?
EDIT by mw: Added Code Tags. [ February 24, 2007: Message edited by: marc weber ]
when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
At the end of the try block (immediately after calling player.start();), try adding the following...
This will cause a 2-second pause (which should be long enough for the player to play the note you specified), after which it will close the Sequencer and exit the program. [ February 25, 2007: Message edited by: marc weber ]
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org