Skip to main content

Module ramp

Module ramp 

Source
Expand description

Ramp (sawtooth) source.

See the book entry Signal sources: oscillators, CORDIC and waveforms.

Structs§

RampWave
A rising sawtooth aligned with the sine: it crosses zero going up at phase 0, reaches +1 just before half a turn, jumps to -1, and rises again.

Functions§

ramp
Convenience: length samples of a unit sawtooth with an integer period (>= 2).