HISE Logo Forum
    • Categories
    • Register
    • Login

    USE_HARD_CLIPPER=1

    Scheduled Pinned Locked Moved General Questions
    15 Posts 5 Posters 431 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.
    • DanHD
      DanH
      last edited by DanH

      Has anyone tried this pre-processor? I've built HISE with it and set it in projects preferences but it certainly doesn't limit the plugin output on an FX plugin.

      @Christoph-Hart should it?

      in the hi_core.h file it states:

      
      /** Config: USE_HARD_CLIPPER
      
      Set this to 1 to enable hard clipping of the output (brickwall everything over 1.0)
      */
      #ifndef USE_HARD_CLIPPER
      #define USE_HARD_CLIPPER 0
      #endif
      

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      A 1 Reply Last reply Reply Quote 0
      • DanHD DanH deleted this topic on
      • DanHD DanH restored this topic on
      • d.healeyD
        d.healey
        last edited by

        Doesn't appear to actually be implemented

        9c14088b-f2e0-4473-b767-fdd60ca5f939-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
        • A
          aaronventure @DanH
          last edited by aaronventure

          @DanH Which commit are you on? The limiter module was removed a few days ago. Maybe that has something to do with this?

          Anyway, a better solution is to just add the Dynamics module to your master chain and enable just the limiter, as you have control over the attack and release. Also, if you want to make sure it absolutely doesn't go over, pull it down to -0.5 dB.

          Some bruteforce testing revealed that if you move it from the 1ms attack, it can still go over for a bit. If you reduce the release from the default 40ms, you'll have to lower the threshold even more.

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @aaronventure
            last edited by

            @aaronventure September commit. I think @d-healey 's right, the flag doesn't seem to do anything 😆

            Not a fan of the limiter for this purpose. Clipping is what I'm after but was interested if this flag did anything or not.

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            A 1 Reply Last reply Reply Quote 0
            • A
              aaronventure @DanH
              last edited by

              @DanH I mean you can just have a simple math_expr node that says input>1.0 ? 1.0 : input and it will hard clip your signal.

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @aaronventure
                last edited by

                @aaronventure Yup, I had mixed results a few months ago, seem to remember the core.snex_node wouldn't compile properly, but I'm sure its been fixed since then! I did use an algo in the math_expr node but it produced a lot of sizzling noise in the exported plugin. Should I be putting it in an oversampling container?

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                Christoph HartC 1 Reply Last reply Reply Quote 0
                • Christoph HartC
                  Christoph Hart @DanH
                  last edited by

                  @DanH a simple clipper is just a math.clip node as master FX.

                  DanHD 1 Reply Last reply Reply Quote 0
                  • DanHD
                    DanH @Christoph Hart
                    last edited by

                    @Christoph-Hart Just saw the clip node - is that new?!

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    Christoph HartC 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @DanH
                      last edited by

                      @DanH nope has been sitting in the dark corner of the party for 2 years waiting for its moment to shine.

                      A 1 Reply Last reply Reply Quote 1
                      • A
                        aaronventure @Christoph Hart
                        last edited by

                        @Christoph-Hart According to my RME meter it still blows past 0.0 ever so slightly if I cram enough notes in there, so I'd top it off with a -0.2dB gain.

                        DanHD 1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @aaronventure
                          last edited by

                          @aaronventure What's the device? No sign of it going over 0 on my total mix, or DigiCheck...

                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                          https://dhplugins.com/ | https://dcbreaks.com/
                          London, UK

                          LindonL A 3 Replies Last reply Reply Quote 0
                          • LindonL
                            Lindon @DanH
                            last edited by

                            @DanH said in USE_HARD_CLIPPER=1:

                            @aaronventure What's the device? No sign of it going over 0 on my total mix, or DigiCheck...

                            The RME drivers a famously very very quick...

                            HISE Development for hire.
                            www.channelrobot.com

                            1 Reply Last reply Reply Quote 0
                            • A
                              aaronventure @DanH
                              last edited by

                              @DanH Babyface Pro FS. Hmm.

                              But if you're already doing hard clipping, it's always a good idea to clip at -0.2dB , because of inter-sample peaks in D>A conversion. It costs you basically nothing and allows you to make sure that, under default circumstances and at 0.0db gain on your instrument's master gain control, it is not possible for your product to red out on its own. If it does, it'll be because of something the user did.

                              DanHD 1 Reply Last reply Reply Quote 0
                              • DanHD
                                DanH @aaronventure
                                last edited by

                                @aaronventure I agree I tend to do this in my DAW all the time

                                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                https://dhplugins.com/ | https://dcbreaks.com/
                                London, UK

                                1 Reply Last reply Reply Quote 0
                                • A
                                  aaronventure @DanH
                                  last edited by

                                  @DanH

                                  f8550c5b-dcf6-4a5a-80da-eab38d264dfc-image.png

                                  If i play a couple of pedal notes with the saw in waveform generator at 0.0dB.

                                  But if I set the gain down even -0.1 dB and play 11 notes.

                                  07cb4460-9085-4255-8e86-ed3f745c2ea5-image.png

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

                                  57

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  101.8k

                                  Posts