Class: Scruby::Ugens::Pan2

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

Direct Known Subclasses

LinPan2

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

+ (Object) ar(input, pos = 0.0, level = 1.0)



7
8
9
# File 'lib/scruby/ugens/panner.rb', line 7

def ar input, pos = 0.0, level = 1.0
  new :audio, 2, input, pos, level
end

+ (Object) kr(input, pos = 0.0, level = 1.0)



11
12
13
# File 'lib/scruby/ugens/panner.rb', line 11

def kr input, pos = 0.0, level = 1.0
  new :control, 2, input, pos, level
end