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[]
oldInput
private 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.String
getAlgorithmName()
void
perform(double[] buffer)
This method should be implemented by all DSP algorithms.void
setBlockSize(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:DspAlgorithm
This 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:
perform
in classDspAlgorithm
-
setBlockSize
public void setBlockSize(int bSize)
Take care of reinitialize arrays when block size is changed.- Overrides:
setBlockSize
in classDspAlgorithm
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in classDspAlgorithm
- Returns:
- The name of the algorithm.
-
-