HISE Logo Forum
    • Categories
    • Register
    • Login

    Aliasing?

    Scheduled Pinned Locked Moved General Questions
    14 Posts 6 Posters 761 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.
    • andrei sA
      andrei s
      last edited by andrei s

      Hello!

      Does HISE distort sound?

      Here are the screenshots with the same sample played in DAW independently, through Kontakt and through HISE.

      Project sample rate 44100 Hz:

      Sample
      aliasing 44100 reaper.png

      Kontakt
      aliasing 44100 Kontakt.png

      HISE
      aliasing 44100 HISE.png

      Project sample rate 96000 Hz:

      Sample
      aliasing 96000 reaper.png

      Kontakt
      aliasing 96000 kontakt.png

      HISE
      aliasing 96000 HISE .png

      The sample itself has a sampling rate of 48000 Hz and 24 bit.

      When the pitch of the sample is lowered in HISE VSTi, the distortions become more pronounced and are very noticeable to the ear.

      Why it happens and how can this be fixed?

      ustkU LindonL 2 Replies Last reply Reply Quote 0
      • ustkU
        ustk @andrei s
        last edited by

        @problema So I imagine the sample is played as it is, no FX, filter or envelope of any kind right? Sorry if it seems obvious but it worth to ask...

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

        andrei sA 1 Reply Last reply Reply Quote 0
        • andrei sA
          andrei s @ustk
          last edited by

          @ustk yes, it's a dry signal without any FX, filter or envelope.

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

            @problema

            What happens when you set the project to this sample rate:

            The sample itself has a sampling rate of 48000 kHz and 24 bit.

            HISE Development for hire.
            www.channelrobot.com

            andrei sA 1 Reply Last reply Reply Quote 1
            • ustkU
              ustk
              last edited by ustk

              Yeah the same question I was about to ask...

              Since it's the plugin job to provide the samplerate the DAW is asking for, there's a conversion algorithm when the project SR isn't matching the samples SR. In the case of Hise, I guess it uses the Langrange interpolator from JUCE. Kontakt might use a different/better interpolator, and the DAW again a different one (when you just place the sample on a track)... Has the sample on the DAW track been converted or is it playing at the original SR? (so a different pitch)

              Running the DAW project to the exact SR and bit depth will cancel out any conversion process in the chain (I hope so), so no conversion noise should appear (be it from interpolation or decimation).
              If there is still some noise though, it might come from somewhere else than the SR conversion...

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

              andrei sA 1 Reply Last reply Reply Quote 0
              • andrei sA
                andrei s @Lindon
                last edited by

                @Lindon

                When project sample rate is 48000 and sample isn't pitched down HISE sounds without any distortion:
                aliasing Hise 48000.png

                But when the midi note with the same sample is pitched down to 6 semitones HISE shows this:

                aliasing -6 48000 Hise.png

                Kontakt with same pitched down note:
                aliasing-6 48000 Kontakt.png

                Reaper:
                aliasing-6 48000 reaper.png

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

                  @problema Which pitch shifting algorithm are you using in Reaper?

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

                  andrei sA 1 Reply Last reply Reply Quote 0
                  • andrei sA
                    andrei s @d.healey
                    last edited by

                    @d-healey élastique 3.3.3 Efficient

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

                      @problema Try something like soundtouch, that's probably closer to what HISE is using.

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

                      Christoph HartC 1 Reply Last reply Reply Quote 0
                      • andrei sA
                        andrei s @ustk
                        last edited by andrei s

                        @ustk the sample on the DAW track have a 48000 Hz sample rate and 24 bit depth, it's the same sample that loaded in HISE and Kontakt

                        1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart @d.healey
                          last edited by

                          The sampler in HISE is using plain ol’ linear interpolation which is the best compromise between quality and performance IMHO - I never had the urge to implement a more complex algorithm.

                          ustkU 1 Reply Last reply Reply Quote 3
                          • ustkU
                            ustk @Christoph Hart
                            last edited by ustk

                            @Christoph-Hart Well, if it becomes audibly negative, it might worth the overhead of a better interpolation, or at least a pre-processor to choose. Maybe even a dynamic selection at runtime if possible ;)

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

                            1 Reply Last reply Reply Quote 2
                            • FrankbeatF
                              Frankbeat
                              last edited by

                              To my old machine, it is pretty comfortable to have linear interpolation, I guess 😊

                              But I can relate to @ustk it'd be nice to have options.

                              Using HISE from the develop branch (Feb '23)

                              1 Reply Last reply Reply Quote 1
                              • FrankbeatF
                                Frankbeat
                                last edited by

                                I’m running a sample based Synth with 44.1kHz/16 bit (internally obersampling 4x) and I don’t hear aliasing though when I look at the waveform I can see it is distorted a little. So, what’s your experience? Where does it become audible to you?

                                I have to add that I use to not transpose a sample by more than +/-2 semitones with this synth so I can’t tell how it sounds with more than that

                                Using HISE from the develop branch (Feb '23)

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

                                48

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                102.3k

                                Posts