Module: Ruck::UGen::Source

Instance Method Summary collapse

Instance Method Details

#<<(ugen) ⇒ Object



150
151
152
# File 'lib/ruck/ugen/ugen.rb', line 150

def <<(ugen)
  ugen.remove_source self
end

#>>(ugen) ⇒ Object



146
147
148
# File 'lib/ruck/ugen/ugen.rb', line 146

def >>(ugen)
  ugen.add_source self
end

#lastObject



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

def last; @last; end

#next(now) ⇒ Object



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

def next(now); @last; end

#out(chan) ⇒ Object



158
159
160
# File 'lib/ruck/ugen/ugen.rb', line 158

def out(chan)
  self if chan == 0
end

#out_channelsObject



154
155
156
# File 'lib/ruck/ugen/ugen.rb', line 154

def out_channels
  [self]
end