I have been following a tutorial on Youtube about how to do a Circular Buffer.
I’ve been learning a lot from the Audio Programmer’s channel.
So here he is writing the bufferData to fill up to the end buffer (in the 1st line), and he’s circling around to 0 again to start writing at the start of the same buffer (the 2nd line), which is fine:
https://www.youtube.com/watch?v=IRFUYGkMV8w# Juce Tutorial 40- Building a Delay Plugin Pt 1 (Creating a Circular Buffer)
Here’s my question though: In the 2nd line .copyFromWithRamp() I see its just copying bufferData again. Shouldn’t it be bufferData minus the the bufferData thats been written in the first line?
Isn’t this writing duplicate bufferData … or not ?

