15 points

Many lossless codecs are lossy codecs + residual encoders. For example FLAC has predictor(lossy codec) + residual.

permalink
report
reply
24 points

Could also stand for Lazy DumbAss Cat if the pic is any relation

permalink
report
reply
-52 points

Compression is lossy.

permalink
report
reply
46 points

So when you zip some files and then unzip them, some of the bytes are missing? Really?!

permalink
report
parent
reply
9 points

It’s only the zeros, so you’re not really missing anything.

permalink
report
parent
reply
-42 points

If nothing is lost, what did you compress away? Decompression is magic, I ain’t gotta explain shit

permalink
report
parent
reply
22 points

If you want the magic explained, here’s a start: https://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Welch

permalink
report
parent
reply
17 points
*

you compressed away redundant data, 1111111000000000011111111 -> (1x7)(0x10)(1x8)

permalink
report
parent
reply
17 points

Some compression is lossy

permalink
report
parent
reply
205 points

It’s loss-less, not loss-none

permalink
report
reply
41 points

Dang it, was going to make this same joke lol

permalink
report
parent
reply
8 points

It’s a good joke

permalink
report
parent
reply
162 points

We really need someone other than Qualcomm & Apple to come up with lossless Bluetooth audio codecs.

TBF the whole Bluetooth audio situation is a complete mess

permalink
report
reply
68 points

Opus! It’s a merge of a codec designed for speech (from Skype!) with one designed for high quality audio by Xiph (same people who made OGG/Vorbis).

Although it needs some more work on latency, it prefers to work on bigger frames but default than Bluetooth packets likes, but I’ve seen there’s work on standardizing a version that fits Bluetooth. Google even has it implemented now on Pixel devices.

Fully free codec!

permalink
report
parent
reply
12 points

opus isn’t lossless

permalink
report
parent
reply
20 points
*

Nobody needs lossless over Bluetooth

Edit: plenty of downvotes by people who have never listened to ABX tests with high quality lossy compare versus lossless

At high bitrate lossy you literally can’t distinguish it. There’s math to prove it;

https://en.wikipedia.org/wiki/Nyquist–Shannon_sampling_theorem

At 44 kHz 16 bit with over 192 Kbps with good encoders your ear literally can’t physically discern the difference

permalink
report
parent
reply
8 points

Ah yes, good old TS3 and Mumble times.

permalink
report
parent
reply
6 points

discord also uses opus

permalink
report
parent
reply
2 points

is opus the one that allows high quality mic and headphone at the same time over Bluetooth?

permalink
report
parent
reply
6 points

That’s more than a codec question, that’s a Bluetooth audio profile question. Bluetooth LE Audio should support higher quality (including with Opus)

permalink
report
parent
reply
39 points

Bluetooth as a whole is kind of a mess if we’re being honest.

permalink
report
parent
reply
22 points

That’s what happens when you have a 25 year old protocol and try to maintain backwards compatibility through all of the versions.

permalink
report
parent
reply
6 points
*

The world of audio would be more of a mess if Bluetooth was developed scrapped and replaced according to what seems to be your recommendations. I’m glad they did it the way they did.

It’s not time for change. Just alternatives for snobs.

permalink
report
parent
reply
12 points

Can we name a more poorly implemented protocol? Probably. One used as much as Bluetooth? Probably not.

permalink
report
parent
reply
12 points

NAT

permalink
report
parent
reply
12 points

SMTP?

permalink
report
parent
reply
7 points

Comes from being a compromise “standard”. The name says it all, being named after a king that brought multiple tribes together.

permalink
report
parent
reply
25 points

Isn’t LDAC made by sony?

permalink
report
parent
reply
3 points

Proprietary by Sony, but they did open source it

permalink
report
parent
reply
4 points

Don’t they make the encoder free, but license the decoder?

permalink
report
parent
reply
14 points

Correct. Qualcomm makes aptX

permalink
report
parent
reply
23 points

Wait, did Apple implement its own codec? I thought even the Airpods Max used AAC, which is lossy.

As for Qualcomm, only aptX Lossless is lossless and I’m not aware of many products supporting it (most supports aptX HD at most)

permalink
report
parent
reply
27 points

Yeah, the problem (imo) isn’t lossy v lossless. It’s that the supported codecs are part of the Bluetooth standard and they were developed in like the 90s.

There are far better codecs out there and we can’t use them without incompatible extensions on Bluetooth.

permalink
report
parent
reply
16 points

There’s a push for Opus now, it’s the perfect codec for Bluetooth because it’s a singular codec that fits the whole spectrum from low bandwidth speech to high quality audio, and it’s fully free

permalink
report
parent
reply
8 points

The newer H2 SoC AirPods support ALAC, Apple’s lossless codec; however, their phones don’t yet support it, so the only way to use it is with the Vision Pro.

permalink
report
parent
reply
5 points

AFAIK, ALAC will not be actually lossless over bluetooth for the sames reason LDAC can’t be lossless; there simply isn’t enough bandwidth. That doesn’t mean that it won’t sound great or perhaps work better than LDAC.

permalink
report
parent
reply
13 points

Sony created LDAC

permalink
report
parent
reply
1 point

On Windows, Alternative ADP2 driver provides LDAC support. It’s a few bucks, but also the only option I know of.

permalink
report
parent
reply
3 points

Just use uncompressed 16bit/48khz! We’re not bats that would need 96khz audio!

permalink
report
parent
reply
0 points

Well bluetooth doesn’t carry enough bitrate to accomplish this. Besides. Apple won’t and doesn’t need to because their AAC encoder is superior. There is no other bluetooth codec that comes even close. Every codec that claims to be the best one yet is more marketing than anything.

Vendors reframed the narrative for SBC to be dog shit so they can push their own as cutting edge new tech. In reality SBC isn’t that bad. The vendor codecs aren’t that good. And Apple has some kind of secret sauce in their AAC encoder that results in really good quality reproduction of audio.

As far as I’ve seen most of the gimmicky codecs are spins of existing old technology. AAC itself is old too but at least one vendor Apple has focused on making their implementation good. We don’t need another standard+1. We just need a common standard done well. If only Apple would open theirs.

permalink
report
parent
reply
5 points

Except Opus. Beats it at most bitrates

permalink
report
parent
reply
4 points

BT 5 has max bandwidth of 2Mbps, which would in theory be enough for “CD quality”, i.e 44.1khz/16 bit raw uncompressed audio, as that’s around 1.4Mbps. In real life conditions it isn’t. AFAIK aptX lossless gets close by doing some compression.

But if you go full audiophile levels and start demanding lossless 192khz 24 bit audio, that’s 10Mbps and not even remotely possible over BT no matter what you’d try.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 6.9K

    Monthly active users

  • 1.2K

    Posts

  • 41K

    Comments