Codebox Operators saw

saw

Anti-aliased sawtooth oscillator.

new saw()

Methods

next(frequency, syncPhase): [out1, out2]

Arguments

NameTypeDefaultDescription
frequencynumber
syncPhasenumber

Returns

NameTypeDescription
out1number

An antialiased sawtooth waveform. An ideal, straight-line sawtooth
wave generated in a computer contains aliased frequencies that can
sound irritating. {rnbo_saw~} produces a nice, analog-esque output
waveform.

out2number

The phase of the oscillator.

reset(): void