Module: Ruck::Source

Instance Method Summary collapse

Instance Method Details

#<<(ugen) ⇒ Object



106
107
108
# File 'lib/ruck/ugen/general.rb', line 106

def <<(ugen)
  ugen.remove_source self
end

#>>(ugen) ⇒ Object



102
103
104
# File 'lib/ruck/ugen/general.rb', line 102

def >>(ugen)
  ugen.add_source self
end

#lastObject



119
# File 'lib/ruck/ugen/general.rb', line 119

def last; @last; end

#next(now) ⇒ Object



118
# File 'lib/ruck/ugen/general.rb', line 118

def next(now); @last; end

#out(chan) ⇒ Object



114
115
116
# File 'lib/ruck/ugen/general.rb', line 114

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

#out_channelsObject



110
111
112
# File 'lib/ruck/ugen/general.rb', line 110

def out_channels
  [self]
end