• @fouloleron
    link
    English
    88 hours ago

    Ignorant of the subject matter, but I ripped a bunch of CDs to FLAC some time ago. Would that not work for this purpose?

    • @[email protected]
      link
      fedilink
      English
      157 hours ago

      The Sound Guys do a good job of breaking down LDAC, however the main point of criticism I have about the article is that they say that LDAC isn’t great because most smartphones don’t auto-choose the highest 990 bitrate. That doesn’t seem like an LDAC problem, that seems like a phone problem. My phone is admittedly a Sony, but it always chooses the highest bitrate first. There’s even a setting to force it to use 990.

      The other criticism I have is that the sound guys kind of overlook the fact that, when your phone is in your pocket, it’s close enough to the headphones that you’ll almost always get the 990 bitrate. And the sound quality at 990 is fantastic. I cannot tell a difference between it and a wired connection for CD-quality FLACs. Even the 660 stepdown bitrate of the LDAC codec is really good.

    • @[email protected]
      link
      fedilink
      108 hours ago

      Ldac is a Bluetooth thingy, so my understanding is that flacs will be re-encoded on the fly when you play 'em on bt headphones with ldac.

    • u/lukmly013 💾 (lemmy.sdf.org)
      link
      fedilink
      English
      67 hours ago

      Bluetooth has fairly low bitrate which also helps save power. The throughput will also vary with signal quality. It needs to somehow adjust to worse conditions, otherwise it will just keep cutting out. Streaming CD quality FLAC could probably be done over Bluetooth 5 2M PHY, but 2Mbps is just the physical layer. There’s also some overhead. Perhaps just enough would be left, but the bitrate will also vary with the content. Not everything can be compressed much, while some audio can be compressed quite a bit.

      Probably would work, but the reliability is also a question.

      Anyway, just guessing. Perhaps the 3Mbps EDR could be used just fine.

      Oh, Bluetooth 3.0 + HS could do 24Mbps. Sort of. It used WiFi to do that.

    • @[email protected]
      link
      fedilink
      0
      edit-2
      5 hours ago

      Audio CDs contain 44.1kHz 16-bit PCM. If you got FLACs out you transcoded them, and transcoding from lossy to lossless is generally undesirable

      EDIT: I stand corrected, I forgot that PCM is not a codec.

      • @[email protected]
        link
        fedilink
        English
        86 hours ago

        I’m pretty sure if you rip CDs directly to FLAC, it’s a perfect copy assuming you’re using good software. PCM isn’t lossy or lossless because it’s not a compressed format, it’s an uncompressed bitstream. Think of it like the original data. If it was burned to a CD as digital MP3 data and then ripped that to FLAC, then yes you’d be going from lossy compressed to lossless, which would hide the fact that quality was lost when it went to MP3 in the first place.

        Just as an example, you can rip a CD directly to FLAC (you should also find and use the correct sample offset for your CD drive), rip the cue sheet for track alignment, then burn the FLAC back to a new CD using the cuesheet (and the correct write offset configuration), and you’ll get a CD with the exact bit for bit pattern of “pits” burned into the data layer.

        You can then rip both CDs to a raw uncompressed wav file (wav is basically just a container for PCM data) and then you’ll be able to MD5sum both wav files and see that they are identical.

        This is how I test my FLAC rips to make sure I’m preserving everything. This is also how CD checksum databases (like CDDB) work - people across the globe can rip to wav or flac and because it’s the same master of the CD, they’ll get identical checksums, and even after converting the PCM/wav into a flac you are still able to checksum and verify it’s identical bit for bit.

        • @[email protected]
          link
          fedilink
          15 hours ago

          I stand corrected, thanks for taking the time to write an informative comment. I haven’t ripped a CD in like 15 years :P

          • @[email protected]
            link
            fedilink
            English
            15 hours ago

            No problem! You can tell I went deep down the rabbithole a while back lol - I had to rip my dad’s CD collection and assure him that what came out of the toslink to his DAC was identical coming from a FLAC as would come from a CD player with optical out.

      • @[email protected]
        link
        fedilink
        6
        edit-2
        7 hours ago

        But CDs are lossless to start? Raw PCM is raw digital audio data, it’s completely uncompressed lossless audio so transcoding to flac is the most sensible thing to do. The flac will just be transcoded back to raw PCM for output anyway, as raw PCM is what audio hardware accepts for playback.

      • @[email protected]
        link
        fedilink
        26 hours ago

        PCM Wav is uncompressed (best quality) and FLAC is lossless compression. FLAC will keep the audio quality while significantly reducing size of the file so ripping a CD to FLAC is a good idea.

        • @[email protected]
          link
          fedilink
          14 hours ago

          Fun fact, wav != PCM. Wav is a Microsoft developed format that while most often contains PCM data can actually contain a wide variety of different audio formats including MP3 data. Yes, while rare, you can put MP3 audio into the wav container and have a .wav that is compressed. CDs also do not use the wav container for their audio and there are other file formats in addition to wav which can contain PCM including aiff and au

          • @[email protected]
            link
            fedilink
            136 minutes ago

            That’s right, is actually LPCM that isn’t compressed. I don’t think I’ve ever seen people using wav as a container for compressed audio but it’s indeed possible, thanks for the clarification.

      • Ghoelian
        link
        fedilink
        37 hours ago

        I have had a few (I think only 2) CDs that actually included a few different formats in the filesystem, otoh ogg, flac, MP3, and wav. That was a nice surprise when I was preparing to rip them.

        • @[email protected]
          link
          fedilink
          14 hours ago

          They were probably a variant of the unofficial format known as an MP3 CD. Basically CDs which contain computer audio files. CD Audio discs as specified by the redbook standard do not even have a filesystem and don’t contain files.

          • u/lukmly013 💾 (lemmy.sdf.org)
            link
            fedilink
            English
            1
            edit-2
            4 minutes ago

            I am pretty sure they experienced some KDE Ingenuity.

            Example:

            You can see they can’t be real files due to their total size:

            Unfortunately, at least on Arch it seems a bit broken. The CD keeps spinning at low speed with audible random searches and the file transfer speed is abysmal. Copying out one 3.5MiB MP3 took it almost 2 minutes.

        • @[email protected]
          link
          fedilink
          15 hours ago

          Konqueror, IIRC, will show you “virtual” MP3s & FLACs, complete with file sizes and all, when you put in an audio CD. You can copy these files to your hard disk. They are created on the fly, though.