Play variable tone with Java?
Back in my high school Pascal class, I had a fun little program that would take in an integer and then play a tone using the system speaker. The pitch of the tone would vary, based on the int开发者_运维技巧.
Does functionality like this exist in the Java world? Would an alternative be to pull in a wav or ulaw, and then change the frequency?
Thanks,
IVR AvengerYou could use JFugue
You might enjoy this simple example that constructs and plays pure tones.
精彩评论