HISE Logo Forum
    • Categories
    • Register
    • Login

    Separating User MIDI Input and MIDI Player Events

    Scheduled Pinned Locked Moved Scripting
    3 Posts 3 Posters 59 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.
    • B
      bozhidar
      last edited by

      Hi everyone,

      I’m working on a live accompaniment setup in HISE and I need some guidance on properly separating user input from MIDI Player output.

      Here’s my situation:

      I want to use a MIDI Player to play accompaniment patterns (bass, chords, fills, etc.).

      At the same time, I want to allow live keyboard input from the user.

      I need to clearly know which notes are played by the user and which notes come from the MIDI Player, so I can:

      Run chord detection only on user input

      Transpose the MIDI Player notes in real time

      Avoid conflicts between user notes and pattern notes.

      I’d appreciate any advice, examples, or tips — I want to make sure I know exactly when a note comes from the user and when it comes from the MIDI Player.

      Thanks in advance!

      HISEnbergH 1 Reply Last reply Reply Quote 0
      • HISEnbergH
        HISEnberg @bozhidar
        last edited by

        @bozhidar There isn’t much in the docs about it but you just need to assign your two different MIDI sources (MIDI Player & User input) to two different MIDI channels. This SOS articles describes it, and it’s fairly simple to setup in HISE

        Link Preview Image
        MIDI Basics: Part 1

        Paul White kicks off a new series for newcomers to MIDI.

        favicon

        (www.soundonsound.com)

        Link Preview Image
        HISE | Audio Modules | Channelsetter

        Sets the Midi Channel

        favicon

        (docs.hise.dev)

        LindonL 1 Reply Last reply Reply Quote 1
        • LindonL
          Lindon @HISEnberg
          last edited by

          isnt this what isArtificialEventActive() for?

          I assume (so watch out) that the MIDI player events are artificial and user input are not..

          Link Preview Image
          HISE | Scripting | Synth

          The Synth object

          favicon

          (docs.hise.dev)

          HISE Development for hire.
          www.channelrobot.com

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

          18

          Online

          1.9k

          Users

          12.5k

          Topics

          108.9k

          Posts