Class: Scruby::Ugens::Balance2
- Includes:
- MultiOut
- Defined in:
- lib/scruby/ugens/panner.rb
Constant Summary
Constants inherited from Ugen
Ugen::E_RATES, Ugen::RATES, Ugen::VALID_INPUTS
Instance Attribute Summary
Attributes inherited from Ugen
#channels, #index, #inputs, #output_index, #rate, #special_index
Class Method Summary collapse
Methods included from MultiOut
included, #initialize, #output_specs
Methods inherited from Ugen
#==, #encode, #initialize, #muladd, params, synthdef, synthdef=, valid_input?
Class Method Details
.ar(left, right, pos = 0.0, level = 1.0) ⇒ Object
39 40 41 |
# File 'lib/scruby/ugens/panner.rb', line 39 def ar left, right, pos = 0.0, level = 1.0 new :audio, 2, left, right, pos, level end |
.kr(left, right, pos = 0.0, level = 1.0) ⇒ Object
43 44 45 |
# File 'lib/scruby/ugens/panner.rb', line 43 def kr left, right, pos = 0.0, level = 1.0 new :control, 2, left, right, pos, level end |