A newer version of Max is available. Click here to access the latest version of the Max documentation

phasor~ Reference

Generate sawtooth signals

phasor~

Examples

Arguments

freq [auto]

Optional

Set the initial frequency in Hz, or as an interval using tempo-relative time format syntax .

Inlets

freq [auto]

Set the initial frequency in Hz, or as an interval using tempo-relative time format syntax .

phase [auto]

Set the phase of the waveform (from 0 to 1). Signal output continues from this phase.

Outlets

out [signal]

Sawtooth waveform that increases from 0 to 1 repeatedly at the specified frequency.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

lock [number] (default: 0)

Setting lock to 1 keeps phasor~ synchronized to a the global transport.

When using lock 'Scheduler in Overdrive' and 'in Audio Interrupt' must be enabled for accurate timing. These settings can be changed in 'Options'-> ' Audio Status '.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

freq [auto]

Set the initial frequency in Hz, or as an interval using tempo-relative time format syntax .

phase [auto]

Set the phase of the waveform (from 0 to 1). Signal output continues from this phase.

reset [bang]

reset

See Also

Name Description
cycle~ A periodic waveform oscillator.
line~ Linear ramp generator
trapezoid~ Trapezoid wavetable operator.
saw~ Anti-aliased sawtooth oscillator.
transport transport