loadSampleForAnalysis() how to
-
@Christoph-Hart Once a selected sample is loaded, in what way we can analyze it? How?
When stored in a "standard" variable it shows no array obviously.
So I imagine we need to use a VariantBuffers specific thing along with specific methods? -
The
VariantBuffer
is a special type that is basically an array of float numbers. IIRC the method returns an array of VariantBuffer (one for each channel).Accessing and modifying VariantBuffers should be the same as normal array operations, so the
[]
operator and thefor(s in buffer)
loop should work like expected.