The processors of the waveforms could be a plugin system instead of statically defining them at compile-time.