Class: Scruby::Ugens::PanAz
- 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(num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5) ⇒ Object
- .kr(num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5) ⇒ 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(num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5) ⇒ Object
126 127 128 |
# File 'lib/scruby/ugens/panner.rb', line 126 def ar num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5 new :audio, num_channels, input, pos, level, width, orientation end |
.kr(num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5) ⇒ Object
130 131 132 |
# File 'lib/scruby/ugens/panner.rb', line 130 def kr num_channels, input, pos = 0.0, level = 1.0, width = 2.0, orientation = 0.5 new :control, num_channels, input, pos, level, width, orientation end |