HISE Logo Forum
    • Categories
    • Register
    • Login

    Making keyswitch keys stick down?

    Scheduled Pinned Locked Moved Scripting
    6 Posts 3 Posters 124 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.
    • SimonS
      Simon
      last edited by

      Old habits die hard, and just like in Kontakt, I'd like my keyswitch keys to stick down to show which is activated.

      I thought ignoring the Message in onNoteOff might do it, but it doesn't seem to have an effect. Any tips?

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

        @Simon There is a ToggleMode setting but it doesn't appear to do anything, also I imagine it would affect all keys, not just key switches.

        You can use an array to keep track of which key switches are active and use custom LAF to draw your keyboard, checking the array to see if those keys should be up or down.

        7adff59d-8862-4821-ac1e-e15a78003e44-image.png

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

        LindonL SimonS 2 Replies Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by

          @d-healey said in Making keyswitch keys stick down?:

          @Simon There is a ToggleMode setting but it doesn't appear to do anything, also I imagine it would affect all keys, not just key switches.

          You can use an array to keep track of which key switches are active and use custom LAF to draw your keyboard, checking the array to see if those keys should be up or down.

          7adff59d-8862-4821-ac1e-e15a78003e44-image.png

          ..or just change the colour of your keyswitch depending upon state...

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • SimonS
            Simon @d.healey
            last edited by

            @d-healey I've been so traumatized by NKS requiring the key press state be set that I forgot this was even an option.

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

              @Simon And I just realised who you are! Hi Simon!

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

              SimonS 1 Reply Last reply Reply Quote 0
              • SimonS
                Simon @d.healey
                last edited by

                @d-healey Hiya David, it's good to be back for good in HISE land!

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

                15

                Online

                1.8k

                Users

                12.1k

                Topics

                104.9k

                Posts