I was feeling a little bored (the humidity here is keeping me up tonight. Yawn!) so, I was toying around with a mini wave snippet I had and came up this.
Use the keys indicated on screen (top left) to muck around with it.
Might be handy if you need waves that can change in real time during gameplay.