HISE Logo Forum
    • Categories
    • Register
    • Login

    How to send triggered notes (script) to different samplers simultaneously??? (Solved)

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 350 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 Former User
      last edited by A Former User

      I have different scripted note triggers that are targeting 3 different samplers to play different stuff at the same time... So sequence no. 1 should only to sampler no.1, Sequence no. 2 should only be sent to sampler no.2, etc.

      For the triggering, I am using the Synth.playNoteWithStartOffset, in which I can specify the midi channel for each of them. I simply set the offset at the end to 0 since I don't really need that.

      In the samplers, I am using a Midi Channel Setter for each of them. But this doesn't seem to work. The midi still gets sent to all 3 of them, so all the samplers play all the sequences at the same time.... What a mess!!

      Is there a way to achieve this?

      Thanks for any advice on this!

      🖖

      u

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @A Former User
        last edited by

        @UrsBollhalder Ok. So this seems to be getting a habit here... Me answering my own questions... 🙈 But the Midi Channel Filter processor seems to do the trick! In hope this might be helpful to others, I'll leave it here!

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

          Add a separate script to each sampler.

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

          O 1 Reply Last reply Reply Quote 0
          • O
            Onik Sisodiya @d.healey
            last edited by

            @d-healey Hello, everyone. I'm also trying the same thing, I have three samplers, and when I play notes, it causes me to play the notes of all the samplers simultaneously. I tried using the sampler component in the script, but I'm not sure how to make the notes play a particular sampler when a button is pressed instead of all the samplers' notes. Can someone provide me a code snippet for that? It would be really helpful for me. I am new to HISE.

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

            48

            Online

            1.7k

            Users

            11.7k

            Topics

            101.9k

            Posts