Module: Ruck::UGen::MultiChannelSource

Included in:
Generators::WavIn
Defined in:
lib/ruck/ugen/ugen.rb

Instance Method Summary collapse

Instance Method Details

#<<(ugen) ⇒ Object



171
172
173
# File 'lib/ruck/ugen/ugen.rb', line 171

def <<(ugen)
  ugen.remove_source self
end

#>>(ugen) ⇒ Object



167
168
169
# File 'lib/ruck/ugen/ugen.rb', line 167

def >>(ugen)
  ugen.add_source self
end

#last(chan = 0) ⇒ Object



184
# File 'lib/ruck/ugen/ugen.rb', line 184

def last(chan = 0); @last[chan]; end

#next(now, chan = 0) ⇒ Object



183
# File 'lib/ruck/ugen/ugen.rb', line 183

def next(now, chan = 0); @last[chan]; end

#out(chan) ⇒ Object



179
180
181
# File 'lib/ruck/ugen/ugen.rb', line 179

def out(chan)
  @out_channels[chan]
end

#out_channelsObject



175
176
177
# File 'lib/ruck/ugen/ugen.rb', line 175

def out_channels
  @out_channels
end