Forum
    • Categories
    • Register
    • Login

    No note

    Scheduled Pinned Locked Moved Scripting
    7 Posts 3 Posters 1.0k 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.
    • S
      Sampletekk
      last edited by

      If I, for a certain condition, don't want to trigger a note to play when hitting the keyboard, what command should I use? For example, if note number 27, nothing should be triggered, even if a sample is mapped to that note

      S 1 Reply Last reply Reply Quote 0
      • S
        Sampletekk @Sampletekk
        last edited by

        @Sampletekk Found Message.ignoreEvent(true);, problems solved!

        David HealeyD S 2 Replies Last reply Reply Quote 1
        • David HealeyD
          David Healey @Sampletekk
          last edited by

          @Sampletekk Use that in a realtime script, not in your UI script.

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

          1 Reply Last reply Reply Quote 0
          • S
            Sampletekk @Sampletekk
            last edited by

            @Sampletekk It's in the NoteOn callback

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

              @Sampletekk Right, but don't put it in your UI script. You should add Synth.deferCallbacks(true) at the top of your UI script's on init callback, so you get a nice error message when you try to ignore the note.

              Then add a second MIDI processor for handling real time stuff and put your ignoreEvent call in there.

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

              griffinboyG 1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @David Healey
                last edited by

                @d-healey

                That's interesting I don't actually know about how this works in Hise.

                All the scripts have their own separate state when it comes to the thread they are on?

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

                  @griffinboy Christoph explained it well here

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

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

                  33

                  Online

                  2.1k

                  Users

                  13.0k

                  Topics

                  113.0k

                  Posts