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.
    • CasmatC
      Casmat @ustk
      last edited by

      @ustk i have this chorus module which is getting cloned 4 times, this creates a massive gain increase and since it’s cloned 4 times, is there a way to accurately reduce that gain?

      Thanks!

      i make music

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

        @Casmat said in Matching Gain Before And After Effects:

        @ustk i have this chorus module which is getting cloned 4 times, this creates a massive gain increase and since it’s cloned 4 times, is there a way to accurately reduce that gain?

        Thanks!

        @ustk just told you what to do...

        HISE Development for hire.
        www.channelrobot.com

        CasmatC 1 Reply Last reply Reply Quote 0
        • CasmatC
          Casmat @Lindon
          last edited by Casmat

          @Lindon I thought that since the chorus duplicated 4 times, then there’d be a accurate way (instead of predicting by ear) to set the gain back to a “normal” amount.. like somehow dividing by 4 and basically compensate for the 4x clone?

          i make music

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

            @Casmat said in Matching Gain Before And After Effects:

            @Lindon I thought that since the chorus duplicated 4 times, then there’d be a accurate way (instead of predicting by ear) to set the gain back to a “normal” amount.. like somehow dividing by 4 and basically compensate for the 4x clone?

            it really depends on the settings you are applying in the chorus effect - so do as @ustk suggests - for all settings evaluate the gain change and reverse apply this for each setting state.

            HISE Development for hire.
            www.channelrobot.com

            CasmatC 1 Reply Last reply Reply Quote 0
            • CasmatC
              Casmat @Lindon
              last edited by

              @Lindon ahh ok! Is there a gain meter In hise I can use to help evaluate the change?

              i make music

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

                @Casmat said in Matching Gain Before And After Effects:

                @Lindon ahh ok! Is there a gain meter In hise I can use to help evaluate the change?

                Link Preview Image
                HISE | Scripting | Engine

                An API class for accessing global properties.

                favicon

                (docs.hise.audio)

                I strongly suggest you stop what you are doing and carefully and completely read the API documentation

                Link Preview Image
                HISE | Scripting | Scripting API

                The API reference for the scripting language in HISE.

                favicon

                (docs.hise.audio)

                HISE Development for hire.
                www.channelrobot.com

                CasmatC 1 Reply Last reply Reply Quote 0
                • CasmatC
                  Casmat @Lindon
                  last edited by

                  @Lindon Sorry, was thinking of a node in scriptnode.. didn’t think to check on the api! Thanks for your help!

                  i make music

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

                    @Casmat Each time you duplicate a signal, it gains 3dB. From here it's easy to determine what to do if you have it four times 😉 (hint => 4=2x2)

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

                    CasmatC 1 Reply Last reply Reply Quote 0
                    • CasmatC
                      Casmat @ustk
                      last edited by

                      @ustk thanks!

                      i make music

                      1 Reply Last reply Reply Quote 0
                      • pelleP
                        pelle @A Former User
                        last edited by

                        @iamlamprey can you share the Snippet?

                        Thanks
                        F.

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @pelle
                          last edited by

                          @fpelle Sorry this was 3 years ago and I don't have that snippet anymore, I'm no longer using HISE or making virtual instruments, I just stick around here and follow what people are up to 😁

                          d.healeyD 1 Reply Last reply Reply Quote 1
                          • d.healeyD
                            d.healey @A Former User
                            last edited by

                            @iamlamprey wah! But what happend to neat player?

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

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @d.healey
                              last edited by

                              @d-healey the source is still on github, i stopped because it was bleeding money and i lost the motivation to keep making instruments (sampling, editing, etc)

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @A Former User
                                last edited by

                                @iamlamprey Oh that's a shame. It seemed like you were onto a good thing.

                                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

                                  I could use something like this.

                                  The level going into my scriptnode effect is X the level coming out is Y. Is there a scriptnode method to work out the difference and apply the reverse to a gain module so I get roughly the same volume out as in?

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

                                  A 1 Reply Last reply Reply Quote 1
                                  • A
                                    aaronventure @d.healey
                                    last edited by

                                    @d-healey Didn't we go over this? :face_with_tongue:

                                    https://forum.hise.audio//post/70594

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

                                      @aaronventure Apparently not, see my last post in the thread

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

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

                                        @d-healey
                                        You need an automatic gain detector and gain updater to compensate the I/O gain difference in the scriptnode, right?

                                        Which kind of effects will there be?

                                        develop Branch / XCode 13.1
                                        macOS Monterey / M1 Max

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

                                          @orange Yeah. I have a convolution node followed by a filter.

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

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

                                            @d-healey The thing is there's no real method afaik. You don't wan't to apply the gain difference to each samples, so there should be an integration happening somewhere. I think two enveloppe followers for IN & OUT signal with same settings should give you the difference you need. Then from here, I guess it's a matter of dB calculation.

                                            I tried in the past. I'm sure it can work but I stopped before going further once I just told myself this would necessarily create some gain fluctuation at some point. The user won't have the possibility to get the control over these fluctuation, and they will also be frequency dependant.

                                            In my opinion, gain compensation should be a fixed value determined during effect development, but that is just me thinking :man_shrugging: (or a value that is changed with some FX parameters)

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

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

                                            13

                                            Online

                                            1.8k

                                            Users

                                            11.9k

                                            Topics

                                            103.9k

                                            Posts