Peter, you wrote that James McCartney wrote an article on something
more efficient than:
if (++index >= arraylength) index = 0;
for setting the index back to zero rather than going off the end of
the array. I'm curious to see what his method is. I had a quick look
in the music dsp archives but had no idea what to search for. Can you
post a link to it?