Reverb
JavaScript is disabled on your browser.
br.usp.ime.dspbenchmarking.algorithms
Class Reverb
- java.lang.Object
-
- br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
-
- br.usp.ime.dspbenchmarking.algorithms.Reverb
-
public class Reverb extends DspAlgorithm
A simple IIR reverberation filter.
-
-
Field Summary
Fields Modifier and Type Field and Description private double[]oldInputprivate double[]oldOutput-
Fields inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
blockSize, parameter1, sampleRate
-
-
Constructor Summary
Constructors Constructor and Description Reverb(int sRate, int bSize)
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetAlgorithmName()voidperform(double[] buffer)This method should be implemented by all DSP algorithms.voidsetBlockSize(int bSize)Take care of reinitialize arrays when block size is changed.-
Methods inherited from class br.usp.ime.dspbenchmarking.algorithms.DspAlgorithm
getBlockSize, getParameter1, getSampleRate, setParams
-
-
-
-
Method Detail
-
perform
public void perform(double[] buffer)
Description copied from class:DspAlgorithmThis method should be implemented by all DSP algorithms. It is the actual perform function that works over a buffer to modify the audio signal.- Specified by:
performin classDspAlgorithm
-
setBlockSize
public void setBlockSize(int bSize)
Take care of reinitialize arrays when block size is changed.- Overrides:
setBlockSizein classDspAlgorithm
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmNamein classDspAlgorithm- Returns:
- The name of the algorithm.
-
-