HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode threshold controlled saturation

    Scheduled Pinned Locked Moved ScriptNode
    7 Posts 3 Posters 131 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.
    • D
      deadlycopter
      last edited by

      Hey! I am currently trying to make a saturation/distortion plugin that activates only under a certain threshold and has all the parameters of a compressor (attack, knee, ratio, etc...). I feel like it should be an easy task, but as I've only just started learning scriptnode, I've been running in circles for the past week and haven't gotten anywhere. Would anyone have an idea that could help? I've already gotten the distortion to work, it's just the dynamics that are being a pain. Any help is appreciated!

      griffinboyG LindonL 2 Replies Last reply Reply Quote 0
      • griffinboyG
        griffinboy @deadlycopter
        last edited by

        @deadlycopter

        Not an easy task.
        I'd honestly say it's easier to do this in snex or c++ even. Unless you're set on doing this in pure scriptnode.

        Maybe someone here will know the answer. But this is a bit of a fiddly project.

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

          @deadlycopter yeah what @griffinboy said... I dont know any of us who've built a compressor in scriptnode alone - I mostly use faust for this...

          HISE Development for hire.
          www.channelrobot.com

          D 1 Reply Last reply Reply Quote 0
          • D
            deadlycopter @Lindon
            last edited by

            @Lindon thanks for the insight, I didn't realise that it'd be such a challenge. Could you point me in the direction to achieve what I'm going for? Any tutorials, threads, anything helps! Thanks!

            LindonL griffinboyG 3 Replies Last reply Reply Quote 0
            • LindonL
              Lindon @deadlycopter
              last edited by

              @deadlycopter well I'd start by looking at the faust code for compressors and see if I could build it there...

              HISE Development for hire.
              www.channelrobot.com

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

                @deadlycopter

                What lindon said.

                There are open source compressors on the internet, and blogs about how to program one. After you've built a compressor you can then use the computed gain reduction to apply your saturation instead of using it to apply volume.

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

                  @deadlycopter actually thinking about it a bit, if all you are looking to get out of the compressor code is some current "compressed" value based upon some input signal then the Faust compressors offer you dB values as output, e.g.

                  Link Preview Image
                  compressors - Faust Libraries

                  favicon

                  (faustlibraries.grame.fr)

                  • now normally we just apply this dB value to the signal level to get a classic compressor - but there's nothing stopping you using it in some saturation component in Faust... you just need to convert the dB output values to something you can use in your saturation code

                  HISE Development for hire.
                  www.channelrobot.com

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

                  19

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  103.1k

                  Posts