Class Compressor

java.lang.Object
de.pottgames.tuningfork.SoundEffectData
de.pottgames.tuningfork.Compressor

public class Compressor extends SoundEffectData
The Automatic Gain Control effect performs the same task as a studio compressor – evening out the audio dynamic range of an input sound. This results in audio exhibiting smaller variation in intensity between the loudest and quietest portions. The AGC Compressor will boost quieter portions of the audio, while louder portions will stay the same or may even be reduced. The Compressor effect cannot be tweaked in depth – it can just be switched on and off.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    0 = on, 1 = off, Default = 1
    The OpenAL Effect Extension Compressor can only be switched on and off – it cannot be adjusted.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(int effectId)
     
    boolean
     
    int
     
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • onOff

      public int onOff
      0 = on, 1 = off, Default = 1
      The OpenAL Effect Extension Compressor can only be switched on and off – it cannot be adjusted.
  • Constructor Details

    • Compressor

      public Compressor()
  • Method Details