Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

activeChannel() - Static method in class processing.sound.MultiChannel
 
activeChannel(int) - Static method in class processing.sound.MultiChannel
Controls which output channel sounds will be played back to.
add(float) - Method in class processing.sound.SoundObject
 
AllPass - Class in processing.sound
This is an all pass filter.
AllPass(PApplet) - Constructor for class processing.sound.AllPass
 
amp(float) - Method in class processing.sound.AudioSample
Change the amplitude/volume of the player.
amp(float) - Method in class processing.sound.BrownNoise
Change the amplitude/volume of this sound.
amp(float) - Method in class processing.sound.SoundFile
Change the amplitude/volume of this audiosample.
amp(float) - Method in class processing.sound.SoundObject
Change the amplitude/volume of this sound.
amp(float) - Method in class processing.sound.WhiteNoise
Change the amplitude/volume of this sound.
amp(Modulator) - Method in class processing.sound.Oscillator
 
Amplitude - Class in processing.sound
This is a volume analyzer.
Amplitude(PApplet) - Constructor for class processing.sound.Amplitude
 
analyze() - Method in class processing.sound.Amplitude
Queries a value from the analyzer and returns a float between 0.
analyze() - Method in class processing.sound.FFT
 
analyze() - Method in class processing.sound.PitchDetector
 
analyze() - Method in class processing.sound.Waveform
Gets the content of the current audiobuffer from the input source, writes it into this Waveform's `data` array, and returns it.
analyze(float) - Method in class processing.sound.PitchDetector
Returns an estimate of the current pitch (or 'fundamental frequency') of the input sound signal, in Hertz.
analyze(float[]) - Method in class processing.sound.FFT
Calculates the current frequency spectrum of the input signal.
analyze(float[]) - Method in class processing.sound.PitchDetector
 
analyze(float[]) - Method in class processing.sound.Waveform
Gets the content of the current audiobuffer from the input source.
Analyzer - Class in processing.sound
Common superclass of all audio analysis classes
analyzeSample(float[], float[]) - Static method in class processing.sound.FFT
Calculates the frequency spectrum of a given audio sample and returns an array of magnitudes, one for each frequency band.
analyzeSample(float[], int) - Static method in class processing.sound.FFT
 
AndroidPermissionException - Exception in processing.sound
AndroidPermissionException is thrown when trying to create an AudioIn on Android when you have not granted the required RECORD_AUDIO permission.
AndroidPermissionException(String) - Constructor for exception processing.sound.AndroidPermissionException
 
AudioDevice - Class in processing.sound
Deprecated. 
AudioDevice(PApplet, int, int) - Constructor for class processing.sound.AudioDevice
Deprecated.
 
AudioIn - Class in processing.sound
AudioIn lets you grab the audio input from your sound card.
AudioIn(PApplet) - Constructor for class processing.sound.AudioIn
 
AudioIn(PApplet, int) - Constructor for class processing.sound.AudioIn
 
AudioSample - Class in processing.sound
This class allows you low-level access to an audio buffer to create, access, manipulate and play back sound samples.
AudioSample(PApplet, float[]) - Constructor for class processing.sound.AudioSample
 
AudioSample(PApplet, float[], boolean) - Constructor for class processing.sound.AudioSample
 
AudioSample(PApplet, float[], boolean, int) - Constructor for class processing.sound.AudioSample
 
AudioSample(PApplet, float[], int) - Constructor for class processing.sound.AudioSample
 
AudioSample(PApplet, int) - Constructor for class processing.sound.AudioSample
 
AudioSample(PApplet, int, boolean) - Constructor for class processing.sound.AudioSample
 
AudioSample(PApplet, int, boolean, int) - Constructor for class processing.sound.AudioSample
Allocate a new audiosample buffer with the given number of frames.
AudioSample(PApplet, int, int) - Constructor for class processing.sound.AudioSample
 
autoSelectDevice() - Static method in class processing.sound.MultiChannel
 
autoSelectDevice(int) - Static method in class processing.sound.MultiChannel
Finds the audio device (sound card) with the highest number of output channels, and selects it as the output device.
This method is just a convenient shorthand for what is probably the most frequent multi-channel device selection use case.
availableChannels() - Static method in class processing.sound.MultiChannel
 
