• floquant@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    edit-2
    7 days 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.

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      7 days 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.

    • Ghoelian@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      7 days 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.

      • TheBrideWoreCrimson@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        7 days 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.

      • Scoopta@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        7 days 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)@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          7 days 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.

          • Scoopta@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            6 days ago

            Huh that’s actually pretty nifty, I personally use nemo but tbh I haven’t inserted a CD I don’t think ever to look at what it does

    • Yerbouti@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      7 days 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.

      • Scoopta@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        7 days 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

        • Yerbouti@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          7 days ago

          That’s right, it’s 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.