defined a pointer to a waveform tick function in the wave library