Can someone create an example of the creation and usage of waveform memory? I'm finding it difficult to wrap my head around.