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 the for(s in buffer) loop should work like expected.


Log in to reply
 

13
Online

1.1k
Users

3.6k
Topics

31.0k
Posts