saw
Anti-aliased sawtooth oscillator.
new saw()Methods
next(frequency, syncPhase): [out1, out2]
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| frequency | number | ||
| syncPhase | number |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | An antialiased sawtooth waveform. An ideal, straight-line sawtooth |
| out2 | number | The phase of the oscillator. |