hsc3-0.2: Help/UGen/Oscillator/fSinOsc.help.lhs
fSinOsc rate freq iPhase
Very fast sine wave generator implemented using a ringing filter.
This generates a much cleaner sine wave than a table lookup oscillator
and is a lot faster. However, the amplitude of the wave will vary
with frequency. Generally the amplitude will go down as you raise the
frequency and go up as you lower the frequency.
WARNING: In the current implementation, the amplitude can blow up if
the frequency is modulated by certain alternating signals.
freq - frequency in Hertz
iPhase - initial phase
Note the phase argument, which was not in the SC2 variant.
> audition (out 0 (fSinOsc AR (mce [440, 550]) 0 * 0.05))
> audition (out 0 (fSinOsc AR (xLine KR 200 4000 1 RemoveSynth) 0 * 0.1))
Loses amplitude towards the end
> let f = fSinOsc AR (xLine KR 4 401 8 RemoveSynth)
> in audition (out 0 (fSinOsc AR (f 0 * 200 + 800) 0 * 0.1))