I am doing Junittest for my class programs. When they completely pass I want them to play a little midi song once. What is a simple code I can enter in the Junit test that will allow me to play the file that is in my documents? Please give me an example and tell me what I will need.
Joined: Jan 29, 2003
Google for Java MIDI and see what shows up. You're probably going to need Synthesizer and Sequencer objects. I enjoyed MIDI programming in Pascal but had little joy in Java. Everything I tried seemed to get into invalid states that could not be killed.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi