HISE Logo Forum
    • Categories
    • Register
    • Login

    Matching Gain Before And After Effects

    Scheduled Pinned Locked Moved Scripting
    68 Posts 10 Posters 4.0k 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.
    • ustkU
      ustk @d.healey
      last edited by

      @d-healey said in Matching Gain Before And After Effects:

      @ustk If the attack/release is slow enough it should smooth out the pumping?

      Exactly you are right, reducing is not removing though, so if this is not an issue then you can go this way.
      The issue is that if you reduce the integration time, it won't react fast enough and let the difference "pass-through" without being taken into account. You see, in the end you'll have a compressor/expander setting questioning. Fast enough to react or slow enough to be transparent?

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 0
      • orangeO
        orange @d.healey
        last edited by orange

        @d-healey

        So maybe what I need is a threshold for the amount of variation to compensate for?

        You are now describing limiter/compressor/expander 😊

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          @d-healey said in Matching Gain Before And After Effects:

          Sure they are, the knob is automatable for exactly this purpose. If the input goes up during playback they can bring down the output, and vice versa.

          In this case effectively you fall in the slow integration case and you might go down the input/output compensation. After all, the ancestor of a compressor was a fader adjusted manually...

          Can't help pressing F5 in the forum...

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

            @orange Some compressors have auto makeup gain, how does that work because that's what I want :)

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

            ustkU Dan KorneffD 2 Replies Last reply Reply Quote 0
            • ustkU
              ustk @d.healey
              last edited by ustk

              @d-healey To me, auto make up is a fixed compensation based on the different settings you adjusted, not an IN/OUT comparison (but I might have wrong here, or at least for some references)

              in this case, Auto make-up is not assimilable to gain line automation (the fluctuating signal has no impact on the auto gain that is set. On many compressors, make-up gain is simply a gain control, auto-make-up is a gain control compensated when you dial the comp parameters

              @orange exactly, Dave eventually described a comp/expander.

              Can't help pressing F5 in the forum...

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

                @ustk

                Dave eventually described a comp/expander.

                Not quite, I didn't mean a fixed input gain threshold, I meant a threshold of gain difference between the input and the output. So if the difference between the two is more than X turn the gain knob to compensate.

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

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @d.healey
                  last edited by

                  @d-healey I see... Are you not afraid a threshold can lead in some nasty fluctuations?

                  I'll try to make scriptnode example that should work...

                  Can't help pressing F5 in the forum...

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

                    @ustk

                    Are you not afraid a threshold can lead in some nasty fluctuations?

                    I don't know what I'm doing or talking about so I have no fear 🐶

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

                    ustkU 1 Reply Last reply Reply Quote 1
                    • ustkU
                      ustk @d.healey
                      last edited by

                      @d-healey "FearlessDave" :beaming_face_with_smiling_eyes:

                      Can't help pressing F5 in the forum...

                      1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @d.healey
                        last edited by Dan Korneff

                        @d-healey said in Matching Gain Before And After Effects:

                        Some compressors have auto makeup gain, how does that work because that's what I want

                        I had to calculate a formula for a makeup curve depending on the settings of the compressor controls. It looks like this:

                        Math.log(((-Threshold.getValue() * 10) * Ratio.getValue() +1) + (((200 - Attack.getValue())+1)/100));
                        

                        Results may vary :beaming_face_with_smiling_eyes:

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        d.healeyD ustkU 2 Replies Last reply Reply Quote 1
                        • d.healeyD
                          d.healey @Dan Korneff
                          last edited by

                          @Dan-Korneff Thank you! Looks like I don't want that after all, but still useful to know.

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

                          ustkU 3 Replies Last reply Reply Quote 0
                          • ustkU
                            ustk @Dan Korneff
                            last edited by

                            @Dan-Korneff said in Matching Gain Before And After Effects:

                            Results may vary

                            Thought we didn't want gain fluctuations... 🤔 🤣

                            Can't help pressing F5 in the forum...

                            Dan KorneffD 1 Reply Last reply Reply Quote 1
                            • Dan KorneffD
                              Dan Korneff @ustk
                              last edited by Dan Korneff

                              @ustk "Results may vary" means the calculation isn't perfect. It's a constant level, but doesn't work great for light compression or extreme compression since peak Gain Reduction isn't factored in. Every other setting seems to balance out nicely.

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              ustkU 1 Reply Last reply Reply Quote 0
                              • ustkU
                                ustk @Dan Korneff
                                last edited by

                                @Dan-Korneff Yeah that was just a stupid joke attempt... 😆

                                Can't help pressing F5 in the forum...

                                Dan KorneffD 1 Reply Last reply Reply Quote 1
                                • Dan KorneffD
                                  Dan Korneff @ustk
                                  last edited by

                                  @ustk
                                  ha! my brain must not be working yet.

                                  alt text

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  1 Reply Last reply Reply Quote 1
                                  • ustkU
                                    ustk @d.healey
                                    last edited by ustk

                                    @d-healey Alright I have made a little example of IN/OUT compensation that seems to work, with integration time, sensitivity is just a difference multiplier. High difference with ultra low smoothing time will make the pumping very apparent, so from there I guess it's just a matter of finding the most transparent settings...

                                    Screenshot 2023-12-04 at 14.51.20.png

                                    HiseSnippet 2181.3oc6ZsDiabaFlizRsOrShcrMRNTTnCEsa.bWrZyiVfdPZeHYKTKsBdT23.TfMTyPIwtiHGLyncW0ldpH.8V5sB2G.sG5sdnG5g1aFnWS.ZaN0aAnn8Ru3KAHWJZ+4LizPJM6ZIYsarChLfwxe9Sxu+m7mCYCOgE02W3gLVs4.WJx3pXyA7ft61kv3np6gLdQbMhe.0KeDocF3R78o1HCir2QRvX0kPg+dbwcHNDtEMgDBcffYQuGqGKHgZiReWliS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iPbTOR30n8Teg12JpyqfeaxwzvWHR3Ubcqv1sEd8xeGJbDI40HW3bdiH+0o8Mh3N0uQj8sB.Hzziv8cE9zBpy7X8skZe6QC5y0YOhjFWRwqBHdJ7sRogD2RkXCBWaxf1ZyTM48lNr4mTrLWVKmIEjF688s.gkLleci9N9zvuUUA0AlPdKUx2k3YC1EKs6jO648bYJLmOWlbOy8bYdN3kWn8rBVcHFMYxiWTNN2ZHFeYH7qMouSvPp5gS0Dbwva1NwPeeZfGqSGpd8VoIPwo4URzNLu8HResR2iwoDuvBOmOcQgY9IVjp85Ui2UJuLGP9meewLY+B8KlY5i9fTfOaaEeELjJdq7glx7e9XKuLdnMWFqQOhkm3v3SFKC5WIjBH27vWy4p3Zx14KfNd7po5AaYbnkk9TMw.2ZdG3qOuC7Ml2A9ly6.eq4cfeq4cfe6m7.k6nGezPYrATYSixQegKinhZBCSP+evIyiak
                                    

                                    Can't help pressing F5 in the forum...

                                    1 Reply Last reply Reply Quote 0
                                    • ustkU
                                      ustk @d.healey
                                      last edited by

                                      @d-healey I forgot the threshold part... Hmm, I don't obviously see where to put one in this example 🤔

                                      Can't help pressing F5 in the forum...

                                      1 Reply Last reply Reply Quote 0
                                      • ustkU
                                        ustk @d.healey
                                        last edited by

                                        @d-healey A wee bit better with Threshold and DRY/WET and FX LEVEL for testing purpose...

                                        Screenshot 2023-12-04 at 15.30.39.png

                                        HiseSnippet 2471.3oc6a0DaajUGercd14qca61Vs6A.MHwGYk5Fkwa6BZQZsyGNsVzjXkwj1JgH6Ky7r8PFOuQyLNwFzxEzJwskSfJBjXuh3.HwAVoUhHwENvJwGm.trm3BBodgCb.A+eyaFOuwdbhiisSKackpx66e++9+6iohCUi35RcjRMW0N1DoTKhT6X40X8FXCKoxaHk5EQagc8HNx7pVqiM10knKkJUl6xpH0byH4+6IEVCahszHQUIIsG0PibeilFdQ0Vo3W0vzbSrNopQSgde6hk0nVqSMos.7jAshjMV6Pbcx1XV2RijRksjtgG0Q0C6QbkR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PhF8dsirs7jWesyWlz2c0xaeNuMvmNibEPJeh99AyMU2R6qfjda8hmm8CbIt+V90d+7aO9S1G3w.K.IOH.T9kgvdZf0c39QYGa73ea1BCck2+wOZ6h89DNlIQu1IcSswbg28.DjFswGs0+jmfDOrnyCBN6IP.B8JYdAjp+S1z3H1y1b7mRa2g9EUl8m29sVn3v9vZXoueFIyzM0gHalwuUovP+cyHIqMjDPRICHBzDnhpMbHtM.OhRi+bB5Nz2ovc9Fu46+AEFNpHbGrIKHViROrI1+0XdgeWz2j23BnGfOh3+gF3+RIuoe4ZTmlx2kXQbXuFYkS4SM3OLrepA1C8mZvNZd.Dp5fsbsotDEgY9jdZKu.K+2rAwqkkX2+rmvqRnWe9hLxaSf7D52rcqLuXkUvVhqMHSrxGSAg87aCK9wEJYw1WiJAnF8cb0.hE2iNQkVltD+qWQQbfQUmWr56gczA4hVrm1clS6qtPYD+pKxNo9pKlY3d52mN7dF3w7G6kpOWHFUMXa6tTPnBeL9RfoXMbKSuvZiaZsE0hF9XoiD56R7bLpWmDeOGIQPAQsDhaDFFpaUeth22vhfc7270nwKTN2uZ+DkWuRPPVYl+.4KhbapplcpePFYFpOHiwNdG8ONiorEJ3x7YGI8Ki.234k8E2xW9x6ow28wzXMZh0bn6GbFSLGFy5WCP2V9ebgyg1hUVVQ5ndSIqID5YeMs3SUeCL+nNvWeTG3sG0AdmQcfuwnNvuznNvu7YOPVlAA6emYm.YHUoD+TiSwSNx2jQ5+EmfaYC
                                        

                                        Can't help pressing F5 in the forum...

                                        d.healeyD 2 Replies Last reply Reply Quote 4
                                        • d.healeyD
                                          d.healey @ustk
                                          last edited by

                                          @ustk Wow thanks! I shall play around with it.

                                          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 @ustk
                                            last edited by

                                            @ustk That works really well!

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

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

                                            24

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            103.9k

                                            Posts