Forum
    • Categories
    • Register
    • Login

    UI Table- ignore controller unless controller #4

    Scheduled Pinned Locked Moved General Questions
    7 Posts 2 Posters 272 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.
    • gorangroovesG
      gorangrooves
      last edited by

      Hey guys,
      I have a UI table that I use to adjust the values of incoming CC4 messages, and it all works great. However, the vertical line showing the controller's incoming value reacts to any CC#, not just CC4.

      I tried setting it onController if message is not CC4 to ignore events, but it keeps doing the same.

      How do I get it not to respond to any CC other than CC4?

      Thanks,

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @gorangrooves
        last edited by

        @gorangrooves Snippet

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @David Healey
          last edited by

          @d-healey Here it is.

          HiseSnippet 878.3ocsV0sSaCCE1oTOsVFRCocwtLhqZQLVJielDBMFkxV0Vgp0Nztaxj31XQpcjiKrJDOF698NrWr8FrcrcZSXDgfJQt.74O6Oe747cZWovmljHjHmJ8mDSQNOC2aBWE1Ljv3n1GpUnHmEQcUzDE5fIwjjDZ.xwYgOn8voRYj46Ou6.RDg6SyTgPmJX9zOyFwTYZ6t+mXQQGQBn8Yix48l621WvaJhDiAzr.1CES7OmLjdLQ6VILx4IsBXJgrmh.fA4T9.QvjdghK4V+Okkv.jpEZf5AajU8Qhn.Mh0qQMCYQAcmdqSPvtzMKGrfMG7BbGV.al9rbwyMFbyhHe9vozcAuFyI7bxAuxV3sLtmujEqxrnw1h31bEUNf.OA4gk0WTovR3lBvCtZ8QjyoGIAgYQTaaOu0b2xyq9tUqBOCIJ2KHR2SIxORTI53jhnHpruoTXO2o6zPppoXTrfCB0VoX2Wo9tCFy8ULA2UvOVnnmvqUu5UUqT85pt+uoACJzV1dZMGI7IQtIvenR.OM1XG2W2vya2pUbgO1fZcfLCT7XQ3zXOd7nyz6f6d64tYcquWY+m9aZLI4i4TRzXZsNDU35RwXdPszCcU2ZEee0GoYQZjEADqo50WEvb85PRuhADVnbMb6qXWBQjHfsLVxfD7iMHtYJW2dJuqGiZbS5bMnTA1nYNB0o2rQXw6WifuslJmiBdaNScRLMUNqUQayVIM0pGZVATdUY217ZMWsBbKS0s6DQo075dxT2gapxzQtTZGoIiiX.DeIt32EjIWkmiLfnHF5MzWaendc59CGEb7wTohoShNGRu.HSsL.UvGRSNWIhM9l1+A7iOXz7iLjze+IyD90Y6eIKPEhbvN+zAgBorggJszuMT32hRBHFEAiiHpaxVpGQjZ.pbtAsjl5gmvTSxOB4APg5UHEZihd3tmvcYbWlxOrX7Vp.7BuTO13McfzR3VCFP8UYfsL9nuMuSed.P4KhwJFeHP7HYPsBFHP6Aym8o.R3bZThtlnjt4vJ6ok0YldTdfQ3uvWpwFZYmTiMlZDMh3KEe22VYpG48TiF.Sbyj+J3NZY2FS6cvXu08PifIwe22WmJdEf8hiYi4Hl2LGwr4bDyVyQLaOGwrybDyauyXz+Hn2OVIFYaS.EcaYntbbZw07JlJRz+.zNcaiC
          

          Thanks, Dave.

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

          1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey
            last edited by

            It works fine here.

            I think that whenever you call VarHatsControllerTable.getTableValue() it will show the line, so make sure you only call that function within the if statement.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            gorangroovesG 1 Reply Last reply Reply Quote 0
            • gorangroovesG
              gorangrooves @David Healey
              last edited by

              @d-healey It is already within the IF statement. That's what is puzzling me. I tried using an ELSE statement to ignore other CC messages, but it still responds.
              @Christoph-Hart Are we missing something obvious here?

              Goran Rista
              https://gorangrooves.com

              Handy Drums and Handy Grooves
              https://library.gorangrooves.com

              David HealeyD 1 Reply Last reply Reply Quote 0
              • David HealeyD
                David Healey @gorangrooves
                last edited by

                @gorangrooves In your snippet you have a Console.print outside of the if statement.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                gorangroovesG 1 Reply Last reply Reply Quote 0
                • gorangroovesG
                  gorangrooves @David Healey
                  last edited by

                  @d-healey Got you! I didn't think that would interfere. Thank you! That fixed it.

                  Goran Rista
                  https://gorangrooves.com

                  Handy Drums and Handy Grooves
                  https://library.gorangrooves.com

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

                  33

                  Online

                  2.1k

                  Users

                  13.0k

                  Topics

                  113.0k

                  Posts