Trapezoidal wavetable
| Name | Type | Opt | Description |
|---|---|---|---|
| ramp-up and ramp-down | float | opt | Two floating-point values can be used to specify the ramp up and ramp down values. The arguments produce a ramp waveform, and produces a triangle waveform. |
| float | trapezoidal-control [float] |
In left inlet: Any float or signal or an input signal progressing from 0 to 1 is used to scan the trapezoid~ object's wavetable. The output of a phasor~ or some other audio signal can be used to control trapezoid~ as an oscillator, treating the contents of the wavetable as a repeating waveform. In middle inlet: The ramp up portion of the trapezoidal waveform, specified as a fraction of a cycle between 0 and 1.0. The default is .1. In right inlet: The ramp up portion of the trapezoidal waveform, specified as a fraction of a cycle between 0 and 1.0. The default is 0.9. |
| hi | maximum-value [float] |
In left inlet: The word , followed by an optional number, sets the maximum value of trapezoid~ for signal output. The default value is . |
| lo | minimum-value [float] |
In left inlet: The word , followed by an optional number, sets the minimum value of trapezoid~ for signal output. The default value is . |
| signal | In left inlet: Any float or signal or an input signal progressing from 0 to 1 is used to scan the trapezoid~ object's wavetable. The output of a phasor~ or some other audio signal can be used to control trapezoid~ as an oscillator, treating the contents of the wavetable as a repeating waveform. In middle inlet: The ramp up portion of the trapezoidal waveform, specified as a fraction of a cycle between 0 and 1.0. The default is .1. In right inlet: The ramp up portion of the trapezoidal waveform, specified as a fraction of a cycle between 0 and 1.0. The default is 0.9. |

| Name | Description |
|---|---|
| buffer~ | Store audio samples |
| cos~ | Signal cosine function (0-1 range) |
| phasor~ | Sawtooth wave generator |
| wave~ | Variable size wavetable |
| MSP Tutorial 2: Adjustable Oscillator | MSP Tutorial 2: Adjustable Oscillator |
| MSP Tutorial 3: Wavetable Oscillator | MSP Tutorial 3: Wavetable Oscillator |