Announcement

Collapse
No announcement yet.

PipeWire 0.3.57 Adds AAC Decoder, Opus For Bluetooth

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    AFAICT neither Easyeffect nor pavucontrol let you set the sample rate/bit depth.

    ...though it was my impression that, at least for bit depth, PipeWire automatically outputs to the highest bitdepth supported by your hardware because there's no reason not to since, unlike resampling, playing lower-bitdepth audio on higher-bitdepth hardware is 100% lossless.

    But even if it's not outputting the highest bitdepth, it's still one of those "configure once and forget" since, as mentioned, there's not really a reason to not use the highest bitdepth supported by your hardware.


    Some information regarding bitdepth in PipeWire can be found here:
    https://reddit.com/r/archlinux/comme...with_pipewire/
    https://gitlab.freedesktop.org/pipew...e/-/issues/457


    Originally posted by middy View Post
    all i wish for was an easier way to set bit rate and sample rate. windows its so stupid easy to do. linux its unnecessarily complex.
    As stated, setting bitdepth should be completely unnecessary (unless there's a bug of course!) and, for sample rate, there's actually a built-in terminal command specifically for setting the sample rate for the current session (so it'll revert to the default if you log out):
    https://gitlab.freedesktop.org/pipew...erate-settings

    e.g. for 44.1kHz:
    Code:
    pw-metadata -n settings 0 clock.force-rate 44100
    e.g. for 48kHz:
    Code:
    pw-metadata -n settings 0 clock.force-rate 48000​
    e.g. for 192kHz:
    Code:
    pw-metadata -n settings 0 clock.force-rate 192000​​
    etc etc.

    I personally find that the easiest "GUI-like way" is to straight up create individual desktop launchers and/or .sh script files or the like for each of your desired sample rates that you can just run and have it set the sample rate accordingly.

    Also if you have lots of CPU cores and/or performance overhead, you might additionally be interesting in cranking up the resampling quality; just like bitdepth, this can be one of those "set once and forget":
    https://gitlab.freedesktop.org/pipew...sample-quality
    Last edited by NM64; 07 September 2022, 01:48 PM.

    Comment


    • #32
      Maybe its time to make PW dedicated (advanced) )tool for audio settings?

      Comment

      Working...
      X