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.
Examples

Arguments
initial-frequency [list]
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
Messages
int
Arguments
In right inlet: Set the phase of the waveform (from 0 to 1). Signal output continues from this phase.
float
Arguments
In right inlet: Set the phase of the waveform (from 0 to 1). Signal output continues from this phase.
signal
Output
signal
Sawtooth waveform that increases from 0 to 1 repeatedly at the specified frequency.
See Also
Name | Description |
---|---|
Timing and Sequencing Events | Timing and Sequencing Events |
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 |