HISE Logo Forum
    • Categories
    • Register
    • Login

    block midi note

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 190 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.
    • Y
      yall
      last edited by

      hello team, I have 8 buttons in the form of pads which must trigger samples in 8 audioloopplayer (I use this to be able to drag and drop samples on the compiled plugin). Each button should play a different midi note. pad1 60 pad2 61.... I use for this in the reminders pad1 Synth.playNote(60, 127);
      pad2> Synth.playNote(61, 127); ...but obviously all my samples are read at the same time. What I would like would be to have the possibility of blocking all the other notes of each audioloop player. that the AudioLoopPlayer1 only plays note 60 and does not receive any other notes from the other pads. and that’s where I’m stuck a bit, thank you ;)

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @yall
        last edited by

        @yall
        You want to do a check on note on and off whether the note coming in is the correct one for that synth. If it's not, you want to ignore the event.

        In each sampler, create a MIDI processor and in both on note on and on note off scripts write

        Message.ignoreEvent(Message.getNoteNumber() != ThisSynthsTargetNote)

        Replace ThisSynthsTargetNote with the correct note for each synth, obviously.

        Y 1 Reply Last reply Reply Quote 1
        • Y
          yall @aaronventure
          last edited by

          @aaronventure finally I got what I wanted by using the choke group processor in the midi functions of the modules. Thank you for your reply ;)

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

          34

          Online

          1.7k

          Users

          11.8k

          Topics

          102.7k

          Posts