availableChannels(int) - Static method in class processing.sound.MultiChannel
Gets the number of output channels available on a given device

B

BandPass - Class in processing.sound
This is a band pass filter.
BandPass(PApplet) - Constructor for class processing.sound.BandPass
 
BeatDetector - Class in processing.sound
The BeatDetector analyzer looks for spikes in the energy of an audio signal which are often associated with rhythmic musical beats and can be used to trigger a response whenever the incoming audio signal pulses.
BeatDetector(PApplet) - Constructor for class processing.sound.BeatDetector
 
BeatDetector.BeatDetectorUGen - Class in processing.sound
 
BeatDetectorUGen() - Constructor for class processing.sound.BeatDetector.BeatDetectorUGen
 
BrownNoise - Class in processing.sound
Brown noise (also called red noise) has higher energy at lower frequencies.
BrownNoise(PApplet) - Constructor for class processing.sound.BrownNoise
 
bw(float) - Method in class processing.sound.BandPass
Sets the bandwidth of this BandPass filter.

C

channels() - Method in class processing.sound.AudioSample
Returns the number of channels in the audiosample as an int (1 for mono, 2 for stereo).
channels() - Method in class processing.sound.SoundFile
Returns the number of channels of the soundfile as an int (1 for mono, 2 for stereo).
channels() - Method in class processing.sound.SoundObject
The 'true' number of underlying channels of this sound.
connectToOutput(SoundObject, int) - Static method in class processing.sound.MultiChannel
Connects a SoundObject to the given output channel.
cue(float) - Method in class processing.sound.AudioSample
Cues the playhead to a fixed position in the audiosample.
cue(float) - Method in class processing.sound.SoundFile
Cues the playhead to a fixed position in the soundfile.
cueFrame(int) - Method in class processing.sound.AudioSample
Cues the playhead to a fixed position in the audiosample.
current - Variable in class processing.sound.BeatDetector.BeatDetectorUGen
 

D

damp(float) - Method in class processing.sound.Reverb
Changes the damping factor of the reverb effect.
data - Variable in class processing.sound.Waveform
 
defaultInputDevice() - Static method in class processing.sound.Sound
 
defaultOutputDevice() - Static method in class processing.sound.Sound
 
Delay - Class in processing.sound
This is a simple delay effect.
Delay(PApplet) - Constructor for class processing.sound.Delay
 
deviceNames() - Static method in class processing.sound.Sound
 
disconnectFromOutput(SoundObject, int) - Static method in class processing.sound.MultiChannel
Disconnects a SoundObject from the given output channel.
duration() - Method in class processing.sound.AudioSample
Returns the duration of the audiosample in seconds.
duration() - Method in class processing.sound.SoundFile
Returns the duration of the soundfile in seconds.

E

Effect<EffectType extends UnitFilter> - Class in processing.sound
For advanced users: common superclass of all effect types
Env - Class in processing.sound
This is an ASR (Attack Sustain Release) Envelope Generator.
Env(PApplet) - Constructor for class processing.sound.Env
 

F

feedback(float) - Method in class processing.sound.Delay
Change the feedback of the delay effect.
FFT - Class in processing.sound
This is a Fast Fourier Transform (FFT) analyzer.
FFT(PApplet) - Constructor for class processing.sound.FFT
 
FFT(PApplet, int) - Constructor for class processing.sound.FFT
 
Filter<E extends FilterBiquadCommon> - Class in processing.sound
Common superclass for JSyn filters that have a 'frequency' and a 'Q' unitport
Filter(PApplet) - Constructor for class processing.sound.Filter
 
frames() - Method in class processing.sound.AudioSample
Returns the number of frames of the audiosample as an int.
frames() - Method in class processing.sound.SoundFile
Returns the number of frames of this soundfile.
freq(float) - Method in class processing.sound.BandPass
Sets the center frequency of the filter.
freq(float) - Method in class processing.sound.Filter
Sets the cutoff frequency for the filter.
freq(float) - Method in class processing.sound.Oscillator
Sets the frequency of the oscillator.
freq(Modulator) - Method in class processing.sound.Filter
Modulates the frequency of this filter using another generator, typically a (low frequency) oscillator.
freq(Modulator) - Method in class processing.sound.Oscillator
Modulates the frequency of this oscillator using another generator, typically a (low frequency) oscillator.

