Class: Wavify::DSP::Effects::MasteringChain
- Inherits:
-
EffectChain
- Object
- EffectChain
- Wavify::DSP::Effects::MasteringChain
- Defined in:
- lib/wavify/dsp/effects/mastering_chain.rb,
sig/effects.rbs
Overview
Small mastering-oriented preset chain.
Instance Attribute Summary
Attributes inherited from EffectChain
Instance Method Summary collapse
-
#initialize(highpass: 30.0, presence: 1.5, threshold: -18.0,, ratio: 2.0, ceiling: -1.0)) ⇒ MasteringChain
constructor
A new instance of MasteringChain.
Methods inherited from EffectChain
#apply, #build_runtime, #flush, #latency, #lookahead, #process, #reset, #tail_duration
Constructor Details
#initialize(highpass: 30.0, presence: 1.5, threshold: -18.0,, ratio: 2.0, ceiling: -1.0)) ⇒ MasteringChain
Returns a new instance of MasteringChain.
13 14 15 16 17 18 19 |
# File 'lib/wavify/dsp/effects/mastering_chain.rb', line 13 def initialize(highpass: 30.0, presence: 1.5, threshold: -18.0, ratio: 2.0, ceiling: -1.0) super([ EQ.simple(highpass: highpass, presence: presence_filter(presence)), Compressor.new(threshold: threshold, ratio: ratio, attack: 0.005, release: 0.08, makeup_gain: 1.5, knee: 6.0), Limiter.new(ceiling: ceiling) ]) end |