I hope this is okay for me to post in here. It’s about music :)

So I’m currently digitizing my records. This is easy to do for CDs. I got myself a dvd drive and just rip them to flac files on my computer. Tagging is easy too pulling the data from music brainz. Vinyl records are a little bit of a different story though because for each side of a record I get one long audio file. Splitting up the files to individual tracks is a very tedious process. I’m currently doing that manually with audacity and then exporting them to flac files.

Does anyone have an idea to do that more easily? Maybe even automate parts of the process. After all music brainz has all the track lenghts available. So in theory it should be possible to automate this to some degree.

Any ideas are welcome. Thank you.

  • Illecors@lemmy.cafe
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Technically - doable.

    As someone who’s never had a vinyl - this would be my angle of attack:

    • Slice the first 10 (or however many are necessary) seconds of the track
    • Hit some Shazam or Google API with the slice
    • Get the title
    • Hit Music Brainz API (or some other) to get the legth of the track
    • Cut the single track into title+remainder
    • Rinse and repeat.

    ffmpeg could deal with cutting the file

    cUrl can hit the APIs

    some shell script (bash would be my choice) would tie it all together

    • Profilename1@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      The problem with this is that you would have to be dead on with the spin speed on record player. It should be 33-1/3, but I’ve had ones I’ve had to adjust for being too fast or slow, and it can be difficult to tell the difference between slightly fast or short. This usually isn’t a huge problem if the difference is too small to be notable, but the few seconds added or removed per side might be enough to throw it off.

      That said, you’re going to want the speed to be right, anyway, and the few seconds of silence between tracks ought to give you some leeway. I’d say it would work, but speed is something to keep in mind.