Hacker News new | past | comments | ask | show | jobs | submit login

Years ago, I had most of my music ripped to AAC in iTunes, easily accessible, browsable, and shuffleable.

I now rip each of my CDs to a single FLAC and cue sheet (using XLD on Mac), on the theory that it's the most accurate way to archive a disc. However, I haven't found anything that offers the same accessibility to such a collection as iTunes did. I look through folders, and drag a few cue sheets at a time into Foobar 2000.

Any tips?




I found Swinsian[1] after I ditched iTunes, It works quite good and I’m very happy with it.

While I rip all tracks separately the FAQ states: „Swinsian also supports albums ripped as a single file together with a cue file, and FLAC, Ogg Vorbis and WavPack files with embedded cue information„.

There is a free trial, maybe this works for you.

[1] https://swinsian.com/


Very promising: supports macOS 10.8 and later, last updated in 2021, and it read my whole CD collection in just a couple of minutes. Thank you for the suggestion.


I wonder if it's still being developed. It's concerning that it's still an Intel-only build instead of a Universal build that can run natively on Apple Silicon hardware.


I recently contacted the developer about this. He replied that the only reason he hasn’t released a native Apple Silicon build is that he doesn’t have an Apple silicon Mac yet. I was tempted to fund raise and send him one!


My understanding is one can build a Universal app on either platform. Debugging the Apple Silicon side does require an Apple Silicon Mac but a well-developed app with a constrained feature set might "just work." They could make a Universal build and offer it as a beta to those who wish to try.

I don't know where they're located but a refurbished Mac mini from Apple is $589. AWS EC2 M1 Mac instances are ~$16/day ($0.65/hour, 24-hour minimum).

https://www.apple.com/shop/product/FGNR3LL/A/refurbished-mac...

https://aws.amazon.com/about-aws/whats-new/2022/07/general-a...

https://aws.amazon.com/ec2/dedicated-hosts/pricing/#On-Deman...


The developer is regularly putting out beta releases [1] for the 3.0; With the other comments I found, I assume it's a single person development - probably in spare time - and only using an Intel mac.

[1] https://www.swinsian.com/sparkle_beta/sparklecast.xml


I use Roon and love love love it

https://roonlabs.com/


There are dozens of us


"... on the theory that it's the most accurate way to archive a disc ..."

I won't argue with this but I think there needs to be a qualifier - the most accurate way to archive a disc while using compression ...

Given that an audio cd is encoded in WAV/PCM and we have a WAV file specification, I think ripping to a WAV file remains the gold standard:

"... digital audio extraction software can be used to read CD-DA audio data and store it in files. Common audio file formats for this purpose include WAV and AIFF, which simply preface the LPCM data with a short header ..." [1]

I like the idea that ripping to a WAV file means I never have to rip that disc again.

[1] https://en.wikipedia.org/wiki/Compact_Disc_Digital_Audio


FLAC is lossless, so there shouldn't be any difference in accuracy between the WAV and the FLAC. Of course, this is why people often choose FLAC for archival of ripped CDs.

Edit: I only mention this because I can't think why the extra "while using compression" qualifier is relevant except for information loss during compression.


FLAC is lossless. Any audio CD ripped and encoded to FLAC will be the exact same accuracy as WAV.


