HISE Logo Forum
    • Categories
    • Register
    • Login

    You need at least one envelope in the gain chain

    Scheduled Pinned Locked Moved Solved General Questions
    2 Posts 1 Posters 100 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.
    • d.healeyD
      d.healey
      last edited by

      I'm seeing this message You need at least one envelope in the gain chain but I do have an envelope in the chain, and I tried adding another also but it made no difference.

      Peek 2024-03-22 23-38.gif

      I also noticed that even though the envelope is enabled in the big view, it's showing as bypassed in the module tree sidebar. Any ideas if it's related to the issue above and what could cause it?

      d7c94568-5442-440c-97df-6ab9c81db5b2-image.png

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

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

        Oh I know what the problem is! I just remembered that I ran into this some years ago when bypassing/enabling modulators through scripting - so there's probably another post about this...

        Through clumsy scripting I managed to bypass the entire gain chain. This shows up in the xml. Changing the 1 to a 0 solves the issue.

        b0dc04f5-7170-4ca7-86d9-d43417f602d6-image.png

        And if anyone else is doing something similar (programmatically bypassing modulators) you can check if it's the entry for the entire chain and ignore it:

        if (modulator.getType() == "ModulatorChain")

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

        1 Reply Last reply Reply Quote 2
        • d.healeyD d.healey has marked this topic as solved on
        • First post
          Last post

        21

        Online

        1.7k

        Users

        11.8k

        Topics

        102.8k

        Posts