Forum

    • Register
    • Login
    • Search
    • Categories

    Dynamic resizing of hardcoded effect slot channels

    General Questions
    3
    3
    121
    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.LV
      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 Hart 1 Reply Last reply Reply Quote 0
      • Christoph Hart
        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.healey 1 Reply Last reply Reply Quote 0
        • d.healey
          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

          3
          Online

          977
          Users

          6.6k
          Topics

          60.6k
          Posts