HISE Logo Forum
    • Categories
    • Register
    • Login

    Even Order Harmonics.

    Scheduled Pinned Locked Moved General Questions
    22 Posts 4 Posters 1.1k 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.
    • ?
      A Former User
      last edited by

      Ok I've officially joined the "ask for help then figure it out shortly after club"

      Working node setup is super simple, just a Math.pow(4) -> Math.tanh both inside an oversample 16x node (could probably get away with 8x instead).

      Works fine and as far as I can see from testing there's no thump.

      LindonL 1 Reply Last reply Reply Quote 2
      • LindonL
        Lindon @A Former User
        last edited by

        @iamlamprey said in Even Order Harmonics.:

        Ok I've officially joined the "ask for help then figure it out shortly after club"

        Working node setup is super simple, just a Math.pow(4) -> Math.tanh both inside an oversample 16x node (could probably get away with 8x instead).

        Works fine and as far as I can see from testing there's no thump.

        Welcome to the club. Come on in the water is lovely.. could you post a picture of your resulting scriptnode?

        HISE Development for hire.
        www.channelrobot.com

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

          @Lindon I hope the water is only lovely after we figure out why 😏

          83f72fa4-d29a-45e9-8164-ff36c5c1b6de-image.png

          It's actually pretty simple :) (sounds great for bass guitar).

          The pow1 node is set to a value of 4 (the tanh adds the remaining higher harmonics).

          This setup works by driving an input slider, but you could make parameters for it probably. I'm pretty happy with the sound of it, but driving it too hard seems to basically remove the saturation effect, not sure why...

          Dry/Wet can be done the usual way with a gain node for each chain (and make them Dry Amount/Wet Amount in the parameter). The filters help with low-end rumble that's added from the tanh (I think).

          You could try swapping the tanh out for something else, like sin for some other flavours. It's pretty versatile.

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @A Former User
            last edited by

            @iamlamprey said in Even Order Harmonics.:

            @Lindon I hope the water is only lovely after we figure out why 😏

            Never! Ever! Ask that question! :face_with_stuck-out_tongue_winking_eye:

            Thanks for this.. yes I will try it out on some audio and report back...

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon well I cant get this to make any sound at all:

              a4b86f65-e575-4113-b8da-8873f892003f-image.png

              setting pow to max value 4 and value = 4 turns it off completely...

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon Hmm what kind of signal are you driving into it? I'll post some examples of mine... If the input is too hot it might be freaking out.

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @A Former User
                  last edited by

                  @iamlamprey Im sending it bass samples

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon

                    not sure if this will embed:

                    no idea why yours is cutting out... there's nothing else in the chain, I just have some parametric EQs and straight out... maybe the pow node freaks out with a value too high? pow2 might be usable because I think the tanh adds the additional content anyway 😲

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

                      snippet here might be worth trying, pretty confused

                      HiseSnippet 3014.3oc6bstaaibEdjkGeQIdWmzrEa+GaZApLPhVI4awHHHxV1Nq20xVwxIY6eVGZpQVCLEGVRJeIAoM+nOH6iPQA5uadC5qP6aPdCZmK7xPJJJZEqDmTqEXi3LyY347MemyYtIW2hngrsIVfLSu+4lHPlaBabtgS6psUwFfsVGj4afEmWYGhxFOUYShkx1XilDCvZmapZaiZBxjI6SXMMyziC3ed+iWSUW0PCETD.7bBVCsMtC1Inz5U9Qrt9lpMQ6i6H05EprkFwnJQmzkpVYgEAlpZGqdDZGUVyFCBxLwFMwNDqFNpNHaPlwWiz77FsImZHZ+yw13C0QrGJAZP6HQwaRzaxzXVofpsw5Mq6Y91.PFX8.vHq.LtCrFtI1u7.PYVdEJARHiGYFKI0qjr5UL8pWFI0abg5cKXCMKroSPMLc6FvsLbPVsToCAxpknsfw9W4fUIzVX3Tni5wnMsnO3K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G2flzRmNEc+nv7agoWokCok0HFDy1r6.g7f9dHpm7QGwWoqutGqAspiip1wAkbmJ6gnIikIv+9JaSIdpV0DWTfgAKJkdrHowquEJTWElynxWF2qzreAcuRG9TNvXS4L1GTJmq3o03+xhNPSbwwXdASwKghXF7qCu2OXK+eng+JXokKrxhqP+T7AKrvxkWZI1O+H7AZZrgs6Sw4v8f2OJqS71S9RkWtPwjkw6sNu+OPS1NFkNYVXHjYwgPlkFBYVdHj4AdxLAboE5UHVVsU65P5H7ooETeC9NsjIi2uSEp6C3+AjrWAHH
                      

                      Edit: that might need some cleanup in the init callback cause I deleted some modules but didn't delete the references for them

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @A Former User
                        last edited by Lindon

                        @iamlamprey said in Even Order Harmonics.:

                        ok well that makes a noise - and exposes (probably) my mis-understanding of node set up....

                        I see your pow is set as follows:

                        Min: 0
                        Max 4
                        LowerLimit:0
                        UpperLimit:1

                        whilst mine was set up:
                        Min: 0
                        Max 4
                        LowerLimit:0
                        UpperLimit:4

                        • so can anyone tell me what LowerLimit and UpperLimit are for?

                        HISE Development for hire.
                        www.channelrobot.com

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

                          well the code seems to work when you first build it - but becomes massively unreliable on code reload on after extended periods - dont know why...

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon Is this in HISE or in a DAW? I don't have any issues leaving the HISE project open for hours... haven't tested extended periods in a daw but

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @A Former User
                              last edited by

                              @iamlamprey in HISE - its not working havent even compiled it into a plugin yet.

                              HISE Development for hire.
                              www.channelrobot.com

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

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @Lindon
                                  last edited by

                                  @Lindon No idea then ☹ sorry

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

                                  40

                                  Online

                                  1.7k

                                  Users

                                  11.7k

                                  Topics

                                  102.2k

                                  Posts