Class: Scruby::Ugens::PlayBuf
- 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
- .ar(channels, bufnum = 0, rate = 1.0, trigger = 1.0, start = 0.0, loop = 0.0, doneAction = 0) ⇒ Object
- .kr(channels, bufnum = 0, rate = 1.0, trigger = 1.0, start = 0.0, loop = 0.0, doneAction = 0) ⇒ 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(channels, bufnum = 0, rate = 1.0, trigger = 1.0, start = 0.0, loop = 0.0, doneAction = 0) ⇒ Object
11 12 13 |
# File 'lib/scruby/ugens/buffer_read_write.rb', line 11 def ar channels, bufnum = 0, rate = 1.0, trigger = 1.0, start = 0.0, loop = 0.0, doneAction = 0; new :audio, channels, bufnum, rate, trigger, start, loop, doneAction end |
.kr(channels, bufnum = 0, rate = 1.0, trigger = 1.0, start = 0.0, loop = 0.0, doneAction = 0) ⇒ Object
7 8 9 |
# File 'lib/scruby/ugens/buffer_read_write.rb', line 7 def kr channels, bufnum = 0, rate = 1.0, trigger = 1.0, start = 0.0, loop = 0.0, doneAction = 0 new :control, channels, bufnum, rate, trigger, start, loop, doneAction end |