HISE Logo Forum
    • Categories
    • Register
    • Login

    MIDI Note filtering

    Scheduled Pinned Locked Moved General Questions
    6 Posts 2 Posters 385 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.
    • A
      arminh
      last edited by

      I have 3 Sampler in project and each of them have the same sample map, is there option to allow only one note to play sound?

      For example

      Sampler1 play samples only from C3 and rest keys is muted
      Sampler2 play samples only from D3 and rest keys is muted

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

        @arminh

        You could just map samples to the keys you want to sound. The other way is to right a script which ignores all notes you don't want to trigger.

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

        1 Reply Last reply Reply Quote 0
        • A
          arminh
          last edited by

          Yes I know but I have a lot of samples and filtering single keys would be a better option

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

            @arminh Just write an if statement in the on note callback and use Message.ignoreEvent(true); to ignore any note you don't want to play.

            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 forgot, I have a note filtering script in my GitHub repo that will probably do what you want.

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

              A 1 Reply Last reply Reply Quote 1
              • A
                arminh @d.healey
                last edited by

                @d-healey that's why im not regret being your patron!

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

                47

                Online

                1.7k

                Users

                11.7k

                Topics

                101.9k

                Posts