HISE Logo Forum
    • Categories
    • Register
    • Login

    Scriptnode "oversample" node starting at 4x crashes in PC

    Scheduled Pinned Locked Moved Bug Reports
    51 Posts 10 Posters 3.9k 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.
    • Dan KorneffD
      Dan Korneff @d.healey
      last edited by

      @d-healey I believe this will also affect sounds generated within HISE.

      Dan Korneff - Producer / Mixer / Audio Nerd

      orangeO 1 Reply Last reply Reply Quote 1
      • orangeO
        orange @Dan Korneff
        last edited by

        @dustbro said in Scriptnode "oversample" node starting at 4x crashes in PC:

        @d-healey I believe this will also affect sounds generated within HISE.

        Yeah I think like that too. Especially if the sound generator signal goes to filter, distortion or shaper kind of effects.

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          But only if effects are used right? Not when creating a plain ol' sample library.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey You generally want to oversample when you modify the harmonic content, in fact when you add harmonics... so everything involving distortion, (saturation or shape, tape emulation, compression...)
            To resume quickly, the more harmonics you add, the better are the chances that they will be higher than the Nyquist freq, so they will be badly folded back to the audible range... Oversampling and better filtering prevent the high harmonics to be folded back.

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

            1 Reply Last reply Reply Quote 1
            • ustkU
              ustk @d.healey
              last edited by

              @d-healey There is no risk with samples, only effect with higher harmonic content.

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

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

                Well the risk is higher CPU usage which might get important for sample libs with high voice count.

                1 Reply Last reply Reply Quote 1
                • Dan KorneffD
                  Dan Korneff @tomekslesicki
                  last edited by

                  @tomekslesicki @Christoph-Hart I'm just encountering this now. When I enable Oversampling, I can see a physical change in the Parametric EQ Gain on my project.

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  1 Reply Last reply Reply Quote 0
                  • NatanN
                    Natan @Christoph Hart
                    last edited by

                    @Christoph-Hart said in Scriptnode "oversample" node starting at 4x crashes in PC:

                    You could add a HQ button somewhere and do

                    if(value)
                        Engine.setMinimumSampleRate(100000);
                    else
                        Engine.setMinimumSampleRate(40000);
                    

                    in its callback. 100.000 will ensure that it's always 4x oversampled for lower samplerates and 40000 that it's never oversampled in non-HQ mode (using 48000 would cause oversampling in 44,1kHz).

                    It will fade out all voices and then reinitiliase the processing chain with the new samplerate .

                    Awesome :)
                    I Just Added This To A Script Which Cause Aliasing, And Booom With This All Disapperd
                    Thank You Christoph <3

                    NatanN 1 Reply Last reply Reply Quote 2
                    • NatanN
                      Natan @Natan
                      last edited by Natan

                      Be Aware!
                      In Case You're Using Convolution Reverb, This Will Add +5 dB To Your Output Volume!
                      Which Can Solve With Some Codes.

                      Other Than That Works Like A Charm :)

                      @Christoph-Hart said in Scriptnode "oversample" node starting at 4x crashes in PC:

                      if(value)
                          Engine.setMinimumSampleRate(100000);
                      else
                          Engine.setMinimumSampleRate(40000);
                      
                      1 Reply Last reply Reply Quote 0
                      • NatanN
                        Natan
                        last edited by Natan

                        This post is deleted!
                        NatanN 1 Reply Last reply Reply Quote 0
                        • NatanN
                          Natan @Natan
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • NatanN
                            Natan @Christoph Hart
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            29

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            102.8k

                            Posts