HISE Logo Forum
    • Categories
    • Register
    • Login

    No note

    Scheduled Pinned Locked Moved Scripting
    7 Posts 3 Posters 181 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!

        d.healeyD S 2 Replies Last reply Reply Quote 1
        • d.healeyD
          d.healey @Sampletekk
          last edited by

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

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

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

            @Sampletekk It's in the NoteOn callback

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @Sampletekk
              last edited by d.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.

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

              griffinboyG 1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @d.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?

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

                  @griffinboy Christoph explained it well here

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

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

                  11

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.3k

                  Posts