HISE Logo Forum
    • Categories
    • Register
    • Login

    Adding a distortion knob

    Scheduled Pinned Locked Moved General Questions
    24 Posts 6 Posters 481 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.
    • pcs800P
      pcs800
      last edited by

      I added a saturator effect to use as distortion (is there a better option?). It shows up at the bottom of the FX tree. I want it to be at the top, or at very least, before the output, which should be last.
      When I try to drag and drop it, it just jumps back to where it started.
      I am in edit mode.
      2025-04-30_105026.png

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

        @pcs800 Dragging modules in the tree is a tile game :) Every time you drag one it will jump to the bottom (except for EQs which will stay at the top). So you need to drag every module, except the Saturator to the bottom.

        You can also use containers in your tree to give you a structure where you can add effects at different levels.

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

        pcs800P 2 Replies Last reply Reply Quote 0
        • pcs800P
          pcs800 @d.healey
          last edited by

          @d-healey Well that sounds fun :-|
          You'd think the dev would change that.

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

            @d-healey Is there a better nodule or procedure to create a distortion knob? The saturation raises the volume significantly when saturation of pregain is applied.
            Or should I put a limiter in line right after it?

            griffinboyG 1 Reply Last reply Reply Quote 0
            • griffinboyG
              griffinboy @pcs800
              last edited by

              @pcs800

              You'll want to compensate with decreasing volume after. Limiting or clipping the output should be an option to the user

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

                @pcs800 said in Adding a distortion knob:

                You'd think the dev would change that.

                We lasted 8 years without being able to move modules at all! you came in during a golden age :p

                You can also just add it directly at the top of the chain by right-clicking on an existing module and selecting add before this one

                b4240a8c-a0c9-4925-bd74-7aaf022c45e1-image.png

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

                pcs800P 1 Reply Last reply Reply Quote 2
                • pcs800P
                  pcs800 @d.healey
                  last edited by

                  @d-healey Oh, that might be what I want to do, thanks.
                  @griffinboy How do i compensate with decreasing volume proportionately?

                  griffinboyG 1 Reply Last reply Reply Quote 0
                  • griffinboyG
                    griffinboy @pcs800
                    last edited by

                    @pcs800

                    Not possible unless you're going to write the dsp math for the distortion yourself! The best you can do is feed in an 'expected signal' and then figure out for certain distortion values, how much you need to decrease volume to keep it level.

                    You can use scriptnode or the hise script to control the compensation based on an array or curve.

                    It'll be some kind of curve, not linear.

                    pcs800P 1 Reply Last reply Reply Quote 0
                    • pcs800P
                      pcs800 @griffinboy
                      last edited by

                      @griffinboy And I have no idea how to do that.
                      Before I started using HISE, I was making instruments that ran in Kontakt, using Kontakt GUI maker. It had a distortion effect you could add that just added distortion, not overall volume. I really need that to happen in these plugins I am making.
                      If anyone is willing to help with scripting, since I am new to that too.

                      griffinboyG 1 Reply Last reply Reply Quote 0
                      • griffinboyG
                        griffinboy @pcs800
                        last edited by

                        @pcs800

                        mmm yeah, Hise is a bit more involved, it's a step up from Kontakt in terms of complexity.

                        Were you using KSP in your kontakt instruments previously?
                        If you were, you'll have less issue doing what I said.

                        If not, you've got a bunch to learn here!

                        pcs800P 1 Reply Last reply Reply Quote 0
                        • pcs800P
                          pcs800 @griffinboy
                          last edited by

                          @griffinboy said in Adding a distortion knob:

                          Were you using KSP in your kontakt instruments previously?

                          Since I don't know what that is, I'm gonna go with no :-)

                          So, I actually added a limiter in line after the saturator and set it up so the overall volume doesn't change when saturation is added, and it worked!

                          griffinboyG 1 Reply Last reply Reply Quote 1
                          • griffinboyG
                            griffinboy @pcs800
                            last edited by

                            @pcs800

                            haha, it will, but try it on drums.

                            You will now get heavy limiting, potentially adding weird dynamics.

                            It may be what you are after. Make sure to test on a bunch of program material to make sure its doing what you intended.

                            pcs800P 1 Reply Last reply Reply Quote 0
                            • pcs800P
                              pcs800 @griffinboy
                              last edited by

                              @griffinboy Actually, a multiout drum instrument is in my future plans for Hise, so thanks for the warning.
                              I do have three developers on my team who are totally familiar with juce, javascript, and C++. So I am sure I'll be bugging them when the time comes.

                              pcs800P 1 Reply Last reply Reply Quote 1
                              • pcs800P
                                pcs800 @pcs800
                                last edited by pcs800

                                @griffinboy Yikes!
                                Having added the saturator and limiter seems to have added a bunch of latency to the plugin.
                                I exported and opened it in my daw project which also contains a drum track that the instruments plays along with, and it is about 100ms behind.
                                Anyone have insight on latency being introduced?

                                griffinboyG 1 Reply Last reply Reply Quote 0
                                • griffinboyG
                                  griffinboy @pcs800
                                  last edited by griffinboy

                                  @pcs800

                                  I'm sure that's the lookahead on the limiter.

                                  There is a hisescript command to compensate for latency

                                  pcs800P 1 Reply Last reply Reply Quote 0
                                  • pcs800P
                                    pcs800 @griffinboy
                                    last edited by

                                    @griffinboy I will look around for that. And yes, I took out the limiter and the latency went away.

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

                                      @pcs800 just use a faust limiter - tis less (much les)) latency

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      pcs800P 1 Reply Last reply Reply Quote 0
                                      • pcs800P
                                        pcs800 @Lindon
                                        last edited by

                                        @Lindon Isn't that involving adding code instead of adding it with the gui editor?

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

                                          @pcs800 said in Adding a distortion knob:

                                          @Lindon Isn't that involving adding code instead of adding it with the gui editor?

                                          yes - if you are looking to build a meaningful and class compliant product without writing code I fear you will be disappointed.

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          griffinboyG 1 Reply Last reply Reply Quote 3
                                          • griffinboyG
                                            griffinboy @Lindon
                                            last edited by griffinboy

                                            @Lindon
                                            @pcs800

                                            Indeed, but everyone has to start somewhere. My first Hise vst was a sine generator with a pretty UI and a pitch knob.

                                            Start with getting a programmed interface to control what already exists in Hise.
                                            Get a UI working for your current project.

                                            Next, explore scriptnode if you want to take it further.

                                            Then Faust, snex or c++ would be the next step.

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

                                            14

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.2k

                                            Posts