HISE Logo Forum
    • Categories
    • Register
    • Login

    loadSampleForAnalysis() how to

    Scheduled Pinned Locked Moved General Questions
    2 Posts 2 Posters 164 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by

      @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?

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        24

        Online

        1.8k

        Users

        12.0k

        Topics

        104.4k

        Posts