use index buffers for waveform shape