HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode - Bias

    Scheduled Pinned Locked Moved General Questions
    24 Posts 6 Posters 1.3k 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.
    • orangeO
      orange @clumsybear
      last edited by orange

      @clumsybear This is Script FX Biquad Filter. Below 20Hz, it is unstable. Also in about 4Hz, it is shaking :)

      alt text

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      1 Reply Last reply Reply Quote 2
      • C
        clumsybear
        last edited by

        Interesting @orange

        I have a feeling that the purpose of why I'm trying to bias the signal before hitting the tanh module makes the whole process obsolete.

        The purpose was to generate even harmonics, which works. the problem is that the filter set at 20Hz cancels/filters out even harmonics. Is there another way to generate even harmonics?

        orangeO 1 Reply Last reply Reply Quote 0
        • orangeO
          orange @clumsybear
          last edited by orange

          @clumsybear You can bypass filters in the Shape FX module with: ShapeFX.setAttribute(ShapeFX.BypassFilters, true);

          There is no bypass button in the unit's GUI but there is a parameter for that.

          HiseSnippet 1096.3oc2W0saaTDEdV6rU0NTDAEj3xUkabkBQ1l1BRHTci+oXQbrU1PK2UMY2isGk0yrZ1YcwBw87.vCFR7Bvi.uAvY10N6LoFKigDUUmax7cNmc+N+O6HoH.RRDRhSkKVDCDmOv0eAWMs8TJiS52g37gtCnIJP5kCcxhXZRBDRbbJ+BMfSk8HY+9ymcBMhxCfBHB4kBV.bJaFSUfNp02whh5QCgKXyLz9ws5GH3sEQhTjOkcqShoAWQm.mQ0pUxk3butgLkP5qnJHg3r2IhvE9SEugmq+KYIrKi.8gFDe7AkC2SDEpYr9+IsmxhBGsxuSHDG2QEQgx4QgCcGvBYWiWDM9nLAdEVXFObJsI50XGomiA81KmdG35GHYwpBIZtsuaeNlnFSwTfIsx0kT5ybbaKPM3pimQuB5IwCWaQsmVu9QdOod8G80Onp9OLUjn7lSkdc56eg223kUWb7DP0c7XHPU6gZ7GtRc8giS.0yUJI6xTETKCImG8XQ3qI4HOkLEzVLNkGnXBtmfelPAC40dT0epZkp+bUuaJZ730JS6IRQTDHWqXckkbSFVimN6RPdD5gQHmVoHFhsyg6uc4vf7.qghBdeNSMLFVdtHKqkk60qjVmbsyZBU3ilnYt1ZTq.5sKhHKS73+8886PUTcc0RLTuXPpXZu0oCLGaXyqxp31ARtRIhwV12pDDaDDgoQTkc2gdjvRAX31pLTWpwSXpEliL9WzxTessLMVm2tkz8.2QLUvz0y2RqguXT61luKG.8.27trBxtmaue3NdZyAqpC7mRiA70q4w8b0M1VLocpbd9.5SXzjSgwJyPlF6b1joVfeKBLBe.lS+OU7FKne42agoFiED2u0v43XD5r3HFehYYj8lHB4bHL0dQzySUhI2XeU1do973TkIZGIatkoCX+n0VNyQZV0xksSHk2tDxZpGNWjpPOb.Emkhua2yRm4iKEC.rbfygH7g65TR2Vmett9rlD9.OL6veg+VJrg9ryRgMVIzrl6v7779tuhNGxFymko+jryiExYdu.3fT27zXCW.3211K.Du0W.XXfBovERJOIVj.MLex2PVSSYc.UJ2V8bHKsztWOz8ZXVhsBroI3HJ25ggma9OVh7GOqKmhIZe.8lvgIAnypicl0JiRiRfWwBUSaXZXAbSS3aVYsks51CiMz+cjKA8++D8+6Kf14lVqImUVwQeFNrB5xmCQ3V1LN9w3Z0wzzH0JT6dpABtHdpfyBrGngiBlLArJhVqCgW.Cu0bAxgsNGh.ZRQeVzu15TFGnR6oq2VwhMku9T2b55oGD389wEGJ+dzEGtM5PwYkuCjouKVwdW7NlQCjhWGj+I.5Vu6mgf9MO6qlqfe9Nd1qAI6CcP6bqebcxLb.9qCBzUGeNFeVuMM2Aa9hcvlGuC17jcvlmtC17k6fMe0FsQu6TeazY40+HvntYeRliS98FxZEH+M14Qj.A
          

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

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

            @orange oh nice catch....

            HISE Development for hire.
            www.channelrobot.com

            1 Reply Last reply Reply Quote 0
            • C
              clumsybear
              last edited by clumsybear

              cool @orange , didn't know about that. it could come in handy as a workaround to the scriptnode signal flow. But I guess I'd have to deal with the same peak in the low end which is produced by biasing the signal in the first place.

              I was actually talking about generating even harmonics in another way then biasing the signal before hitting a hyperbolic transfer function.
              Like, tanh produces odd harmonics
              What produces even harmonics?

              1 Reply Last reply Reply Quote 0
              • C
                clumsybear
                last edited by clumsybear

                Finally found a way to produce them even harmonics.

                • Apply transfer function with positive bias offset to signal A
                • Apply transfer function with negative bias offset to signal B
                • Flip the phase of one signal
                • Add the fundamental
                • Mix signals back together

                I want to create this in scriptnode. how can the math.add node act as a positive/negative bias.

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

                  Right click on the knob to change the range:

                  Link Preview Image
                  HISE | Docs

                  favicon

                  (docs.hise.audio)

                  1 Reply Last reply Reply Quote 0
                  • C
                    clumsybear
                    last edited by

                    @Christoph-Hart alright, thanks.
                    Is there a way to flip the phase of a chain in scriptnode?

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

                      Multiply with -1 :)

                      C 1 Reply Last reply Reply Quote 2
                      • C
                        clumsybear @Christoph Hart
                        last edited by

                        @Christoph-Hart easy enough :)

                        1 Reply Last reply Reply Quote 0
                        • lalalandsynthL
                          lalalandsynth @clumsybear
                          last edited by

                          @clumsybear Wouldnt that be negative bias on signal A and no bias on Signal B ?

                          https://lalalandaudio.com/

                          https://lalalandsynth.com/

                          https://www.facebook.com/lalalandsynth

                          https://www.facebook.com/lalalandsynth

                          1 Reply Last reply Reply Quote 0
                          • lalalandsynthL
                            lalalandsynth
                            last edited by

                            I did this configuration , works very well, except that I get a loud Dc thump when I push play in a DAW . And only when I push play .

                            https://lalalandaudio.com/

                            https://lalalandsynth.com/

                            https://www.facebook.com/lalalandsynth

                            https://www.facebook.com/lalalandsynth

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

                            11

                            Online

                            1.7k

                            Users

                            11.9k

                            Topics

                            103.5k

                            Posts