Class: Beeps::Oscillator

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

Instance Method Summary collapse

Constructor Details

#initialize(type = :sine, *args, **kwargs, &block) ⇒ Oscillator

Returns a new instance of Oscillator.



46
47
48
49
# File 'lib/beeps/processor.rb', line 46

def initialize(type = :sine, *args, **kwargs, &block)
  super(*args, **kwargs, &block)
  self.type = type
end