HISE Logo Forum
    • Categories
    • Register
    • Login

    Send Note message to individual component?

    Scheduled Pinned Locked Moved Scripting
    7 Posts 3 Posters 547 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.
    • amounraA
      amounra
      last edited by

      Is there an easy way to sort input notes and send them directly to specific components? I'm trying to figure out a way to use multiple arpeggiators connected to samplers, but there doesn't seem to be a straight forward way to do this.

      Seems like I should be able to do something like test the noteNumber(), ignore it with ignoreEvent(true), and then send it directly to the component I want (with something like playNote), but can't find a way to send to ONLY the component I want as the receiver.

      Thanks in advance :)

      a

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

        @amounra what do you mean by component?

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

        amounraA 1 Reply Last reply Reply Quote 0
        • amounraA
          amounra @d.healey
          last edited by amounra

          A container, or a sampler, etc. Trying to set up different samplers, each with its own arpeggiator, and route specific notes to specific samplers. So presumably, the easiest way to do this would be to add an arp to each sampler, then use a top level script to route MIDI messages to the target sampler. Let me know if I'm missing something here....

          For instance, note 60 will go to sampler/arp 1, note 61 will go to sampler/arp 2, etc.

          a

          Tod SlaughterT 1 Reply Last reply Reply Quote 0
          • Tod SlaughterT
            Tod Slaughter @amounra
            last edited by

            @amounra will this do?

            Link Preview Image
            Ignore note range

            Hello guys, can anyone help me create a script to ignore midi events or mute notes based on note ranges? In other words, notes out of the C1-C4 range won't d...

            favicon

            Forum (forum.hise.audio)

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

              I think you're approaching it incorrectly. You don't need a script to route notes to specific modules. What you need is a script for each module that filters notes you don't want the module to respond to. The one @Tod-Slaughter linked to is a good place to start.

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

              1 Reply Last reply Reply Quote 0
              • amounraA
                amounra
                last edited by

                Awesome, thanks to you both. I think that's what I'm after, I'll do a little testing and check in afterwards!

                a

                1 Reply Last reply Reply Quote 0
                • amounraA
                  amounra
                  last edited by

                  That does the trick, thanks so much!

                  a

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

                  48

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.8k

                  Posts