Class: Scruby::Ugens::OutputProxy
- Defined in:
- lib/scruby/ugens/multi_out.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Ugen
Ugen::E_RATES, Ugen::RATES, Ugen::VALID_INPUTS
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, #muladd, params, synthdef, synthdef=, valid_input?
Constructor Details
#initialize(rate, source, output_index, name = nil) ⇒ OutputProxy
Returns a new instance of OutputProxy.
31 32 33 34 |
# File 'lib/scruby/ugens/multi_out.rb', line 31 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.
28 29 30 |
# File 'lib/scruby/ugens/multi_out.rb', line 28 def control_name @control_name end |
#output_index ⇒ Object (readonly)
Returns the value of attribute output_index.
28 29 30 |
# File 'lib/scruby/ugens/multi_out.rb', line 28 def output_index @output_index end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
28 29 30 |
# File 'lib/scruby/ugens/multi_out.rb', line 28 def source @source end |