views:

57

answers:

2

Hi, all.

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 Avenger

+2  A: 

You could use JFugue

Adam
+1  A: 

You might enjoy this simple example that constructs and plays pure tones.

trashgod