/*************************************************************************************/
/*                                 Simple sine wave generation and scoping                                                                    */
/*************************************************************************************/
/*                                 Synth.play                                                                                                                    */
/*                                 Synth.scope                                                                                                                  */
/*************************************************************************************/

SinOsc: interpolating sine wavetable oscillator
SinOsc.ar(freq, phase, mul, add)
freq - frequency in Hertz
phase - phase offset or modulator in radians

simple sine wave method 1
(
 var freq = 440, amp = 0.25;

 Synth.play({ SinOsc.ar(freq, 0, amp) });
)

simple sine method 2
(
 var freq = 440, amp = 0.25;

 { SinOsc.ar(freq, 0, amp) }.play;
)

simple sine wave scoping
(
 var freq = 440, amp = 0.25, sine1;
 sine1 = {SinOsc.ar(freq, 0,amp)};
 Synth.scope(sine1);
)