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.
posted 7 years ago
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 :