HISE Logo Forum
    • Categories
    • Register
    • Login

    Shape FX in Scriptnode

    Scheduled Pinned Locked Moved General Questions
    8 Posts 5 Posters 483 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 A Former User

      Is it possible to make a waveshaper like Shape FX unit, in scriptnode rewrite?
      Anyone has an example to start?

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

        The Math nodes will like tanH/sin will be your starting point, put a gain before and after them and crank it to see the different waveshaping effects :)

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

          @iamlamprey Thank you so much for the information.

          Do you have any idea about which math node is used for the saturation?

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @A Former User
            last edited by ustk

            @Steve-Mohican As @iamlamprey said, tanH and sin are the mainly used functions for a common saturation, you can add pow to the list too. For a more unique sound, you have to make your own function...

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

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

              @ustk @iamlamprey

              Very interesting. But it doesn't sound like the saturation in the Shape FX.
              Below is my snippet, is it possible to see an example of this saturation?

              HiseSnippet 1111.3oc6WsraaaDEcnjoajRBPaQBZWRDzEN.oFhNoIEnKrrrjRMZjCgoqi2ELd3UVCzvYHHGZG0h9O09Uzei9Ij+f16vGgj1NtJBHInO7F66qgm66q8hULHIQESr5b3hHfXcKa+ER8rcmQ4RxdCQ91SET4oPLYvhHZRBDPrrZ+TiXqNqQx940aOfhJwfJVDxQJNCdFOjqq350+G3BwXZ.bHOrl1Op+dLkbWkPkhPoscORDkMmdJrO0nVKah05iB3ZUrulpgDh0ZCTAK7moNWlq+Q7D9IBvP3R7wGJm8XkHvfXCWxty3h.uRWNgPrr8pB.syC.2wdBOf+F9UAhOMSfSkE0iGVstN34VGd8VZ3Qpgt0xQGBBUPpfpahLS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J63SKq7idxZEH+E0nxnK.
              
              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                I'm currently writing nodes that accept simple one liners as stateless expression which can be used to implement custom wave shaping functions.

                What you're looking for is the formula used in the hise::Saturator class, which is basically this:

                Waveshaper — Musicdsp.org documentation

                favicon

                (www.musicdsp.org)

                ? ? 2 Replies Last reply Reply Quote 2
                • ?
                  A Former User @Christoph Hart
                  last edited by

                  @Christoph-Hart said in Shape FX in Scriptnode:

                  What you're looking for is the formula used in the hise::Saturator class, which is basically this:

                  Waveshaper — Musicdsp.org documentation

                  favicon

                  (www.musicdsp.org)

                  Great thank you!

                  If you could add this hise::Saturator as a node with oversampling enabled in scriptnode, it would be amazing. Because this one has the most musical tone in Hise waveshapers.

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

                    @Christoph-Hart said in Shape FX in Scriptnode:

                    I'm currently writing nodes that accept simple one liners as stateless expression which can be used to implement custom wave shaping functions.

                    What you're looking for is the formula used in the hise::Saturator class, which is basically this:

                    Waveshaper — Musicdsp.org documentation

                    favicon

                    (www.musicdsp.org)

                    So the expression module in scriptnode is only for one-liners. How do you go about asymmetrical waveshapers when using scriptnode?

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

                    22

                    Online

                    1.7k

                    Users

                    11.7k

                    Topics

                    102.0k

                    Posts