Module: Ruck::UGen::Source
- Included in:
- Array, Generators::ADSR, Generators::Delay, Generators::Gain, Generators::Noise, Generators::Ramp, Generators::SawOsc, Generators::SinOsc, Generators::Step, Generators::TriOsc, Generators::WavOut, OutChannel
- Defined in:
- lib/ruck/ugen/ugen.rb
Instance Method Summary collapse
- #<<(ugen) ⇒ Object
- #>>(ugen) ⇒ Object
- #last ⇒ Object
- #next(now) ⇒ Object
- #out(chan) ⇒ Object
- #out_channels ⇒ Object
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 |
#last ⇒ Object
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_channels ⇒ Object
154 155 156 |
# File 'lib/ruck/ugen/ugen.rb', line 154 def out_channels [self] end |