HISE Logo Forum
    • Categories
    • Register
    • Login

    Bipolar Global Envelope Intensity. How to set it -100 to +100?

    Scheduled Pinned Locked Moved Scripting
    13 Posts 3 Posters 750 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.
    • CyberGenC
      CyberGen
      last edited by CyberGen

      Hi all,

      I'm giving global envelopes another try but need some help.

      Non-global bipolar envelopes, such as a filter envelope, have an intensity bar that ranges from -100 to +100. However, in the case of a global envelope, the intensity bar ranges from 0 to +1, even when set to bipolar. My question is: can it be set to -100 to +100? If so, how? If not, is there a work around to be able to use a global envelope as a true bipolar envelope?

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

        @CyberGen Got a snippet?

        CyberGenC 1 Reply Last reply Reply Quote 0
        • CyberGenC
          CyberGen @d.healey
          last edited by CyberGen

          @d-healey yes, a super basic one.

          HiseSnippet 880.3oc4W0saaaCElL1rKNMMqEcWMfBnK1EI.AE1acsEnWzjX6zZr5Din1hcWACEcLQnIEnnRmwvd2xivdT1av5ghJVRMNttFoEMn9BCc9S5imy24PxAFMimjnMHbiWOIlivqSBmnriZOhJTndcP3MH8oIVtIvqZuIwzjDdDBiq8BmBbi5nre+2y2iJoJFuPEB8VsfwekXrvVncvN+gPJ2mFwesXbIuezN8XZUasTmB3oFoIJlxNkdB+.pysUHH7s5FIrZSnkZ4IHb88zQSBGoeux6+aEIhikbmPKTH7h7p2WKibH18Lp8HgLZvEq6DDBSFTjEp4yB+DouHRLUeQ13tYFBJhnb9.uRU3UqB7ZcUvaFPBWBR08P5djPlQDaKr3vysI8TPwYHER6kgh2WD9bRaM3fx9vwzS46a.goAr4ia1b6.3usd1vTEyJzp.s5.skenZysV6uWqwZ+yZAerogCmoM2mwnkRtYllcUZy7BbSU53i4lsCNiJS4ScDV9Uyo2ZwxoL+ptjiZUOkvdXLOWtfTzZFU.TdZCd5M85PsTWQIWG3WL2XEN3f6vOCX39RTCRGdxoVcLvwuT8CXN5nTI0VkN45gxM.4iJ0PWgRkHrSJ2i8wbr5Wc9n4LaAl4pcAg68HCDV1nYi2UlAdgr1WZ7l2wdGR2gC4LaAXqS1+Oma640NTV0Ckel7Bo9XprHAB7F.UbeK6CxMGL0dvTGZMm4q+6hNeMdgmuhqccMvp9WpYneU422+Rkljq0NxOiMkJuCvc8P9GH69xNgGk2Il8bPW0YbILNpJwouVoiGoUBVYtxQbqQbxIbSk8rEwZI0bkqtcsVXS31olypv65vYzIWRq24xLNulWwATV1wWBK9B4eYmrW2TEma1ILMwVg86fujSSpvm6xzPkhOupwxSoIKHo4ND+hLHqa6a6A3abAV8UjusA65jLZwMg75ORxIr2HRraPx6ktIjZm6YNp884YNNRmZEpS5SgA5+ELo5fzwgvl5LNfDkhKgODAuh6Trd4lNYWlIjqhxD9e3WtwVNYbtwVWX7qx2XLkYzui4uAfal6pYZf0sJ6JeMf6dBxAsPY2JnbMdLbDh2wXUeUWJvecYC72V1.ezxF3uurA93kMvmrrA9zOcftS3sapUO12xhP8GzM6ZTXbWEEX7YcGnO.8U1YGA
          

          I think a good work around could be to just control the intensity in whatever proxy global modulator you set up. I'm just wondering if there is a way it would work like normal envelopes so I don't have to rewrite so much of my code. They do have the bipolar arrows, they just don't seem to do anything.

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

            @CyberGen Do you have an example with the envelope in bipolar mode connected to a parameter in the way you want? I'm trying to figure out what you mean by bipolar in the context of a filter. Perhaps you could also add a non-global modulator in the example as well so I can see how it should behave.

            CyberGenC 1 Reply Last reply Reply Quote 0
            • CyberGenC
              CyberGen @d.healey
              last edited by

              @d-healey Yes, sorry, I was focused on the global envelope. So I included a bipolar filter with it's envelope and a bipolar global modulator.
              Like I mentioned above, you can control the intensity of the modulator and get around the problem, but then why use the global envelope if you still have to control individual intensities?

              HiseSnippet 1272.3oc6Y80a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6faJ3g9Q61ULBvAj.UOgQxqbdzTX9KfoACordMam9IVCIDDrnEyC+5Tu7eaD2ZLM6yHApSLifx584gLYZPGqsNVFxx.8XEN9BLxK8Jzn2AqfpWziLHSrzrUxU11DRM+4YOry039ydqQmOEeUdHFcH88o3gEbEmapNtKJjJGIcFqBaJkdkHYkpiUBzCptkpsAj3hqJHqb5ttW5pfr+uQGsm4SWpb44zkSwcfMA1+GB6voCLj4lDpLtU1xPyfok0G.ZJv+XHl4lXE+0+r5Noo.You2q5NgHZhU29ud6erdbeJ4xiL6r8R4j17wvQapEItt1yr3f26Cic51Zi8EEtOEAFENc8j+3ydO4Etpm7q5I+pdxupm74OXugAr2O9ZPGlTaDziP8mN7RRGpN41RmwajD.deY+1O.uGJZqoMMGiERyqHRXzmpQ+4AqwU81F8ck.Ve9ztw8u4jWj54V1p7652Yw4PYcB.civZDeoGplVy+2DpyiapYd7N5ibE7W4Z99r5ShudjD09lE8A4KCaqGaWAD8MaSGO2m3Qdkqa1G0XK7wy5BexrtvmNqK7Km0E9rYcge0rtvu98uP88+rdnj22j8A.Z2ogIKpk410hBY.+C.sIk.8
              
              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                I'm not seeing a difference in behaviour, what am I missing?

                Peek 2024-05-18 01-20.gif

                CyberGenC 1 Reply Last reply Reply Quote 0
                • CyberGenC
                  CyberGen @d.healey
                  last edited by

                  @d-healey the difference is that you can't go negative in the global envelope. Only through it's proxy.

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

                    @CyberGen Proxy? Do you mean the target? That's correct behaviour, because you may want to apply the envelope in multiple places, some bipolar, some not. The global envelope isn't aware of where you are using it or in what context.

                    CyberGenC 1 Reply Last reply Reply Quote 0
                    • CyberGenC
                      CyberGen @d.healey
                      last edited by

                      @d-healey said in Bipolar Global Envelope Intensity. How to set it -100 to +100?:

                      The global envelope isn't aware of where you are using it or in what context.

                      I understand. But can you set the global envelope to negative? I mean the arrows must be there for a reason no?

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

                        @CyberGen The global envelope itself just goes 0-1, I think the arrows are a ui remnant. The target is where you set how you want the modulation to be applied.

                        CyberGenC 1 Reply Last reply Reply Quote 1
                        • CyberGenC
                          CyberGen @d.healey
                          last edited by

                          @d-healey Got it. Thank you for clarifying that.

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @CyberGen
                            last edited by

                            @CyberGen I think we really need to have a serious re-visit of the idea of intensity when applied to targets - for instance I'd really like to be able to modulate the depth of these (so the part currently showing 0.54 :

                            2472a328-a1fb-4587-8d64-8d6332c3d2df-image.png

                            Yes Im sure I could use a cable with a callback - but still it'd be nice ot have it "just there"

                            HISE Development for hire.
                            www.channelrobot.com

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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              5

                              Online

                              1.8k

                              Users

                              12.1k

                              Topics

                              104.9k

                              Posts