I'm working with the buffer~ and wave~ objects to try to create a
circular/continuous buffer. i.e., I have a moving 'window' of sound that
can be any length and can read from it at any point. I'm most of the way
there, but there is one issue that doesn't make the window smooth. As
I'm reading individual samples from the buffer (no need for looping), I
am using line~ to drive wave~. However, unlike phasor~ which will wrap
around from the end of the buffer to the beginning, line~ doesn't appear
to do that. For example, if I have a 5000 ms. buffer, and I specify that
line~ go from 4000 to 1000, it is going to go backwards and give me a 3
sec. reverse sample as opposed to wrapping around to give me a 2 sec.
forward-played sample. Is there any way to get line~ to wrap around or
to always move forward through a buffer? Many thanks.