this post was submitted on 17 Jul 2023
522 points (100.0% liked)

Linux

1254 readers
70 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

For context, LDAC is one of the few wireless audio codecs stamped Hi-Res by the Japan Audio Society and its encoder is open source since Android 8, so you can see just how long Windows is sleeping on this. I'm excited about the incoming next gen called LC3plus, my next pair is definitely gonna have that.

top 47 comments
sorted by: hot top controversial new old
[–] Deathcrow@lemmy.ml 93 points 1 year ago* (last edited 1 year ago) (3 children)

For context, LDAC is one of the few wireless audio codecs stamped Hi-Res by the Japan Audio Society and its encoder is open source since Android 8

LDAC is great, but simply stating that the encoder is "open source" is quite misleading (while technically correct). The codec is owned by Sony and heavily licensed. It's a savvy business move of Sony to make the encoder free to use though, so everyone else can support their standard while charging manufacturers who want to integrate it into their headphones.

If we want a really free and open high quality codec, we should push for opus support via bluetooth

[–] denissimo@feddit.de 25 points 1 year ago* (last edited 1 year ago) (1 children)

Yes.. I made double sure to mention 'encoder' between that.

Xiph really won the lossy codec scene with Opus and I transcoded all my junk to that format. Hitting (my personal) transparency on 128k vbr is flat out impressive and it warms my heart that corpos won't have a reason to collect taxes for basic things like audio codec. However it's a different story with bluetooth audio codec in which I hope will change.

[–] Deathcrow@lemmy.ml 8 points 1 year ago (2 children)

Xiph really won the lossy codec scene with Opus and I transcoded all my junk to that format. Hitting (my personal) transparency on 128k vbr is flat out impressive

Same here. I've left myself a bit of a safety margin at 144k vbr, but having my whole library at transparent quality AND portable size is very convenient.

Though, now that opus 1.4 is out I feel a bit of anxiety whether i should re-encode everything from flac->opus1.4

[–] madeindjs@lemmy.ml 2 points 1 year ago (2 children)

Which tool do you use to re-encode everything to opus ?

I tried with ffmpeg and it works but I had many issues with covers.

[–] Deathcrow@lemmy.ml 3 points 1 year ago* (last edited 1 year ago) (1 children)

same as @denissimo@feddit.de I use foobar2000 + wine. ffmpeg is alright, but fb2k is very convenient (especially for replaygain tagging). Afterwards I usually give the files a Picard treatment to get proper tags + covers.

[–] const_void@lemmy.ml 1 points 1 year ago (1 children)

I use foobar2000 + wine

Check out Strawberry it's essentially the Linux native version of foobar2000.

[–] Deathcrow@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

does it support foobar2000 plugins?

probably not, since those are windows dlls. So here's a short list of what I'd want from a fb2k replacement:

  • a UI plugin with the power and flexibility of Facets/Refacets
  • browse library by folder structure OR tags (most only do one or the other)
  • powerful query language to actually find what I'm looking for
  • binaural stereo for headphones plugin
  • convolver
  • convert to opus and replaygain scanning
  • DR Meter
  • handle my >100k tracks library without constantly crashing or being incredibly slow

Most alternatives I've tried can't even deliver on half of those.

[–] denissimo@feddit.de 3 points 1 year ago (1 children)

I use foobar2k via wine. Yes, you may stone me. Tip: You will save heaps of space by not embedding the cover on each file, just put a cover.jpg in the albums folder, virtually any player will pick it up.

[–] Deathcrow@lemmy.ml 4 points 1 year ago

Tip: You will save heaps of space by not embedding the cover on each file, just put a cover.jpg in the albums folder, virtually any player will pick it up.

Except when streaming the file or copying a random file to another location. embedded art is pretty convenient, 500x500 is plenty large enough and doesn't take a lot of space (~50KB)

[–] neo@lemmy.comfysnug.space 2 points 1 year ago

I also prefer 144k vbr, glad to see I'm not alone.

[–] WimpyWoodchuck@feddit.de 3 points 1 year ago* (last edited 1 year ago) (2 children)

If we want a really free and open high quality codec, we should push for opus support via bluetooth

Isn't the new default codec in BLE Audio LC3 free and open and high quality? And it's required for BLE Audio support, so there will be more and more devices that support it.

[–] Deathcrow@lemmy.ml 3 points 1 year ago* (last edited 1 year ago) (1 children)

LC3plus isn't really HiFi. It's designed to be low-complexity & low energy: https://hydrogenaud.io/index.php/topic,122575.0.html

[–] drwankingstein@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

LC3Plus is more then sufficient for transparent audio at the typical rates you will achieve with bluetooth, 160k is really low and you can normally sustain around 300-600kbps which is more then sufficient for LC3Plus. this test is IMO flawed for the intents and purposes for bluetooth audio

