• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Low Latency

    Scheduled Pinned Locked Moved Technical Help
    7 Posts 2 Posters 2.1k Views 1 Watching
    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.
    • T
      Ton
      last edited by

      A little late, but thanks for your answer about fading. That is obvious. So no resampling. New question about Low Latency kernel Ubuntu Studio in which I am using Strawberry now. Is this kernel only for recording or also useful in audio playback? What is the best setting for the buffer? Thanks.

      T 1 Reply Last reply
      Reply Quote 0
      • T
        Ton @Ton
        last edited by

        @Ton Answer my own question about low latency. It was difficult to find because most of the internet is about recording. Not about playback.

        I liked this explanation. https://medium.com/@juliozynger/your-app-and-low-laatcy-audio-output-d21d7b672305 and this one https://juce.com/ I will get there step by step. I think.

        1 Reply Last reply
        Reply Quote 0
        • T
          Ton @jonas
          last edited by

          @jonas Thanks for: Removed use of deprecated gstreamer "low-percent" (Minimum buffer fill setting) and Added buffer low and high watermark settings to backend settings.
          But how do I know the best settings for my desktop? Is that the installation setting that comes with the hardware or is that an average? I am using Ubuntu Studio.

          1 Reply Last reply
          Reply Quote 0
          • jonasJ
            jonas
            last edited by

            You should not change the watermark settings unless you have a problem.
            And if you have problems it is usually the buffer duration you should increase anyway.
            The low-watermark is the equivalent to low-percent except it's a double value instead of percent like before.
            Explained here: https://gstreamer.freedesktop.org/documentation/additional/design/buffering.html?gi-language=c

            1 Reply Last reply
            Reply Quote 0
            • T
              Ton
              last edited by

              Thank you Jonas for your clear answer. I will not touch the low watermark settings. It all works fine. I am interested in the best possible adjustment of Strawberry for the best possible sound reproduction. Another general question about that. Does a low-latency kernel contribute to better sound reproduction for music players? Or is it only important for music studio production? I read that you have back pain. Hopefully you will be better and you will have less pain and can sleep!

              1 Reply Last reply
              Reply Quote 0
              • jonasJ
                jonas
                last edited by jonas

                Not that I know of, I think it's more to make playback smooth without interference and to keep audio & video in sync.
                I used to compile a custom low-latency kernel for many years, otherwise I had "hiccups" in the sound. I used to set CONFIG_PREEMPT_RCU to yes and CONFIG_HZ_1000 to yes.
                I've used openSUSE since it was SUSE Linux, and I remember they had a desktop kernel for many years which I think did the same thing. I don't know how the kernels in different distros are configured.
                I'm not an expert on it, I think it's better that you ask in a linux forum, or kernel related mailinglist.

                1 Reply Last reply
                Reply Quote 0
                • jonasJ
                  jonas
                  last edited by

                  @Ton I moved the messages here.

                  1 Reply Last reply
                  Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  Powered by NodeBB | Contributors