HISE Logo Forum
    • Categories
    • Register
    • Login

    Assign single MIDI note

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 80 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.
    • toxonicT
      toxonic
      last edited by

      I think, this should be fairly easy to achive, but can't figure it out:
      How can i assign a single midi note to a module (e.g. a AudioLoopPlayer), so that all other notes won't trigger it.

      Thanks in advance! :-)

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

        @toxonic I think what you want is to filter out all the notes you don't want.

        Something like this in on note on.

        if (Message.getNoteNumber() != 60) // Ignore everything except note 60
            Message.ignoreEvent(true);
        

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

        toxonicT 1 Reply Last reply Reply Quote 1
        • toxonicT
          toxonic @d.healey
          last edited by

          @d-healey This was exactly, what i was looking for! :-) Thanks!

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

          61

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts