Class: Scruby::Ugens::PanB
- 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
- .ar(input, azimuth = 0, elevation = 0, gain = 1) ⇒ Object
- .kr(input, azimuth = 0, elevation = 0, gain = 1) ⇒ Object
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, elevation = 0, gain = 1) ⇒ Object
68 69 70 |
# File 'lib/scruby/ugens/panner.rb', line 68 def ar input, azimuth = 0, elevation = 0, gain = 1 new :audio, 4, input, azimuth, elevation, gain end |
.kr(input, azimuth = 0, elevation = 0, gain = 1) ⇒ Object
72 73 74 |
# File 'lib/scruby/ugens/panner.rb', line 72 def kr input, azimuth = 0, elevation = 0, gain = 1 new :control, 4, input, azimuth, elevation, gain end |