C library for low-level waveform synthesis