spec and build waveforms module