Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: SoftFilter [javadoc | source]
java.lang.Object
   com.sun.media.sound.SoftFilter
Infinite impulse response (IIR) filter class. The filters where implemented and adapted using algorithms from musicdsp.org archive: 1-RC and C filter, Simple 2-pole LP LP and HP filter, biquad, tweaked butterworth RBJ Audio-EQ-Cookbook, EQ filter kookbook
Field Summary
public static final  int FILTERTYPE_LP6     
public static final  int FILTERTYPE_LP12     
public static final  int FILTERTYPE_HP12     
public static final  int FILTERTYPE_BP12     
public static final  int FILTERTYPE_NP12     
public static final  int FILTERTYPE_LP24     
public static final  int FILTERTYPE_HP24     
Constructor:
 public SoftFilter(float samplerate) 
Method from com.sun.media.sound.SoftFilter Summary:
filter1,   filter1calc,   filter2,   filter2calc,   filter4,   processAudio,   reset,   setFilterType,   setFrequency,   setResonance
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.SoftFilter Detail:
 public  void filter1(SoftAudioBuffer sbuffer) 
 public  void filter1calc() 
 public  void filter2(SoftAudioBuffer sbuffer) 
 public  void filter2calc() 
 public  void filter4(SoftAudioBuffer sbuffer) 
 public  void processAudio(SoftAudioBuffer sbuffer) 
 public  void reset() 
 public  void setFilterType(int filtertype) 
 public  void setFrequency(double cent) 
 public  void setResonance(double db)