HISE Logo Forum
    • Categories
    • Register
    • Login

    Dynamic resizing of hardcoded effect slot channels

    Scheduled Pinned Locked Moved General Questions
    3 Posts 3 Posters 334 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.
    • JL.LVJ
      JL.LV
      last edited by

      Hi.

      I have a sampler that loads sample maps with different channel amounts.
      These get fed into a poly hardcoded effect slot.
      The effect has compile channel amount set to 8, to accommodate for a sample map with a maximum of 8 channels (some have 2, 4 and 6). When I load a sample map with less than 8 channels, I get the error message on the node "Error! channel mismatch expected:8 actual:#"

      Is there a way to dynamically change the amount of channels for the poly hardcoded effect slot?
      Something similar to setUseStaticMatrix(); but for the Hardcoded effect slot?

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @JL.LV
        last edited by

        @JL-LV No that's not possible - if you compile it with 8 channels, it expects 8 channels.

        Can you compile the effect as stereo version and then use 4 of them?

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

          @Christoph-Hart

          Can you compile the effect as stereo version and then use 4 of them?

          Not easily. We are using 6 instances of the effects and we already have an effect slot structure in place using 5 hardcoded effects (one per slot), of which only one is poly.

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

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

          18

          Online

          1.7k

          Users

          11.9k

          Topics

          103.4k

          Posts