G

gain(float) - Method in class processing.sound.AllPass
Sets the gain for the filter in the range 0.0 - 1.0, where larger values increase phase displacement.
generate(int, int) - Method in class processing.sound.BeatDetector.BeatDetectorUGen
 
getAudioDeviceManager() - Static method in class processing.sound.Sound
 
getBeatBuffer() - Method in class processing.sound.BeatDetector.BeatDetectorUGen
 
getBeatBuffer() - Method in class processing.sound.BeatDetector
 
getDeltaBuffer() - Method in class processing.sound.BeatDetector.BeatDetectorUGen
 
getEnergyBuffer() - Method in class processing.sound.BeatDetector.BeatDetectorUGen
 
getEnergyBuffer() - Method in class processing.sound.BeatDetector
 
getEnergyCursor() - Method in class processing.sound.BeatDetector.BeatDetectorUGen
 
getEnergyCursor() - Method in class processing.sound.BeatDetector
 
getModulator() - Method in class processing.sound.Amplitude
 
getModulator() - Method in interface processing.sound.Modulator
 
getModulator() - Method in class processing.sound.Oscillator
 
getOutput() - Method in class processing.sound.JSynCircuit
 
getSynthesisEngine() - Static method in class processing.sound.Sound
Direct access to the underlying JSyn SynthesisEngine object.
getUnitGenerator() - Method in class processing.sound.SoundObject
Gets the JSynCircuit object which encapsulates all the JSyn units (basic sound generator, pan and amplitude) which control the sound synthesis of this SoundObject.

H

halfLife(float) - Method in class processing.sound.Amplitude
Sets the half-life of this amplitude analyzer.
HighPass - Class in processing.sound
This is a high pass filter.
HighPass(PApplet) - Constructor for class processing.sound.HighPass
 

I

input - Variable in class processing.sound.BeatDetector.BeatDetectorUGen
 
input(SoundObject) - Method in class processing.sound.Amplitude
Define the audio input for the analyzer.
input(SoundObject) - Method in class processing.sound.Analyzer
Define the audio input for the analyzer.
input(SoundObject) - Method in class processing.sound.Waveform
Define the audio input for the analyzer.
inputDevice(int) - Static method in class processing.sound.Sound
Choose the device (sound card) which should be used for grabbing audio input using AudioIn.
inputDevice(String) - Static method in class processing.sound.Sound
 
isBeat() - Method in class processing.sound.BeatDetector
Returns true if the current moment of the audio signal contains a beat, false otherwise.
A "beat" is defined as a spike in the energy of the audio signal - it may or may not coincide exactly with a musical beat.
isPlaying() - Method in class processing.sound.AudioSample
Check whether this audiosample is currently playing.
isPlaying() - Method in class processing.sound.SoundFile
Check whether this soundfile is currently playing.
isPlaying() - Method in class processing.sound.SoundObject
Check if this sound object is currently playing.
isProcessing() - Method in class processing.sound.Effect
Get information on whether this effect is currently active.

J

JSynCircuit - Class in processing.sound
Helper class wrapping a source unit generator, add/pan processor and effect into one circuit.
JSynCircuit(UnitOutputPort) - Constructor for class processing.sound.JSynCircuit
 
