Triangle/ramp wavetable
Name | Type | Opt | Description |
---|---|---|---|
peak-value-phase-offset | float | opt | Peak value phase offset, expressed as a fraction of a cycle, from 0 to 1.0. The default is phasor~, and a value of 1.0 produces a sawtooth waveform. | . A value of 0 produces a ramp waveform when the triangle~ object is driven by a
float | triangular-control [float] |
In left inlet: Any signal, float, or an input signal progressing from 0 to 1 is used to scan the triangle~ object's wavetable. The output of a phasor~ or some other audio signal can be used to control triangle~ as an oscillator, treating the contents of the wavetable as a repeating waveform. In right inlet: Peak value phase offset, expressed as a fraction of a cycle, from 0 to 1.0. The default is 0.5. Scanning through the triangle~ object's wavetable using output of a phasor~ with a phase offset value of 0 produces a ramp waveform, and a phase offset of 1.0 produces a sawtooth waveform. |
hi | maximum-value [float] |
In left inlet: The word triangle~ for signal output. The default value is . | , followed by an optional number, sets the maximum value of
lo | minimum-value [float] |
In left inlet: The word triangle~ for signal output. The default value is . | , followed by an optional number, sets the minimum value of
signal | In left inlet: Any signal, float, or an input signal progressing from 0 to 1 is used to scan the triangle~ object's wavetable. The output of a phasor~ or some other audio signal can be used to control triangle~ as an oscillator, treating the contents of the wavetable as a repeating waveform. In right inlet: Peak value phase offset, expressed as a fraction of a cycle, from 0 to 1.0. The default is 0.5. Scanning through the triangle~ object's wavetable using output of a phasor~ with a phase offset value of 0 produces a ramp waveform, and a phase offset of 1.0 produces a sawtooth waveform. |
Name | Description |
---|---|
buffer~ | Store audio samples |
cos~ | Signal cosine function (0-1 range) |
phasor~ | Sawtooth wave generator |
trapezoid~ | Trapezoidal wavetable |
tri~ | Antialiased triangular oscillator |
wave~ | Variable size wavetable |
MSP Tutorial 2: Adjustable Oscillator | MSP Tutorial 2: Adjustable Oscillator |
MSP Tutorial 3: Wavetable Oscillator | MSP Tutorial 3: Wavetable Oscillator |