Class: Scruby::Audio::Ugens::Control
- Inherits:
-
MultiOutUgen
- Object
- Ugen
- MultiOutUgen
- Scruby::Audio::Ugens::Control
- Defined in:
- lib/scruby/audio/ugens/multi_out_ugens.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Ugen
Constants included from UgenOperations
UgenOperations::BINARY, UgenOperations::OP_SYMBOLS, UgenOperations::UNARY
Instance Attribute Summary
Attributes inherited from Ugen
#channels, #index, #inputs, #output_index, #rate, #special_index
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rate, *names) ⇒ Control
constructor
A new instance of Control.
Methods inherited from MultiOutUgen
Methods inherited from Ugen
#encode, instantiate, #muladd, new, synthdef, synthdef=, #to_s, #ugen?
Methods included from UgenOperations
Constructor Details
#initialize(rate, *names) ⇒ Control
Returns a new instance of Control.
37 38 39 |
# File 'lib/scruby/audio/ugens/multi_out_ugens.rb', line 37 def initialize( rate, *names ) super rate, *names.collect_with_index{|n, i| OutputProxy.new rate, self, i, n } end |
Class Method Details
.and_proxies_from(names) ⇒ Object
41 42 43 |
# File 'lib/scruby/audio/ugens/multi_out_ugens.rb', line 41 def self.and_proxies_from( names ) Control.new( names.first.rate, *names ) end |