SyncSaw:
Filter:
Classes | UGens > Generators > Deterministic

SyncSaw : PureUGen : UGen : AbstractFunction : Object

Hard sync sawtooth wave.
Source: Osc.sc

Description

A sawtooth wave that is hard synched to a fundamental pitch. This produces an effect similar to moving formants or pulse width modulation. The sawtooth oscillator has its phase reset when the sync oscillator completes a cycle. This is not a band limited waveform, so it may alias.

Class Methods

SyncSaw.ar(syncFreq: 440.0, sawFreq: 440.0, mul: 1.0, add: 0.0)

SyncSaw.kr(syncFreq: 440.0, sawFreq: 440.0, mul: 1.0, add: 0.0)

Arguments:

syncFreq

Frequency of the fundamental.

sawFreq

Frequency of the synched sawtooth wave. Should always be greater than syncFreq.

WARNING: SyncSaw will go out of range if the frequency exceeds the sampling rate (which for control rate is s.sampleRate / s.options.blockSize).
mul

The 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