Forum
    • Categories
    • Register
    • Login

    ScriptNode - DC. Offset

    Scheduled Pinned Locked Moved General Questions
    19 Posts 8 Posters 462 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.
    • LindonL
      Lindon
      last edited by

      Is there a way to do this - Im trying to use a phasor.fm node and its giving me an only positive wave shape back....(as it would)...

      HISE Development for hire.
      www.channelrobot.com

      1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey
        last edited by

        Try a high-pass filter at 5hz.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

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

          @d-healey oooh, yeah, ... nice...

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon This may be helpful as well

            https://faustlibraries.grame.fr/libs/filters/#fidcblockerat

            Sonic Architect && Software Mercenary

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

              Why not use a mod2sig node?

              LindonL J 2 Replies Last reply Reply Quote 0
              • LindonL
                Lindon @Christoph Hart
                last edited by

                @Christoph-Hart tried that - didnt work....dunno why

                HISE Development for hire.
                www.channelrobot.com

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

                  @Lindon Seems it does work:

                  Screenshot 2024-10-10 at 18.14.43.png

                  Hise made me an F5 dude, any other app just suffers...

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

                    @ustk oh Im not saying it doesn't work - just it doesn't work for a phasor_fm modulated signal...in my case... anyway davids solution worked perfectly...

                    HISE Development for hire.
                    www.channelrobot.com

                    1 Reply Last reply Reply Quote 1
                    • J
                      Jeetender @Christoph Hart
                      last edited by Jeetender

                      @Christoph-Hart the sig2mod removed dc offset? how to remove dc offset

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

                        @Jeetender Not quite, more the opposite in fact since in rescales a -1 to 1 audio signal to a 0 to 1 modulation signal.

                        To remove DC offset you need a HPF

                        Hise made me an F5 dude, any other app just suffers...

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jeetender @ustk
                          last edited by

                          @ustk ive tried the HPF at 5-10Hz.. doesn't seems to be working any specific filter module?

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

                            @Jeetender Then your problem might be somewhere else. By definition the DC at the output of any HPF is -inf.
                            It's right that it can bring artefacts in some cases that are essentially due to its response time, but it definitely kill DC.

                            Hise made me an F5 dude, any other app just suffers...

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jeetender @ustk
                              last edited by

                              @ustk said in ScriptNode - DC. Offset:

                              @Jeetender Then your problem might be somewhere else. By definition the DC at the output of any HPF is -inf.
                              It's right that it can bring artefacts in some cases that are essentially due to its response time, but it definitely kill DC.

                              can a regular svf filter in scriptnode do it? or any other dedicated node ?

                              SifresS 1 Reply Last reply Reply Quote 0
                              • SifresS
                                Sifres @Jeetender
                                last edited by

                                @Jeetender yeah the stock one works just fine. 😊

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jeetender @Sifres
                                  last edited by

                                  @Sifres said in ScriptNode - DC. Offset:

                                  @Jeetender yeah the stock one works just fine.

                                  so a HP at 5hz it is.

                                  ustkU A 2 Replies Last reply Reply Quote 0
                                  • ustkU
                                    ustk @Jeetender
                                    last edited by

                                    @Jeetender Hise HPFs don't go below 20Hz (unless I'm wrong, even if you set the parameter to 5Hz)

                                    But I agree anywhere in the 5-10Hz range is better (the lower you go, the longer the delay response so it's not alway good to go below that, depends on your design)
                                    So if you want to go below 20Hz, you need to wrap your own C++ custom filter (or Faust or other maybe?)

                                    Hise made me an F5 dude, any other app just suffers...

                                    J 1 Reply Last reply Reply Quote 0
                                    • A
                                      amirvinci @Jeetender
                                      last edited by

                                      @Jeetender It will remove DC. Technically DC is 0hz thus HiPass filtering the lowest frequency i.e. 3,4 or 5Hz will effectively remove the DC.
                                      However, it will introduce phase differences similarly to an all pass filter, thus subtracting it from the original will leave audible residue. That should be Okay and is just like any HiPass based on IIR. You can use an FIR, however to be phase linear it'll have to have a fairly long delay.

                                      1 Reply Last reply Reply Quote 1
                                      • J
                                        Jeetender @ustk
                                        last edited by

                                        @ustk said in ScriptNode - DC. Offset:

                                        @Jeetender Hise HPFs don't go below 20Hz (unless I'm wrong, even if you set the parameter to 5Hz)

                                        But I agree anywhere in the 5-10Hz range is better (the lower you go, the longer the delay response so it's not alway good to go below that, depends on your design)
                                        So if you want to go below 20Hz, you need to wrap your own C++ custom filter (or Faust or other maybe?)

                                        well we can go below 20hz in any scriptnode eq. just make the knob sticky and drag the edges to se the range. and yes i used a 5hz hp and its ok doing the job

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

                                          @Jeetender Hmmm... I'm might be wrong but I'm not so sure about this. You can surely set a parameter to any value below 20Hz, but I'm not sure the filter is capable of reaching this value. To me it's capped to 20Hz-20kHz no matter the range of your parameters.

                                          Hise made me an F5 dude, any other app just suffers...

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

                                          18

                                          Online

                                          2.3k

                                          Users

                                          13.6k

                                          Topics

                                          118.6k

                                          Posts