net.jinx.audio.synth.filter
Class AmplitudeFilter

java.lang.Object
  extended by net.jinx.audio.synth.filter.AmplitudeFilter
All Implemented Interfaces:
SampleProcessor

public class AmplitudeFilter
extends java.lang.Object
implements SampleProcessor


Constructor Summary
AmplitudeFilter(double cutoff, boolean highpass)
           
 
Method Summary
 SampleFormat getFormat()
           
 boolean isSource()
           
 void process(java.nio.DoubleBuffer buffer)
           
 boolean setFormat(SampleFormat fmt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmplitudeFilter

public AmplitudeFilter(double cutoff,
                       boolean highpass)
Method Detail

setFormat

public boolean setFormat(SampleFormat fmt)
Specified by:
setFormat in interface SampleProcessor

getFormat

public SampleFormat getFormat()
Specified by:
getFormat in interface SampleProcessor

process

public void process(java.nio.DoubleBuffer buffer)
Specified by:
process in interface SampleProcessor

isSource

public boolean isSource()
Specified by:
isSource in interface SampleProcessor