Class: FMOD::Dsp::WetDryMix

Inherits:
Struct
  • Object
show all
Defined in:
lib/fmod/dsp.rb

Overview

Describes mix levels that allow the user to scale the affect of a DSP effect, through control of the “wet” mix, which is the post-processed signal and the “dry” which is the pre-processed signal.

Instance Attribute Summary collapse

Instance Attribute Details

#dryFloat

A floating point value from 0.0 to 1.0, describing a linear scale of the “dry” (pre-processed signal) mix of the effect. Default is 0.0. Scale can be lower than 0.0 and higher than 1.0 (amplifying).

Returns:

  • (Float)

    the current value of dry



29
30
31
# File 'lib/fmod/dsp.rb', line 29

def dry
  @dry
end

#post_wetFloat

A floating point value from 0.0 to 1.0, describing a linear scale of the “‘wet’ ”(post-processed signal) mix of the effect. Default is 1.0. Scale can be lower than 0.0 (negating) and higher than 1.0 (amplifying).

Returns:

  • (Float)

    the current value of post_wet



29
30
31
# File 'lib/fmod/dsp.rb', line 29

def post_wet
  @post_wet
end

#pre_wetFloat

A floating point value from 0.0 to 1.0, describing a linear scale of the “wet” (pre-processed signal) mix of the effect. Default is 1.0. Scale can be lower than 0.0 (negating) and higher than 1.0 (amplifying).

Returns:

  • (Float)

    the current value of pre_wet



29
30
31
# File 'lib/fmod/dsp.rb', line 29

def pre_wet
  @pre_wet
end