Output the waveform, not the image
Output center and height of waves
Color wheel from sine approximation
Recalculate parameters
Color box with same parameters