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

Playing tone in J2SE

Aleksander Popov

Joined: Feb 27, 2006
Posts: 5

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?

Rashid Mayes
Ranch Hand

Joined: Jan 11, 2006
Posts: 160
check out javasound and

start with javax.sound.midi.Synthesizer

Rashid Mayes -
jQuery in Action, 2nd edition
subject: Playing tone in J2SE