A sinusoidal (sine tone) oscillator UGen. This is the same as Osc
except that
it uses a built-in interpolating sine table of 8192 entries.
'''Note''' that currently (SC 3.7.x), the first frame generated is not zero
(i.e. the value of the sine oscillation at time zero) but the value at time
1 / SampleRate.ir
.
===Examples===
// plain oscillator
play { SinOsc.ar(441) * 0.2 }
// modulate frequency
play { SinOsc.ar(SinOsc.ar(XLine.kr(1, 1000, 9)).mulAdd(200, 800)) * 0.25 }
// modulate phase
play { SinOsc.ar(800, SinOsc.ar(XLine.kr(1, 1000, 9)) * 2*math.Pi) * 0.25 }
- See also
- Companion
- class