jump(float) - Method in class processing.sound.AudioSample
Jump to a specific position in the audiosample while continuing to play (or starting to play if it wasn't playing already).
jump(float) - Method in class processing.sound.SoundFile
Jump to a specific position in the soundfile while continuing to play (or starting to play if it wasn't playing already).
jumpFrame(int) - Method in class processing.sound.AudioSample
Jump to a specific position in the audiosample without interrupting playback.

L

list() - Static method in class processing.sound.Sound
 
list(boolean) - Static method in class processing.sound.Sound
 
list(String) - Static method in class processing.sound.Sound
Print and return information on available audio devices and their number of input/output channels.
loop() - Method in class processing.sound.AudioSample
 
loop() - Method in class processing.sound.SoundFile
 
loop(float) - Method in class processing.sound.AudioSample
 
loop(float) - Method in class processing.sound.SoundFile
 
loop(float, float) - Method in class processing.sound.AudioSample
 
loop(float, float) - Method in class processing.sound.SoundFile
 
loop(float, float, float) - Method in class processing.sound.AudioSample
Starts the playback of the audiosample.
loop(float, float, float) - Method in class processing.sound.SoundFile
 
loop(float, float, float, float) - Method in class processing.sound.AudioSample
Deprecated. 
loop(float, float, float, float) - Method in class processing.sound.SoundFile
Starts playback which will loop at the end of the soundfile.
LowPass - Class in processing.sound
This is a low pass filter.
LowPass(PApplet) - Constructor for class processing.sound.LowPass
 

M

Modulator - Interface in processing.sound
Interface for any object that can be passed as a modulator to an oscillator's freq() and amp() methods.
MultiChannel - Class in processing.sound
This class provides methods for querying the multi-channel output capabilities of audio devices, and for providing fine-grained control for the routing of sounds when outputting on a device with more than 2 channels.
MultiChannel() - Constructor for class processing.sound.MultiChannel
 

N

Noise<JSynNoise extends UnitGenerator> - Class in processing.sound
Common superclass of all noise generators

O

Oscillator<JSynOscillator extends UnitOscillator> - Class in processing.sound
For advanced users: common superclass of all oscillator sound sources
output - Variable in class processing.sound.BeatDetector.BeatDetectorUGen
 
outputDevice(int) - Static method in class processing.sound.Sound
Choose the device (sound card) which the Sound library's audio output should be sent to.
outputDevice(String) - Static method in class processing.sound.Sound
 
outputs() - Static method in class processing.sound.MultiChannel
Returns the JSyn ChannelOut objects that are being played to by the synthesizer

P

pan(float) - Method in class processing.sound.AudioSample
Pan the soundfile in a stereo panorama.
pan(float) - Method in class processing.sound.SoundFile
Move the sound in a stereo panorama.-1.0 pans to the left channel and 1.0 to the right channel.
pan(float) - Method in class processing.sound.SoundObject
Move the sound in a stereo panorama.
pause() - Method in class processing.sound.AudioSample
Stop the playback of the sample, but cue it to the current position.
pause() - Method in class processing.sound.SoundFile
Stop the playback of the file, but cue it to the current position.
percent() - Method in class processing.sound.AudioSample
Get current sound file playback position in percent.
PinkNoise - Class in processing.sound
This is a pink noise generator.
PinkNoise(PApplet) - Constructor for class processing.sound.PinkNoise
 
PitchDetector - Class in processing.sound
Detects the pitch (also known as the 'fundamental frequency') of a sound signal.
PitchDetector(PApplet) - Constructor for class processing.sound.PitchDetector
 
PitchDetector(PApplet, float) - Constructor for class processing.sound.PitchDetector
 
play() - Method in class processing.sound.AudioIn
 
play() - Method in class processing.sound.AudioSample
 
play() - Method in class processing.sound.Oscillator
 
play() - Method in class processing.sound.SoundFile
 
play() - Method in class processing.sound.SoundObject
Starts the generator
play(float) - Method in class processing.sound.AudioIn
 
play(float) - Method in class processing.sound.AudioSample
 
play(float) - Method in class processing.sound.Noise
 
play(float) - Method in class processing.sound.SoundFile
 
play(float, float) - Method in class processing.sound.AudioIn
 
play(float, float) - Method in class processing.sound.AudioSample
 
play(float, float) - Method in class processing.sound.Noise
Starts the noise
play(float, float) - Method in class processing.sound.Oscillator
 
play(float, float) - Method in class processing.sound.SoundFile
 
play(float, float, float) - Method in class processing.sound.AudioIn
Start capturing the input stream and route it to the audio output
play(float, float, float) - Method in class processing.sound.AudioSample
 
play(float, float, float) - Method in class processing.sound.Noise
 
play(float, float, float) - Method in class processing.sound.Oscillator
Deprecated. 
play(float, float, float) - Method in class processing.sound.SoundFile
 
play(float, float, float, float) - Method in class processing.sound.AudioSample
Deprecated.
play(float, float, float, float) - Method in class processing.sound.Oscillator
Starts the oscillator
play(float, float, float, float) - Method in class processing.sound.SoundFile
 
play(float, float, float, float, float) - Method in class processing.sound.AudioSample
Deprecated. 
play(float, float, float, float, float) - Method in class processing.sound.SoundFile
Starts the playback of the soundfile.
play(SoundObject, float, float, float, float) - Method in class processing.sound.Env
Triggers the envelope.
playFor(float) - Method in class processing.sound.AudioSample
 
playFor(float, float) - Method in class processing.sound.AudioSample
Starts the playback of the audiosample for the specified duration or to the end of the audiosample, whichever comes first.
position() - Method in class processing.sound.AudioSample
Get current sound file playback position in seconds.
positionFrame() - Method in class processing.sound.AudioSample
Get frame index of current sound file playback position.
printConnections() - Static method in class processing.sound.Sound
 
process(SoundObject) - Method in class processing.sound.Effect
Start the effect.
process(SoundObject, float) - Method in class processing.sound.AllPass
 
process(SoundObject, float) - Method in class processing.sound.Delay
 
process(SoundObject, float) - Method in class processing.sound.Filter
 
process(SoundObject, float, float) - Method in class processing.sound.BandPass
Start applying this bandpass filter to an input signal.
process(SoundObject, float, float) - Method in class processing.sound.Delay
Start the delay effect.
process(SoundObject, float, float) - Method in class processing.sound.Filter
Starts applying this filter to an input signal.
processing.sound - package processing.sound
This Javadoc is only provided as reference for advanced users. It might describe functionality that is not yet available in official Sound library releases, but only in development test builds that can be downloaded from Github.
Pulse - Class in processing.sound
This is a simple Pulse oscillator.
Pulse(PApplet) - Constructor for class processing.sound.Pulse
 

R

rate(float) - Method in class processing.sound.AudioSample
Set the relative playback rate of the audiosample.
rate(float) - Method in class processing.sound.SoundFile
Set the playback rate of the soundfile.
read(float[]) - Method in class processing.sound.AudioSample
Get the current sample data and write it into the given array.
read(int) - Method in class processing.sound.AudioSample
 
read(int, float[], int, int) - Method in class processing.sound.AudioSample
The underlying data of the audiosample can be read and written in several different ways: the method taking a single float array `data` gets the current sample data and write it into the given array.
read(int, int) - Method in class processing.sound.AudioSample
 
removeFromCache() - Method in class processing.sound.SoundFile
Remove this SoundFile's decoded audio sample from the cache, allowing it to be garbage collected once there are no more references to this SoundFile.
res(float) - Method in class processing.sound.BandPass
Sets a fixed Q factor for this filter.
res(float) - Method in class processing.sound.Filter
Sets the resonance (or 'Q factor') of this filter.
res(Modulator) - Method in class processing.sound.Filter
Modulates the resonance of this filter using another generator, typically a (low frequency) oscillator.
resize(int) - Method in class processing.sound.AudioSample
 
resize(int, boolean) - Method in class processing.sound.AudioSample
Resizes the underlying buffer of the audiosample to the given number of frames.
Reverb - Class in processing.sound
This is a simple reverb effect.
Reverb(PApplet) - Constructor for class processing.sound.Reverb
 
room(float) - Method in class processing.sound.Reverb
Change the room size of the reverb effect.

S

sampleRate() - Method in class processing.sound.AudioSample
Returns the underlying sample rate of the audiosample.
sampleRate() - Static method in class processing.sound.Sound
 
sampleRate(int) - Static method in class processing.sound.Sound
Get or set the internal sample rate of the synthesis engine.
SawOsc - Class in processing.sound
This is a simple Saw Wave Oscillator.
SawOsc(PApplet) - Constructor for class processing.sound.SawOsc
 
sensitivity - Variable in class processing.sound.BeatDetector.BeatDetectorUGen
 
sensitivity() - Method in class processing.sound.BeatDetector
Sets the sensitivity of the beat detector.
sensitivity(int) - Method in class processing.sound.BeatDetector
Sets the sensitivity, in milliseconds, of the beat detection algorithm.
set(float, float) - Method in class processing.sound.AudioIn
Set amplitude and pan position with one method.
set(float, float) - Method in class processing.sound.BandPass
Sets frequency and bandwidth of the filter with one method.
set(float, float) - Method in class processing.sound.Delay
Set delay time and feedback values at once.
set(float, float) - Method in class processing.sound.Filter
Sets frequency and bandwidth of the filter with one method.
set(float, float) - Method in class processing.sound.Noise
Set the amplitude and panoramic position with one method.
set(float, float, float) - Method in class processing.sound.AudioIn
 
set(float, float, float) - Method in class processing.sound.AudioSample
Set multiple parameters at once.
set(float, float, float) - Method in class processing.sound.Noise
Deprecated. 
set(float, float, float) - Method in class processing.sound.Oscillator
Set multiple parameters at once
set(float, float, float) - Method in class processing.sound.Reverb
Set multiple parameters of the reverb.
set(float, float, float, float) - Method in class processing.sound.AudioSample
Deprecated. 
set(float, float, float, float) - Method in class processing.sound.Oscillator
Deprecated. 
set(float, float, float, float, float) - Method in class processing.sound.Pulse
Set multiple parameters at once
setSynthesisEngine(SynthesisEngine) - Method in class processing.sound.BeatDetector.BeatDetectorUGen
 
SinOsc - Class in processing.sound
This is a simple Sine Wave Oscillator.
SinOsc(PApplet) - Constructor for class processing.sound.SinOsc
 
Sound - Class in processing.sound
This class can be used for configuring the Processing Sound library.
Sound(PApplet) - Constructor for class processing.sound.Sound
 
Sound(PApplet, int, int, int, float) - Constructor for class processing.sound.Sound
 
SoundFile - Class in processing.sound
This is a Soundfile player which allows to play back and manipulate sound files.
SoundFile(PApplet, String) - Constructor for class processing.sound.SoundFile
 
SoundFile(PApplet, String, boolean) - Constructor for class processing.sound.SoundFile
 
SoundObject - Class in processing.sound
For advanced users: common superclass of all sound sources (oscillators, noise, audio samples and even AudioIn).
spectrum - Variable in class processing.sound.FFT
 
SqrOsc - Class in processing.sound
This is a simple Square Wave Oscillator.
SqrOsc(PApplet) - Constructor for class processing.sound.SqrOsc
 
start() - Method in class processing.sound.AudioIn
 
start(float) - Method in class processing.sound.AudioIn
 
start(float, float) - Method in class processing.sound.AudioIn
 
start(float, float, float) - Method in class processing.sound.AudioIn
Start the input stream without routing it to the audio output.
status() - Static method in class processing.sound.Sound
Prints information about the sound library's current memory and CPU usage to the console.
stop() - Method in class processing.sound.AudioIn
Stop capturing sound from this audio input.
stop() - Method in class processing.sound.AudioSample
Stops the playback.
stop() - Method in class processing.sound.Effect
Stop the effect.
stop() - Method in class processing.sound.Noise
Stop the noise from playing back
stop() - Method in class processing.sound.Oscillator
Stop the oscillator from playing back
stop() - Method in class processing.sound.SoundObject
Stops this sound from playing back.

T

time(float) - Method in class processing.sound.Delay
Changes the delay time of the effect.
TriOsc - Class in processing.sound
This is a simple triangle wave oscillator.
TriOsc(PApplet) - Constructor for class processing.sound.TriOsc
 

U

usePortAudio() - Static method in class processing.sound.MultiChannel
Force using PortAudio instead of JavaSound.

V

verbose(boolean) - Static method in class processing.sound.Sound
 
volume(float) - Static method in class processing.sound.Sound
Set the overall output volume of the Processing sound library.

W

Waveform - Class in processing.sound
This is a Waveform analyzer.
Waveform(PApplet, int) - Constructor for class processing.sound.Waveform
 
wet(float) - Method in class processing.sound.Reverb
Change the wet/dry ratio of the reverb.
WhiteNoise - Class in processing.sound
This is a White Noise Generator.
WhiteNoise(PApplet) - Constructor for class processing.sound.WhiteNoise
 
width(float) - Method in class processing.sound.Pulse
Changes the pulse width of the pulse oscillator.
write(float[]) - Method in class processing.sound.AudioSample
Overwrite the sample with the data from the given array.
write(int, float) - Method in class processing.sound.AudioSample
 
write(int, float[], int, int) - Method in class processing.sound.AudioSample
The underlying data of the audiosample can be read and (over)written in several different ways: the method taking a single float array `data` replaces the sample data with the content of the given array.
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form