sound in Java  
Author Message
Branko Kaucic





PostPosted: 2003-6-28 4:08:00 Top

java-programmer, sound in Java Hi all!

How is possible to change frequency at java's command beep()? Or
somehow? I need two different beeps in my application. They should be
only a kind of beeps and not playing MIDI or something similar.

Thanks,
Branko

 
Jon A. Cruz





PostPosted: 2003-6-28 11:43:00 Top

java-programmer >> sound in Java Marco Schmidt wrote:
>
> For everything that extends "Toolkit.beep" you'll have to look at
> either java.applet and its play method or one of the javax.sound
> packages.

Or JMF...

Or a JEsd client on some systems
http://www.jcraft.com/jesd/


:-D


(just being a pain)

 
Giuliano Pascali





PostPosted: 2003-7-11 2:23:00 Top

java-programmer >> sound in Java I'm trying to play two sound with play(),
consecutivly but first one then the second,
but java mix the two sound playing then
at the same time i try to use a pause()
betwen them but it's not a good solution and
give me other problem in my program.
Can you suggest me a right solution,
can i disable the mixer o can i know when
a wav (or au) is finishing to play?

Thank you all want me help


 
 
ZetaFoxeDesign





PostPosted: 2003-7-11 16:01:00 Top

java-programmer >> sound in Java you must synchronize calls to play


 
 
myronfuller





PostPosted: 2003-9-9 0:17:00 Top

java-programmer >> sound in Java Does anyone know if there exists a method where you specify the
frequency and amplitude of a sound and the computer plays it back?
 
 
Skippy





PostPosted: 2003-9-9 1:31:00 Top

java-programmer >> sound in Java > See sample code to generate an artificial sound file at
> http://mindprod.com/sound.html. The sample there generates sine
> waves.

http://mindprod.com/jgloss/sound.html

> you can also do it in midi. See http://mindprod.com/midi.html
> if you restrict to the scale.

http://mindprod.com/jgloss/midi.html

Mind you, roedy :)