HISE Logo Forum
    • Categories
    • Register
    • Login

    How do I disable the floating tile MidiChannelList from the script?

    Scheduled Pinned Locked Moved Scripting
    5 Posts 3 Posters 141 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.
    • VirtualVirginV
      VirtualVirgin
      last edited by

      I am trying to use a button to turn the MidiChannelList on and off.

      I was thinking I need to change the "enabled" state of the floating tile:

      Screenshot 2024-10-29 at 10.45.22 AM.png

      by using ".enabled(false);" on the component:

      Screenshot 2024-10-29 at 11.21.43 AM.png
      Screenshot 2024-10-29 at 11.21.35 AM.png

      But it does seem to like that:

      Screenshot 2024-10-29 at 11.28.08 AM.png

      So how can I disable the channel filter from the script?

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

        @VirtualVirgin guessing it might be:

        ChannelSelector.set("enabled", false);

        HISE Development for hire.
        www.channelrobot.com

        VirtualVirginV 1 Reply Last reply Reply Quote 0
        • VirtualVirginV
          VirtualVirgin @Lindon
          last edited by

          @Lindon
          So I tried:
          ChannelSelector.set("enabled", false);

          And it complied OK.
          But it did not disable the floating tile MidiChannelList.
          It also crashed after about 30 seconds of testing :(

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

            @VirtualVirgin Show me your code please

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

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

              I just put together a simple example for myself and it does work, but I also get the crash! So you need to make a bug report about this on github.

              In the meantime here's a workaround that uses an invisible panel placed over the floating tile that is hidden/shown to enable/disable the floating tile.

              HiseSnippet 928.3ocsU8taSiDDe2ztUDyeNP5d.7UwGRQnJGhSnmPmtdMs4tHnkHRAwmNzl0ahWU6csrWCDAHwm3Afmn6Q5dCfY8ehcZiJsQB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ttN1cccr2553iWWG26G6nYe3ekpUg4iMHzwiNJ6gAL9HIE5.y5VQeG8W50eA
              

              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

              12

              Online

              1.7k

              Users

              11.8k

              Topics

              102.3k

              Posts