Yet another example! I set out wanting to build a simple scrolling waveform viewer, but Csound’s lack of push and pop operations for arrays or tables made something that should be very simple to do quite tricky. So in the end I came up with this solution. It’s not exactly sample accurate, but looks nice, and isn’t a drain on the CPU
svgWaveform.csd (1.7 KB)