Class: Scruby::Ugens::ScopeOut
- 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 inherited from Ugen
#==, #encode, #initialize, #muladd, params, synthdef, synthdef=, valid_input?
Constructor Details
This class inherits a constructor from Scruby::Ugens::Ugen
Class Method Details
.ar(input, bufnum = 0) ⇒ Object
81 82 83 |
# File 'lib/scruby/ugens/buffer_read_write.rb', line 81 def ar input, bufnum = 0 new :audio, bufnum, *input.to_array end |
.kr(input, bufnum = 0) ⇒ Object
77 78 79 |
# File 'lib/scruby/ugens/buffer_read_write.rb', line 77 def kr input, bufnum = 0 new :control, bufnum, *input.to_array end |