Class: Beeps::LowPass

Inherits:
Object
  • Object
show all
Defined in:
lib/beeps/processor.rb

Instance Method Summary collapse

Constructor Details

#initialize(cutoff = nil, **kwargs, &block) ⇒ LowPass

Returns a new instance of LowPass.



169
170
171
172
173
# File 'lib/beeps/processor.rb', line 169

def initialize(cutoff = nil, **kwargs, &block)
  super(**kwargs, &block)

  self.cutoff = cutoff if cutoff
end