Does FLAC preserve the exact bytestream of the CD tracks? (As an analogy, PNG is "lossless," but it won't natively preserve the metadata of a raw digital camera image.) The audio will be preserved but there might be interesting details on the CD like easter eggs, copyright text, etc. and I'm not sure FLAC would capture those.


> Does FLAC preserve the exact bytestream of the CD tracks? (As an analogy, PNG is "lossless," but it won't natively preserve the metadata of a raw digital camera image.)

No, but if that is the definition being used, neither does WAV store that data either.

> The audio will be preserved but there might be interesting details on the CD like easter eggs, copyright text, etc. and I'm not sure FLAC would capture those.

Flac does allow for storing a lot of metadata in the flac file itself, including: CUE sheet, a picture (image file), and arbitrary tags (key value pairs). So much of those could be stored in the flac file, but obtaining them (Easter eggs and the like) is dependent upon the program ripping the CD, not the file format storing the result of the rip (flac does not do CD ripping itself).


> No, but if that is the definition being used, neither does WAV store that data either.

I meant versus a raw binary dump of the CD.


Audio CDs have less error correction than CD-ROMs. When you rip an audio CD, the drive is doing the error correction, and may give you PCM data different from what was written on it. Software like ExactAudioCopy tries the best it can, but that’s exactly that. Reading CD-ROM data is different. You can get an iso image of a data cd, but not an audio one.

This was done to both increase play time and discourage copying.

So since you’ll never get the raw redbook data off a cd, there is no reason to prefer WAV over FLAC for CD audio.


> This was done to both increase play time and discourage copying.

I doubt copying figured into the decision process (at least not a deliberate "anti-piracy" thought process).

The CD was released in 1982 [1]. This was only one year after IBM had released the original IBM PC, which came with one or two 320KB 5.25 inch floppy drives. The IBM PC did not have an official "hard drive" variant from IBM until the PC XT [3] released in 1983 (one year after the CD) and the hard drive option was a whole 10MB. When the target was replacement of the Vinyl LP player and compact cassette deck, and when their target customer base might have had 10-20MB of total storage in their personal computers (if they even had a personal computer), it would seem unbelievable to Sony and Phillips that those customers might even be capable of copying a disk holding somewhere upwards of 850-950MB of digital audio data.

And of course in the above I am overlooking that in order to "copy a CD" (as in make a digital copy) one first requires a CD drive that can interface with a PC in a digital way, and such drives did not appear until some years after the CD's release.

So with an amount of data on each disk that exceeds end users available storage by orders of magnitude, and no "CD drives interfaced digitally to computers" at the same time it seems unlikely that Sony or Phillips ever even considered that end users would be able to digitally copy CD disks.

[1] https://en.wikipedia.org/wiki/CD_audio

[2] https://en.wikipedia.org/wiki/IBM_Personal_Computer

[3] https://en.wikipedia.org/wiki/IBM_Personal_Computer_XT


I found that some Easter eggs weren't archived by EAC due to the fact they subly broke the CD spec. An example would be the first song of some versions of White Ladder by David Gray have a song "before" the first song. You press play then press "rewind" and the timer goes to -0:01 ... -3:45 or whatever and a song plays before the regular song at 0:00. I was tricky to hear it with a CD player because the rewind behavior was kind of undefined.

https://eeggs.com/items/8745.html


An audio CD can be done in a way that your wav will not represent the full data on the disc. If you want an exact copy, you need to do a disc image with preserve empty space or something similar. The CD can contain both audio tracks and data tracks. Some audio tracks can be hidden from normal play and a ripper might miss those too.

So if you really want to save an exact copy of the CD, you will have to find something better than wav to save the data. There are a few programs that can do an image to ISO format, that might be what you want. I guess it's a bit harder to find a player that can handle the audio tracks from an ISO though.

(Memory is a bit vague on formats and names but this is the general idea.)


,ISO can't store Audio CD at all.


I've done a little bit of testing with flac and wav files. It is actually possible to convert a flac file back into an identical, bit exact wav file.


You rip one CD to one unsplit FLAC file? I use EAC to rip each track to FLAC with a cue sheet for the CD and Plex to play it.

It seems like a lot of extra steps to play music but when my library started getting huge it was becoming a pain to organize and sync between devices.


You can use foobar to index your music files and assign a hotkey to run a search of your music library. I have found that foobar is faster at locating files than browsing my [excessively large] music collection.


Hard drive space is cheap. Do both.


hate to say, but this is my way... EAC to flac and leave it on a NAS, then XLD to apple lossless on my macbook and sync to my iPhone... working great for me so far


Why not use ALAC and individual tracks? It's lossless and compatible with iTunes/Music.app and iOS devices (as well as basically any hardware or software player worth using).

Using whole files rather than individual tracks is just asking for problems with mainstream players in my opinion.

However if you're serious about your music library I recommend Roon. Not cheap but a great solution.


I did the same - ripped all my albums to iTunes but after it slowly became more unpleasant to use for my use case I moved to Roon.

It’s expensive but Roon does this at a level far beyond iTunes: https://roonlabs.com/


cmus [1] is the closest I found to foobar2000. It is my main music player now, after years of disappointment. It supports FLAC and they claim they support CUE sheets, although I haven't tested your particular scenario. The way I use it is I have all my library in it at once, iTunes style. It has good search & playlists, but no drag&drop, since it's just command line...

[1] https://cmus.github.io/


Roon. The commentary is invaluable and links to related music.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: