metro

Files: metro.h, metro.c

Metronome
Metro produces a series of 1-sample ticks at a regular rate. Typically, this is used alongside trigger-driven modules.

Functions

sp_metro_create(sp_metro **metro)
sp_metro_init(sp_data *sp, sp_metro *metro)
sp_metro_compute(sp_data *sp, sp_metro *metro, SPFLOAT *dummy, SPFLOAT *out)
sp_metro_destroy(sp_metro **metro)

Optional Parameters

freq: The frequency to repeat.
(Default value: 2.0)

Outputs

out: Signal out.