User Tools

Site Tools


ess

ESS

-Saving sound files is easy with ESS- just use the AudioChannel.saveSound(“fileName”,[start frame],[length in frames]);

-The AudioChannel.samples[] matrix makes most of the examples very similar to those in the book. You can resize this matrix, edit it, etc.

-There is no equivelant to “playNote()” in section 10.6, but I have a feeling you won't miss this too much.

-ESS is easy to install and use- download the package (http://www.tree-axis.com/Ess/_distros/Ess_r2.zip), unzip Ess_r2.zip and place the 'Ess' folder inside the Processing 'libraries' folder. Then, in your sketch, import the ESS library: Sketch → Import Library → Ess_r2 → Ess.

-ESS was able to load all of the book's WAV files and all of the MP3's I threw at it, but failed when trying to load different types of WAV files.

-ESS works quite well when exported to an applet: you don't have to worry about putting the sound files in the same folder as the applet (it's included in the .jar file), and there seem to be no problems.

-Like in Sonia, ESS's array of samples is made of floats, where the book uses ints. You have to watch out for clipping, and you may have to prep the book's sample clips (make the min -.5 and the max .5) before you can use them for examples like increasing volume.

-The functionality in ESS is incredible. The AudioFilter class provides such functionality as: Amplify, Normalize, Reverse, Reverb, FadeIn, FadeOut, RateShift, PitchShift, TempoShift, etc. The AudioGenerator class has subclasses like: WhiteNoise, SawtoothWave, SineWave, SquareWave, TriangleWave.

-Analysis of sound data is easy with the FFT class.

ess.txt · Last modified: 2007/08/30 13:53 (external edit)