Sha256: 232ab946c8c565531d23272ebe471a5e472f5375336631982961822ea633579d

Contents?: true

Size: 1.33 KB

Versions: 7

Compression:

Stored size: 1.33 KB

Contents

module FMOD
  module Effects

    ##
    # This unit is a three-band equalizer.
    #
    # @attr low_gain [Float] Low frequency gain in dB. .
    #   * *Minimum:* -80.0
    #   * *Maximum:* 10.0
    #   * *Default:* 0.0
    # @attr mid_gain [Float] Mid frequency gain in dB.
    #   * *Minimum:* -80.0
    #   * *Maximum:* 10.0
    #   * *Default:* 0.0
    # @attr high_gain [Float] High frequency gain in dB.
    #   * *Minimum:* -80.0
    #   * *Maximum:* 10.0
    #   * *Default:* 0.0
    # @attr low_crossover [Float] Low-to-mid crossover frequency in Hz.
    #   * *Minimum:* 10.0
    #   * *Maximum:* 22000.0
    #   * *Default:* 4000.0
    # @attr high_crossover [Float] Mid-to-high crossover frequency in Hz.
    #   * *Minimum:* 10.0
    #   * *Maximum:* 22000.0
    #   * *Default:* 4000.0
    # @attr crossover_slope [Integer] Crossover slope.
    #   * *0:* 12dB/Octave
    #   * *1:* 24dB/Octave
    #   * *2:* 48dB/Octave
    #   * *Default:* 1 (24dB/Octave)
    class ThreeEq < Dsp
      float_param(0, :low_gain, min: -80.0, max: 10.0)
      float_param(1, :mid_gain, min: -80.0, max: 10.0)
      float_param(2, :high_gain, min: -80.0, max: 10.0)
      float_param(3, :low_crossover, min: 10.0, max: 22000.0)
      float_param(4, :high_crossover, min: 10.0, max: 22000.0)
      integer_param(5, :crossover_slope, min: 0, max: 2)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fmod-0.9.6 lib/fmod/effects/three_eq.rb
fmod-0.9.5 lib/fmod/effects/three_eq.rb
fmod-0.9.4 lib/fmod/effects/three_eq.rb
fmod-0.9.3 lib/fmod/effects/three_eq.rb
fmod-0.9.2 lib/fmod/effects/three_eq.rb
fmod-0.9.1 lib/fmod/effects/three_eq.rb
fmod-0.9.0 lib/fmod/effects/three_eq.rb