Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple MIDI program - not working?

 
Ravaa Bal
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all, I've tried to run this code which in theory should produce a single sound on the default synthesizer (using Java Sound API), but it doesn't do anything. The code seems to be fine according to my IDE, so I'm not sure what the problem might be?



Thank you kindly.
 
Prabz Bhatia
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm guessing you're a beginner, So I suggest you stop the use of an IDE and use the command line and a text editor ...

There is a much better way to produce sound than a synthesizer.. You could use a Sequencer, as :


Hope this helps...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!