Class: Ruck::UGen::Generators::Noise
- Defined in:
- lib/ruck/ugen/basic.rb
Instance Attribute Summary
Attributes included from UGenBase
Instance Method Summary collapse
- #attr_names ⇒ Object
-
#initialize(attrs = {}) ⇒ Noise
constructor
A new instance of Noise.
- #next(now) ⇒ Object
Methods included from Source
#<<, #>>, #last, #out, #out_channels
Methods included from UGenBase
Constructor Details
#initialize(attrs = {}) ⇒ Noise
Returns a new instance of Noise.
91 92 93 94 |
# File 'lib/ruck/ugen/basic.rb', line 91 def initialize(attrs = {}) parse_attrs({ :gain => 1.0 }.merge(attrs)) @last = 0.0 end |