mc.phasor~ Reference

Generate sawtooth signals (multichannel)

mc.phasor~

Description

Use the phasor~ object to generate sawtooth waves suitable for sample-accurate control and timing tasks. For smoother sounding sawtooth generation, use the bandlimited saw~ object instead. The ramp rate can be set by frequency (Hz), or as an interval using the the tempo-relative Max time format syntax.

Arguments

initial-frequency [list]

Optional
Unitstime-value

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

Attributes

frequency [10 atoms]

Ramp rate or interval

lock [int]

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

transport [symbol]

This attribute names a master time transport. If frequency is specified using a 'relative' unit (for example: ticks, bars.beats.units, or notevalues), then the named transport is used to determine the frequency based on tempo, time-signature, and other related information. This defaults to the global 'internal' transport, but any named transport can be used.

Common Box Attributes

Multichannel Group Attributes

Messages

int

Arguments

frequency [int]
In left inlet: Set the frequency of the sawtooth waveform (Hz). If a signal is connected to this inlet, this message is ignored.

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

float

Arguments

frequency [float]
In left inlet: Set the frequency of the sawtooth waveform (Hz). If a signal is connected to this inlet, this message is ignored.

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

list

Arguments

transport/time-settings [list]
Set ramp interval in Max time format.

anything

Arguments

transport/time-settings [list]
Set ramp interval in Max time format.

signal

Set frequency in Hz

Multichannel Group Messages

Output

signal

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

See Also

Name Description
2d.wave~
cycle~
line~
saw~
sync~
techno~
transport
trapezoid~
triangle~
wave~
MSP Basics Tutorial 3: Wavetable Oscillator MSP Basics Tutorial 3: Wavetable Oscillator
MSP Sampling Tutorial 4: Variable-length Wavetable MSP Sampling Tutorial 4: Variable-length Wavetable