Sound

Sound
  
            License: Freeware $0.00
            OS: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
            Requirements: Java 1.5+
            Publisher: Canadian Mind Products
            Homepage: http://mindprod.com
          

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


Share this post