Sound 1.4
ound lets you mathematically create sounds in Java.
You define your sounds in terms of 16-bit linear code for
the waveform, -- an array of samplings. The U_Law.class will
then convert that to (or from) *.AU mu-law 8-bit encoding
format which you can then play with
AudioPlayer.player.start(bis) in an application or with
Applet.getAudioClip in an Applet.
This is just a sample program. You would insert your own mathematical
functions or cannibalise parts of the code.
Use winzip to extract U_Law.java and Sound.java with
folder names into the commindprodsound directory.
java.exe -jar sound.jar