Class: Beeps::Oscillator
- Inherits:
-
Object
- Object
- Beeps::Oscillator
- Defined in:
- lib/beeps/processor.rb
Instance Method Summary collapse
-
#initialize(type = :sine, *args, **kwargs, &block) ⇒ Oscillator
constructor
A new instance of Oscillator.
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 |