HISE Logo Forum
    • Categories
    • Register
    • Login

    No MIDI input when UI is closed

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 256 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.
    • M_HollowayM
      M_Holloway
      last edited by

      Hi

      I have a sampler based instrument which functions as expected except that when exported as a plugin, it works fine in a DAW but only if the UI is open. When the UI is closed it seems not to be receiving any MIDI messages from the DAW; either from MIDI clips or from a keyboard.

      Has anyone had a similar issue and managed to fix it? I've tried searching the forum but didn't find anything.

      Thanks

      Mike

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

        Don't put real-time MIDI stuff in your UI script - the UI script only functions when the UI is visible. You need to put your MID stuff in a separate, non-deferred, MIDI processor.

        Some info here - https://forum.hise.audio/topic/79/scripting-best-practices

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

        1 Reply Last reply Reply Quote 0
        • M_HollowayM
          M_Holloway
          last edited by

          Brilliant, thank you, fixed 👍

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

          48

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts