Sound 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 com\mindprod\sound directory.
java com.mindprod.sound.Sound
| Updated: | 1969-12-31 |
| License: | Free |
| Publisher: | Canadian Mind Products |
| Size: | n/a |
| Require: | Java 1.5+ |
| System: | Win98, WinME, WinNT3x, WinNT4x, WinXP, Win2000, Win2003, Unix, Linux, LinuxConsole, LinuxGnome, LinuxGPL, AS400, OS2, OS2Warp, OS2Warp4, MacOSX, Java |
| Language: | English |