uk.org.toot.audio.dynamics
Class DynamicsProcess

java.lang.Object
  extended by uk.org.toot.audio.core.SimpleAudioProcess
      extended by uk.org.toot.audio.dynamics.DynamicsProcess
All Implemented Interfaces:
AudioProcess
Direct Known Subclasses:
Compressor, Expander, Gate, Limiter

public abstract class DynamicsProcess
extends SimpleAudioProcess


Nested Class Summary
static interface DynamicsProcess.ProcessVariables
          Specifies parameters in implementation terms
 
Field Summary
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Constructor Summary
DynamicsProcess(DynamicsProcess.ProcessVariables vars)
           
DynamicsProcess(DynamicsProcess.ProcessVariables vars, boolean peak)
           
 
Method Summary
 void clear()
           
 int processAudio(AudioBuffer buffer)
          Called once per AudioBuffer
 
Methods inherited from class uk.org.toot.audio.core.SimpleAudioProcess
close, open
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicsProcess

public DynamicsProcess(DynamicsProcess.ProcessVariables vars)

DynamicsProcess

public DynamicsProcess(DynamicsProcess.ProcessVariables vars,
                       boolean peak)
Method Detail

clear

public void clear()

processAudio

public int processAudio(AudioBuffer buffer)
Called once per AudioBuffer

Parameters:
buffer - the AudioBuffer to process.
Returns:
int AUDIO_OK or AUDIO_DISCONNECT.


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.