HISE Logo Forum
    • Categories
    • Register
    • Login

    Longer Release in Compressor?

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 313 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.
    • FortuneF
      Fortune
      last edited by

      The release time of the compressor is maximum 250 ms.

      Is it possible to set it longer like 1000, 2000, 3000 ms?

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

        \hi_modules\effects\editors\DynamicsEditor.cpp contains the control ranges.

        compRelease->setMode(HiSlider::Mode::Time, 0.0, 250.0, 10.0, 0.01);
        

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          @Fortune So I imagine you are talking about the comressor node because the dynamic module for its part goes up to 300ms
          Anyway there's no need to change Hise source for that. The slider max is 250, but nothing stops you to plug a parameter into it and edit the MaxValue as you need (you'll just don't be able to see the value going above 250 but it is)
          In fact, you can do that for many parameters in Hise (modules or nodes)

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

          1 Reply Last reply Reply Quote 2
          • FortuneF
            Fortune
            last edited by Fortune

            @dustbro @ustk Thank you guys! Very useful information.

            I also searched the knee factor too. I think Dynamics FX has a very Hard knee. Dynamics node and module uses simple envelope. In SimpleEnvelope.cpp there is

            void EnvelopeDetector::setCoef( void )
            	{
            		coef_ = exp( -1000.0 / ( ms_ * sampleRate_ ) );
            	}
            
            

            Maybe this exponential value is related to knee. So faster detection, harder response. Slower detection softer response?

            Also in Dynamics.node there are envelope settings:

            envelope_follower::envelope_follower() :
            	envelope(20.0, 50.0)
            
            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @Fortune
              last edited by

              @Fortune I don't know you have to make your own test. But a knee factor has nothing to do with a time value, it's more changing the ratio depending on the input level

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

              FortuneF 1 Reply Last reply Reply Quote 1
              • FortuneF
                Fortune @ustk
                last edited by Fortune

                @ustk Like in the below image, the dynamics fx has always edgy character. No matter if you reduce the ratio or something else. For the soft behaviour there is a "Knee Width" parameter. And this parameter is independent from attack or ratio. Really really hard stuff to do with this simple dynamics module / node.

                alt text

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

                  @Fortune To me a knee is a dB range around the Threshold. With a knee of 5 dB, if you set the Threshold at let say -10dB, then the compression starts at -12.5dB with a ratio of 1:1 and reaches full ratio X:1 at -7.5dB

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

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

                  55

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.8k

                  Posts