This is the same as Osc except that the table is a sine table of 8192 entries.
| freq |
Frequency in Hertz. |
| phase |
Phase offset or modulator in radians. (Note: phase values should be within the range +-8pi. If your phase values are larger then simply use |
| mul |
Output will be multiplied by this value. |
| add |
This value will be added to the output. |
{ SinOsc.ar(200, 0, 0.5) }.play;
// modulate freq
{ SinOsc.ar(XLine.kr(2000, 200), 0, 0.5) }.play;
// modulate freq
{ SinOsc.ar(SinOsc.ar(XLine.kr(1, 1000, 9), 0, 200, 800), 0, 0.25) }.play;
// modulate phase
{ SinOsc.ar(800, SinOsc.ar(XLine.kr(1, 1000, 9), 0, 2pi), 0.25) }.play;