Class: Scruby::Ugens::BiPanB2
- 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(a, b, azimuth, gain = 1) ⇒ Object
98 99 100 |
# File 'lib/scruby/ugens/panner.rb', line 98 def ar a, b, azimuth, gain = 1 new :audio, 3, a, b, azimuth, gain end |
.kr(a, b, azimuth, gain = 1) ⇒ Object
102 103 104 |
# File 'lib/scruby/ugens/panner.rb', line 102 def kr a, b, azimuth, gain = 1 new :control, 3, a, b, azimuth, gain end |