SoundObject (Javadocs: Processing Sound) (original) (raw)

Direct Known Subclasses:

[AudioIn](AudioIn.html "class in processing.sound"), [AudioSample](AudioSample.html "class in processing.sound"), [Noise](Noise.html "class in processing.sound"), [Oscillator](Oscillator.html "class in processing.sound")


public abstract class SoundObject extends Object

For advanced users: common superclass of all sound sources (oscillators, noise, audio samples and even AudioIn).

void
[add](#add%28float%29)(float add)
void
[amp](#amp%28float%29)(float amp)
Change the amplitude/volume of this sound.
int
[channels](#channels%28%29)()
The 'true' number of underlying channels of this sound.
Gets the JSynCircuit object which encapsulates all the JSyn units (basic sound generator, pan and amplitude) which control the sound synthesis of this SoundObject.
boolean
[isPlaying](#isPlaying%28%29)()
Check if this sound object is currently playing.
void
[pan](#pan%28float%29)(float pos)
Move the sound in a stereo panorama.
void
[play](#play%28%29)()
void
[stop](#stop%28%29)()
Stops this sound from playing back.