mc.saw~ Reference

Antialiased sawtooth oscillator (multichannel)

mc.saw~

Description

Use the saw~ object to generate an anti-aliased sawtooth wave.

Arguments

initial-frequency [number]

Optional
Unitshz

Sets the initial frequency of the oscillator. The default is 0.

Attributes

Common Box Attributes

Multichannel Group Attributes

Messages

int

Arguments

frequency [int]
In left inlet: Sets the frequency of the oscillator.

float

Arguments

frequency [float]
In left inlet: Sets the frequency of the oscillator.

signal

In left inlet: Sets the frequency of the oscillator.

In right inlet: (optional) A sync signal. When the control signal crosses from below 0.5 to above 0.5, the oscillator resets itself. A phasor~ object works well for this purpose. The classic use is to set this control signal to your fundamental frequency and "sweep" the left frequency input in a range somewhere several octaves higher than the fundamental.

synctrig

Arguments

trigger-value [float]
Sets the value which an input signal crosses at which the oscillator will reset itself.

Multichannel Group Messages

Output

signal

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

See Also

Name Description
cycle~
phasor~
rect~
saw~
techno~
tri~
MSP Basics Tutorial 3: Wavetable Oscillator MSP Basics Tutorial 3: Wavetable Oscillator