This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Playing tone in J2SE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Playing tone in J2SE" Watch "Playing tone in J2SE" New topic
Author

Playing tone in J2SE

Aleksander Popov
Greenhorn

Joined: Feb 27, 2006
Posts: 5
Hello,

While looking at J2ME I noticed there is a method in Manager.playtTone(int note, int duration,int volume). I am interested in being able to produce a tone in J2SE, does anyone know how to do this?

thanks,
Alex
Rashid Mayes
Ranch Hand

Joined: Jan 11, 2006
Posts: 160
check out javasound and http://www.jsresources.org

start with javax.sound.midi.Synthesizer


Rashid Mayes
http://www.hostj2me.com/ - http://www.worlddeveloper.org/
 
GeeCON Prague 2014
 
subject: Playing tone in J2SE