Class: Scruby::Ugens::BufRd

Inherits:
Ugen show all
Includes:
MultiOut
Defined in:
lib/scruby/ugens/buffer_read_write.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(channels, bufnum = 0, phase = 0.0, loop = 1.0, interpolation = 2) ⇒ Object



42
43
44
# File 'lib/scruby/ugens/buffer_read_write.rb', line 42

def ar channels, bufnum = 0, phase = 0.0, loop = 1.0, interpolation = 2
  new :audio, channels, bufnum, phase, loop, interpolation
end

.kr(channels, bufnum = 0, phase = 0.0, loop = 1.0, interpolation = 2) ⇒ Object



38
39
40
# File 'lib/scruby/ugens/buffer_read_write.rb', line 38

def kr channels, bufnum = 0, phase = 0.0, loop = 1.0, interpolation = 2
  new :control, channels, bufnum, phase, loop, interpolation
end