Different Frequency Beeps

I want to be able to make sounds or beeps of a specified frequency and a specified duration. I can't seem to find out how to do this.

All I have been able to find is java.awt.Toolkit.beep() which all it does is beep. I have also looked at the javax.sound.midi and java.sound.sampling packages but even if I opted to go that overly complicated route I still can't find any information that helps me enough where I could actually use those to do what I want.

Anyone know a way to do this?

[514 byte] By [jcmcbeth] at [2007-11-25 20:34:55]
# 1
It looks like there is a javax.sound API, though I'm not an expert on this.Try reposting on the Java programming forum: http://forum.java.sun.com/forum.jspa?forumID=31&start=0Thank you!
bnitz at 2007-7-4 18:03:56 > top of Java-index,Desktop,Sun Java Desktop System...