Class: Scruby::Audio::Ugens::OutputProxy
- Defined in:
- lib/scruby/audio/ugens/multi_out_ugens.rb
Constant Summary
Constants inherited from Ugen
Constants included from UgenOperations
UgenOperations::BINARY, UgenOperations::OP_SYMBOLS, UgenOperations::UNARY
Instance Attribute Summary collapse
-
#control_name ⇒ Object
readonly
Returns the value of attribute control_name.
-
#output_index ⇒ Object
readonly
Returns the value of attribute output_index.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Attributes inherited from Ugen
#channels, #inputs, #rate, #special_index
Instance Method Summary collapse
- #add_to_synthdef ⇒ Object
- #index ⇒ Object
-
#initialize(rate, source, output_index, name = nil) ⇒ OutputProxy
constructor
A new instance of OutputProxy.
Methods inherited from Ugen
#encode, instantiate, #muladd, new, synthdef, synthdef=, #to_s, #ugen?
Methods included from UgenOperations
Constructor Details
#initialize(rate, source, output_index, name = nil) ⇒ OutputProxy
Returns a new instance of OutputProxy.
8 9 10 11 |
# File 'lib/scruby/audio/ugens/multi_out_ugens.rb', line 8 def initialize( rate, source, output_index, name = nil ) super rate @source, @control_name, @output_index = source, name, output_index end |
Instance Attribute Details
#control_name ⇒ Object (readonly)
Returns the value of attribute control_name.
6 7 8 |
# File 'lib/scruby/audio/ugens/multi_out_ugens.rb', line 6 def control_name @control_name end |
#output_index ⇒ Object (readonly)
Returns the value of attribute output_index.
6 7 8 |
# File 'lib/scruby/audio/ugens/multi_out_ugens.rb', line 6 def output_index @output_index end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
6 7 8 |
# File 'lib/scruby/audio/ugens/multi_out_ugens.rb', line 6 def source @source end |