Class: FMOD::Dsp::WetDryMix
- Inherits:
-
Struct
- Object
- Struct
- FMOD::Dsp::WetDryMix
- 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
-
#dry ⇒ Float
A floating point value from 0.0 to 1.0, describing a linear scale of the “dry” (pre-processed signal) mix of the effect.
-
#post_wet ⇒ Float
A floating point value from 0.0 to 1.0, describing a linear scale of the “‘wet’ ”(post-processed signal) mix of the effect.
-
#pre_wet ⇒ Float
A floating point value from 0.0 to 1.0, describing a linear scale of the “wet” (pre-processed signal) mix of the effect.
Instance Attribute Details
#dry ⇒ Float
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).
29 30 31 |
# File 'lib/fmod/dsp.rb', line 29 def dry @dry end |
#post_wet ⇒ Float
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).
29 30 31 |
# File 'lib/fmod/dsp.rb', line 29 def post_wet @post_wet end |
#pre_wet ⇒ Float
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).
29 30 31 |
# File 'lib/fmod/dsp.rb', line 29 def pre_wet @pre_wet end |