FSinOsc:
Filter:
Classes | UGens > Generators > Deterministic

FSinOsc : UGen : AbstractFunction : Object

Fast sine oscillator.
Source: FSinOsc.sc

Description

Very fast sine wave generator (2 PowerPC instructions per output sample!) 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.

Class Methods

FSinOsc.ar(freq: 440.0, iphase: 0.0, mul: 1.0, add: 0.0)

FSinOsc.kr(freq: 440.0, iphase: 0.0, mul: 1.0, add: 0.0)

Arguments:

freq

Frequency in Hertz.

iphase

Initial phase offset.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

Inherited class methods

Instance Methods

Inherited instance methods

Examples