Reverb
JavaScript is disabled on your browser.

br.usp.ime.dspbenchmarking.algorithms

Class Reverb



  • public class Reverb
    extends DspAlgorithm
    A simple IIR reverberation filter.
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • oldOutput

        private double[] oldOutput
      • oldInput

        private double[] oldInput
    • Constructor Detail

      • Reverb

        public Reverb(int sRate,
              int bSize)
    • 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 class DspAlgorithm
      • setBlockSize

        public void setBlockSize(int bSize)
        Take care of reinitialize arrays when block size is changed.
        Overrides:
        setBlockSize in class DspAlgorithm
      • getAlgorithmName

        public java.lang.String getAlgorithmName()
        Specified by:
        getAlgorithmName in class DspAlgorithm
        Returns:
        The name of the algorithm.