Ask HN: Best way to store, index and categorize audio recordings
As my kids grow up, I realise I've got a bunch of sound recordings taken on my phone, usually of them saying or doing something hilarious. Right now, it's just a big directory where each filename is a timestamp, but I figure there must be a better way to make these more accessible & searchable.
A bit like lightroom/darktable helps organise and add metadata to photos, is there an equivalent for sound files?
(I'm almost tempted to crack out some sort of machine learning thing to transcribe and then tag each file, but maybe this already exists?)
7 comments
[ 3.9 ms ] story [ 48.2 ms ] threadThe only platform I have used to organize and share music is Ampache [1] but that is likely overkill for your intended purpose. I don't know what the best tools would be to add the metadata to MP3 files however.
[1] - https://github.com/ampache/ampache/wiki
https://flathub.org/apps/org.gnome.EasyTAG
On top of that, standard data hoarding management applies:
- Take backups. - Try to record in lossless forms if you can - better flexibility later if you don't throw data away.
maybe:
birthdays/joey/2020-01-28-cutting-cake.mp3
holidays/disneyland/2022-02-13-roller-coaster.mp3
...
If that file is empty in 6 months then you’ve just saved yourself some time and effort and can just delete the files.
After having the text auto-transcribed into a simple txt file, I would check the quality and do some manual corrections, where required.
Then import the transcribed text into the audio file metadata (e.g. Lyrics, Description or Comment, depending on your metadata format).
The relevant fields I would look at are:
Depending on the length of the recording you could also add chapters. Here is a nice audio book guide with some further ideas: https://github.com/seanap/Plex-Audiobook-Guide?tab=readme-ov...Now you should have access to the metadata via audio player - maybe even a search would be supported.
[1]: https://deepgram.com/learn/guide-deepspeech-speech-to-text
You might find ExifTool useful.
It's pure commandline (with a few third party GUI's IIRC) multiplatform and purpose built to display, edit, add media tags to all sorts of AV files.
https://exiftool.org/