I'd like to put analog waveforms (sine waves) on timing diagrams along with the digital data to illustrate FM and QAM modulation concepts. The syntax should be very similar to clock syntax, but allow specification of a amplitude (like up to +/-2), frequency (cycles per time unit 1), and phase (like up to +/- 360) at each time point. It could be cosine or sine, which would affect the phase, so perhaps both names should be allowed, with their corresponding phase offsets.
Amplitude, phase, and frequency should default to their previous values, or 1,0,1 respectively if not explicitly set.
Any of those values should be able to be changed at any time point..
FM is amplitude 1.5 phase 0 frequency 1