Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
public class: SoftFilter [javadoc | source]
Infinite impulse response (IIR) filter class. The filters where implemented and adapted using algorithms from 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     
 public SoftFilter(float samplerate) 
Method from 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 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)