HISE Logo Forum
    • Categories
    • Register
    • Login

    Channel routing matrix gets reset upon sample map adding or changing

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 2 Posters 200 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.
    • gorangroovesG
      gorangrooves
      last edited by

      Adding or changing a sample map resets the matrix for the sampler to a 2-channel stereo, regardless of how it was set up previously.

      To reproduce:

      • Set a multi-out sampler and set the routing to "all channels".
      • Add samples, save the sample map or load a sample map not currently loaded
      • The routing matrix defaults to a stereo output.

      Goran Rista
      https://gorangrooves.com

      Handy Drums and Handy Grooves
      https://library.gorangrooves.com

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

        @gorangrooves There's a Scripting function to prevent that:

        Link Preview Image
        HISE | Docs

        favicon

        (docs.hise.audio)

        gorangroovesG 1 Reply Last reply Reply Quote 0
        • gorangroovesG
          gorangrooves @Christoph Hart
          last edited by

          @Christoph-Hart Hmmm why would we need to specify this with a scripting function? A sample map doesn't contain routing info. It makes no sense to me that routing would change upon sample map changing. This is not something I would expect to happen.

          Goran Rista
          https://gorangrooves.com

          Handy Drums and Handy Grooves
          https://library.gorangrooves.com

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

            @gorangrooves Of course a sample map contains routing information. If you have multimic samples you want the matrix to resize when you load a sample map with a different amount of mic positions.

            This is the default use case. For all other use cases (like yours), there's that function, just call it once at onInit and forget about it.

            gorangroovesG 1 Reply Last reply Reply Quote 0
            • gorangroovesG
              gorangrooves @Christoph Hart
              last edited by

              @Christoph-Hart OK, so if I put this onInit in the main script, will it do the job, or it needs to be put in each sampler?

              Sampler.setUseStaticMatrix(1);
              

              Probably need to pull in all of the samplers in an array and apply the script function to each?

              I guess this explains why some samplers were mysteriously set to stereo and unable to be routed to multi-out in my compiled plugins when I was sure I set them all properly.

              Goran Rista
              https://gorangrooves.com

              Handy Drums and Handy Grooves
              https://library.gorangrooves.com

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

              15

              Online

              1.7k

              Users

              11.8k

              Topics

              102.4k

              Posts