Creates waveform data points to be used in canvas