Class: Scruby::Ugens::PanB2
- 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(input, azimuth = 0, gain = 1) ⇒ Object
83 84 85 |
# File 'lib/scruby/ugens/panner.rb', line 83 def ar input, azimuth = 0, gain = 1 new :audio, 3, input, azimuth, gain end |
.kr(input, azimuth = 0, gain = 1) ⇒ Object
87 88 89 |
# File 'lib/scruby/ugens/panner.rb', line 87 def kr input, azimuth = 0, gain = 1 new :control, 3, input, azimuth, gain end |