EDIT: LC3Plus caps at 512kbps, I cant remeber if that is before or after FEC (forwards error correction, not to be mistaken with PLC, Packet Loss concealment, FEC is kinda like raid, PLC hides dropped data)

LC3 is default and open, but not high quality LC3Plus is however it has a royalty (albiet very cheap)

[–] drwankingstein@lemmy.dbzer0.com 2 points 1 year ago* (last edited 1 year ago)

PS. Opus Bluetooth is already supported for pipewire->pipewire BT. AAC-LC which is commonly used is fully open source now so thats a good option

[–] Brisolo32@lemmy.eco.br 44 points 1 year ago (6 children)

Not anything to do with the LDAC codec but why does wireless headphones on windows suck. On linux (even a wm) I just turn on my headphones and it works, on windows every time I have to remove the device and add it back again

[–] skullgiver@popplesburger.hilciferous.nl 21 points 1 year ago* (last edited 10 months ago) (1 children)

[This comment has been deleted by an automated system]

[–] Holzkohlen@feddit.de 1 points 1 year ago (1 children)

What about wireless headphones that don't use bluetooth? I think I had some Logitech ones that did not use bluetooth. Are those a viable alternative to bluetooth on linux?

[–] skullgiver@popplesburger.hilciferous.nl 2 points 1 year ago* (last edited 10 months ago)

[This comment has been deleted by an automated system]

[–] kevincox@lemmy.ml 17 points 1 year ago

I was trying to connect headphones on my partners Windows machine and it was a disaster. Most of the time it failed to pair, the rest of the time it paired but didn't recognize as an audio device. We tried with 2 different devices and both worked perfectly on Linux and Android.

[–] forgotmylastusername@lemmy.ml 15 points 1 year ago

Bluetooth stacks are notorious for being gargantuan spaghetti code base. People have been trying to put out all those little fires because it's more possible on Linux than Windows.

[–] MasterWu@thelemmy.club 13 points 1 year ago (1 children)

It's the same for me. I thought it's due to the motherboard I'm using, windows being the problem never crossed my mind. The only thing that worked well and didn't have to be re-installed after a disconnect was the new xbox controller, so I feel like maybe there's something fishy going on here.

[–] ReakDuck@lemmy.ml 7 points 1 year ago* (last edited 1 year ago)

Its windows, at which point wasn't it fishy?

The only thing in my head is the time where people didn't know it had backdoors and telemetry. I think Windows XP actually didn't have backdoors but I just assume this rn.

[–] BackStabbath@lemm.ee 3 points 1 year ago

Huh, it works just fine for me. I have Samsung galaxy buds 2 pro. I don't use it with my laptop often, but it's seamless when I do.

[–] Dohnakun@lemmy.fmhy.ml 3 points 1 year ago

Soundstack has layers of legacy, old, and almost new.

[–] nottheengineer@feddit.de 19 points 1 year ago (3 children)

Sony did drop the ball with LDAC quite quickly, it could've been the new standard.

But with the release of the WH-1000XM3s (or was it the 4s?) they basically made most of the selling points incompatible with LDAC, so now almost no one uses it anymore.

[–] denissimo@feddit.de 4 points 1 year ago (3 children)

Yes, LDAC and multipoint do not mix hence I'm looking forward to LC3plus that replaces it. To be fair it's not a big issue to roll back to AAC or even SBC to use multipoint, because you probably aren't gonna notice a difference when you don't listen to high res apps like Tidal. It also should be known that a good codec does not fix mediocre drivers and/or chips. Regardless, Linux shines in letting you use a feature you did pony up for. :)

[–] nottheengineer@feddit.de 3 points 1 year ago

AAC hurts my ears. Not sure why since I can't hear a difference between it and LDAC without listening very carefully, but after half an hour or so I need to switch it to something else because it becomes more and more uncomfortable.

Switching between LDAC/multipoint mode means rebooting the headphones and connecting them again, so it's a massive hassle. That makes multipoint absolutely useless to me. I personally won't be buying sony headphones (or anything else that comes with an app) in the future because of that.

[–] oeightsix@lemmy.nz 2 points 1 year ago (1 children)

LDAC and Multipoint do in fact mix, just not on Sony products.

[–] denissimo@feddit.de 1 points 1 year ago (1 children)

I see, so Edifier and Soundcore shall do some homework as well: LDAC and multi point don't work there either.

[–] oeightsix@lemmy.nz 3 points 1 year ago

Have a look at Technics A800/AZ60/AZ60MK2/AZ80, all support simultaneous use of LDAC and multipoint. I recall something else working with both simultaneously too, possibly Huawei TWS.

They do step down a quality tier to do so, and low bitrste LDAC is generally considered poor, but it's otherwise all there and possible.

[–] rotopenguin@infosec.pub 2 points 1 year ago

Oh LDAC conflicts with mutli-connection? That's why I can't get it on my 1000xm4?? It's good to finally have an answer.

