Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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/
 
jQuery in Action, 2nd edition
 
subject: Playing tone in J2SE