Paul Clapham wrote:You could try Java | MIDI Introduction or MIDI basics and a lot of people liked About Java's Sound Stuff.
I didn't look at any Youtube tutorials because I'm a text-oriented person and I'm not good at understanding video explanations of text.
Norm Radder wrote:Have you done a search on that topic? I see several java programs on stackexchange that do that.
Stephan van Hulst wrote:Actually, you shouldn't be using Thread.sleep() at all. If you want to block the current thread until the track has finished playing, you should use locks and conditions and add a meta event listener to the sequencer.
Kevin Simonson wrote:
Carey Brown wrote:What is an example of command line arguments that you're using?
Edit: sorry I missed your comment at the end.
java Synth 96 6 0 127 6500