[–] vrighter@discuss.tchncs.de 1 points 1 year ago

it was the wh-1000xm3. I own a pair and can confirm most features don't work with ldac

[–] drwankingstein@lemmy.dbzer0.com 1 points 1 year ago* (last edited 1 year ago)

LDAC never could have been the standard because it's marketing crap, ctrl+f my name on this post and I have pointed out why multiple times

[–] drwankingstein@lemmy.dbzer0.com 10 points 1 year ago* (last edited 1 year ago)

Ldac is not actually that good, it's actually fairly rare that LDAC beats out something like SBC XQ let alone AAC

EDIT: for elaboration, LDAC works at 3 main data rate ranges 990/909, 660/606 and 330/303. Ldac is only high res at the 990 range, and even at that range, it still often looses when pipewire is compiled against libfdk. keep in mind that it's hard to get real numbers on LDAC because decoding is proprietary, meaning I had to disassemble headphones and connect those for verification, but typically AAC on supported headphones beat out 990kbps LDAC (which is hilarious btw considering LDAC can rarely actually work at 990kbps anyways) and both SBC-XQ and LC3Plus (both of which are usable with pipewire) regularly beat 660kbps LDAC.

TLDR LDAC is crap and SBC-XQ is typically more accurate and lower latency, and LC3Plus is even better then that. and if you have AAC compatible headphones assuming latency isnt a major issue (which you are using LDAC so it's not) just use AAC, both fidelity and latency is better

EDIT: I should mention, it is known that vendors will tune codecs, I believe Valdikks article in habr briefly goes over this. so it's very possible that tuning could mean that x codec, including LDAC could be the only good codec, however with how badly LDAC maintains 990kbps, I doubt it will make much of a difference

[–] nous@programming.dev 6 points 1 year ago (4 children)

Shame about headsets though - has anyone been able to get the mic to work without the audio quality dropping to trash? It is a shame to have to pick between good quality audio and the ability to use your mic.

[–] ramjambamalam@lemmy.ca 4 points 1 year ago

I don't think there are any hifi headset profiles, AFAIK.

[–] nefarious@kbin.social 2 points 1 year ago (1 children)

I think that might be the codecs' fault. At least for me, my headphones sound terrible in headset mode on all the devices I've tried, regardless of whether they're running Linux, MacOS, iOS, or Android.

[–] nottheengineer@feddit.de 3 points 1 year ago (1 children)

It's the profile, not the codec. The codec just defines how the audio is compressed, the profile defines all the parameters around that like duplex for microphones.

A2DP is the profile used for music by everything, HFP is the profile that is used for calling by most things nowadays.

[–] nefarious@kbin.social 3 points 1 year ago

TIL! Thanks for the clarification.

[–] denissimo@feddit.de 2 points 1 year ago* (last edited 1 year ago)

I feel you there. Personally I just use the earbuds as output and the integrated laptop mic as input. Bluetooth really just doesn't shine in that regard. However if you're on Desktop and want everything to happen on a headset, not earbuds x wired stand mic, you should look into things like HyperX Cloud 2 Wireless that employ a USB dongle instead.

[–] aksdb@feddit.de 1 points 1 year ago

I ended up buying JBL Quantum TWS in-ears because they also include a USB-C dongle that speaks their own protocol which allows lowlatency duplex audio. Perfect for audio calls and even gaming. Plus, I don't need to pair them with every device, I can just bring the dongle. (They can also be paired with Bluetooth and you can switch between dongle and BT whenever you want.)

[–] biscuitsofdeath@lemmy.ml 5 points 1 year ago (1 children)

I'm still wondering how to make my headphones work on pop os without crackling

[–] Incandemon@lemmy.ca 2 points 1 year ago

Ubuntu user, for me I've always had to disable/delete the voice dispatcher, that usually does it.

[–] sergih123@eslemmy.es 5 points 1 year ago (1 children)

I have the exact same headphones hahaha, this is perfect how are you liking them by the way? I had some connection problems on the first month but this 2nd month they've been behaving good

[–] denissimo@feddit.de 2 points 1 year ago

just yes. the sound and anc is day and night compared to my more compact redmi buds 3 pro. I used to diss TWS as a whole until I got these pairs. Had some issues after a firmware update but a factory reset did fix it for me. :)

[–] tables@kbin.social 2 points 1 year ago

I'd love to say the same but on my Lenovo laptop I get frequent disconnects with bluetooth earphones on Linux alone. Apparently it's a firmware problem with the AX200 board, but even after having updated the firmware and following all the online fixes I still have the problem.

My whole use case for my laptop is getting away from my desk when I want to read something and listen to music at the end of the day, but it's annoying to have to reconnect the earphones every 10 or so minutes. Like everything Linux, it's incredible as long as you have supported hardware and you don't bump into some weird edge case.