Class: SynthBlocks::Fx::Limiter

Inherits:
Object
  • Object
show all
Defined in:
lib/synth_blocks/fx/limiter.rb

Overview

Instance Method Summary collapse

Instance Method Details

#run(x) ⇒ Object

run limiter



10
11
12
# File 'lib/synth_blocks/fx/limiter.rb', line 10

def run(x)
  x * (27.0 + x * x) / (27.0 + 9.0 * x * x)
end