Class: Scruby::Ugens::Tap

Inherits:
Ugen show all
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(bufnum = 0, num_channels = 1, delay_time = 0.2) ⇒ Object



90
91
92
# File 'lib/scruby/ugens/buffer_read_write.rb', line 90

def ar bufnum = 0, num_channels = 1, delay_time = 0.2
  PlayBuf.ar num_channels, bufnum, 1, 0, SampleRate.ir.neg * 3, 1
end