On the juce wavetable synthesis tutorial, they used an audiobuffer to store the wavetable.
Is there a specific reason to do that? Why not use a JUCE Array class? or even a raw array if you know the wavetable size? Shouldn’t a raw array be the fastest since it doesn’t have all those extra functions?
Also, a related question is if I’m using an array should I specify the minimumAllocatedSize for the array like this? bc I didn’t see them using that in the tutorial I’m guessing setting a minimumAllocatedSize is essentially pointless in terms of performance?
Array<float, juce::DummyCriticalSection, WAVE_SIZE> wave;