HISE Logo Forum
    • Categories
    • Register
    • Login

    Multiple MainController's/SynthChain's

    Scheduled Pinned Locked Moved C++ Development
    4 Posts 2 Posters 304 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.
    • E
      eggnog
      last edited by

      Hi!

      Quick question: is it currently possible to run multiple MainController's (and SynthChain's) simultaneously ?
      I'd like to host each instance of a ModulatorSampler in a separate track plugin to allow rendering each of them separately (and possibly concurrently). The only concern about this is that the MainController has its own SampleManager, so if I create multiple instances, I get mulitple SampleManager's as well. It would be quite trivial to use a unique SampleManager, but I'm just wondering if that's the right approach to get a more fine-grain access to processing different chains separately.

      TIA!
      E.

      1 Reply Last reply Reply Quote 0
      • E
        eggnog
        last edited by

        Moreover, right now updating some sample properties (like Sample Start/End), is done via the KillStateHandler, which kill all voices on the main synth chain, which momentarily suspend all sampler instruments, app-wise.
        I can avoid this by setting the define FRONTEND_IS_PLUGIN to 1, but that might not be the right approach for my use case.

        Any help appreciated!

        Thanks!
        E.

        Christoph HartC 1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @eggnog
          last edited by

          @eggnog The MainController is supposed to be unique and encapsulates a single plugin. There are literally thousands of edge cases that will cause issues if you break that assumption.

          E 1 Reply Last reply Reply Quote 1
          • E
            eggnog @Christoph Hart
            last edited by

            @Christoph-Hart Makes sense, I investigated more about having multiple MainController's and it was definitely the wrong route. Pretty satisfied with FRONTEND_IS_PLUGIN for my use-case.
            Thanks!

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

            54

            Online

            1.7k

            Users

            11.7k

            Topics

            101.9k

            Posts