Class: Scruby::Ugens::DecodeB2

Inherits:
Ugen show all
Includes:
MultiOut
Defined in:
lib/scruby/ugens/panner.rb

Constant Summary

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(num_channels, w, x, y, orientation = 0.5) ⇒ Object



112
113
114
# File 'lib/scruby/ugens/panner.rb', line 112

def ar num_channels, w, x, y, orientation = 0.5
  new :audio, num_channels, w, x, y, orientation
end

.kr(num_channels, w, x, y, orientation = 0.5) ⇒ Object



116
117
118
# File 'lib/scruby/ugens/panner.rb', line 116

def kr num_channels, w, x, y, orientation = 0.5
  new :control, num_channels, w, x, y, orientation
end