HISE Logo Forum
    • Categories
    • Register
    • Login

    Proper usage of the Audiowaveform display?

    Scheduled Pinned Locked Moved Unsolved General Questions
    5 Posts 3 Posters 170 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.
    • griffinboyG
      griffinboy
      last edited by griffinboy

      Changing the processorId for an Audiowaveform does not make it show the new waveform.

      HiseSnippet 1529.3oc6Y80aZbDDeOfKMPSiRhRk5KUZkUefDgbLj+UonpfMFGgZHAYbSyaQquaAV4618zd6YaZUk5Go9Qned5S4aP6r6c.6gwNXpaZaD9AKO6tyL+1Ylc9Mf6IEdz3XgD4T9fwQTjyMb6OlqF0ZDgwQc1EV2s8ojvn.JZmwQj3XpOxwo3Kza6TtDx7y6e9Nj.B2iNaID5MBlG8krPlZ1p8Z98rff8H9zCXgVm9QM63I3sDAhD.JEc2BEQ7NhLj9Jh9XEbQNWqsOSIj8UDEMF4TZGg+39iDmvSO+aXwrCAPBB0Q8ACkt7dh.eMh0+Mp0HVfeuIW4XDXzdyB.ESC.20sKymMc8YAhaY1.OSC63gSg7vqXN3U2FdaYAuE.IGKHUJER21sumjEolsiFOetaGthJGP7xmZROKpvFkbaIfSvUaFRNhtmDDlpQ0mr0V0vvut2ypTAB8wJ7wDIdmDkRvqi+N7DUGRUsDgQBNHTcir82.zZdkZ7ATpwF4c01I9LwORNlNPHCOeOl+XFa7fGfOXDEOPDDHNgwGh8D9TLKFyzF.R2Xk.GeBIBqfiEMIn0wrNA6yFLfJAiiiM00xZ3CST3QjXLWfOlEmPBvT3LdJvW2uREFOfwA+kv8TLAGK3YgAMhkhfpdSfaM3lEjPuWketR47.eyXJbYrvxF0vazO0+la0u7rJefPt1DYdrEIH3P3AR04ghN7bdvswUDbarDvswEC2FVv89OvBouRnnulW0fnJkgDc6ioxwPdQoSj.VpYxogDOo.R2wLHwKFfSK4w6cJtttN.7bZpVR39hPLOI7PpbSiA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nz+iGT5iAJM+SHdmW52EsFqW2rBfRt4eZYYWyW8OdAeC1g.e0677xapynXiUUwGtpJ9nUUwGupJ9jUUwmtpJ9seXE0iSrchRDl1LEg51qcZAnS6oEfEQ+EDUy+cC
      

      Here is the scenario I am trying to achieve:

      2889a056-faca-43bd-b380-4f7a3ffe7574-image.png

      Where the buttons link the waveform display to one of two different samplers.

      You'd think it would be as simple as changing the processor id of the Waveform display to the correct sampler, and then maybe a repaint message. But no.
      I have tried quite a few approaches now, it's been a few days and so I'm turning to you guys for help!

      From what I've seen, there is a history of difficulties with waveform displays in this forum.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • griffinboyG griffinboy marked this topic as a question on
      • d.healeyD
        d.healey @griffinboy
        last edited by

        @griffinboy I think you have to set the index to -1

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        griffinboyG 1 Reply Last reply Reply Quote 0
        • griffinboyG
          griffinboy @d.healey
          last edited by griffinboy

          @d-healey
          Unfortunately that didn't work for me!
          I shall update to the new version of hise and check again, I'm a bit behind now.

          I felt that the index on the waveform was the sample index.

          For -1 it blanks for me. I know that -1 is supposed to show the latest sample but that's not what I'm seeing

          Edit*
          Ah, yes this is not quite what I'm getting at.
          Setting it to -1 does indeed make it show the last played sample. But this is not what I'm getting at. I am wanting to display samples from different samplers! Not different samples within a single sampler.

          LindonL 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            I would expect at the last you'd need to specify the sample you want to display, although I'm not sure how to do this. I'd probably just use two audio waveforms.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @griffinboy
              last edited by

              @griffinboy I think it only display the last note played - so you will need to change samplers, then play a note, and it should refresh then.

              HISE Development for hire.
              www.channelrobot.com

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

              22

              Online

              1.7k

              Users

              11.9k

              Topics

              103.6k

              Posts