HISE Logo Forum
    • Categories
    • Register
    • Login

    Set table point at index

    Scheduled Pinned Locked Moved Feature Requests
    3 Posts 2 Posters 772 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.
    • d.healeyD
      d.healey
      last edited by

      I'd like to be able to set the point of a table at a given index, like we can for sliders in a slider pack. I'd also like to be able to trigger a table's control callback from another script using the setAttribute command, currently it doesn't seem to work.

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

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

        If you connect the table to a module, you can use Synth.getTableProcessor() and use the API methods from this object to change it programatically (I think you did that with your Crossfade Design script).

        But currently if it's a disconnected table that's used only in the script itself, it won't work. Maybe I'll add this though. What's your use case?

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @Christoph Hart
          last edited by

          @christoph-hart Well as it turns out I don't think in my particular use case I'm going be able to use this anyway (I've been experimenting with a slider pack) but I shall explain it anyway.

          In my main GUI script I have a CC remapper, so the user can send CC1 to CC11 for example, and I use a table to allow them to adjust the curve/skew of the CC values. One table per CC (the instrument only uses about 5 CCs).

          What I want to do though is defer the MIDI callbacks in my GUI script and decouple the MIDI parts, such as this CC remapper into a separate non-deferred script. I'd then use the GUI script to set the CC mapping up in this other script which will actually handle the redirection of the CC data but I'd need to be able to pass the table values across as well.

          Will deferring this CC mapping stuff actually make a big efficiency difference?

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

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

          37

          Online

          1.8k

          Users

          12.0k

          Topics

          104.7k

          Posts