Discussion:
Identifying music tracks
(too old to reply)
Clark Smith
2022-04-26 00:42:28 UTC
Permalink
Not strictly Slackware-related, but maybe somebody in this forum
can come up with useful suggestions.

I have a large collection of music files ripped from CDs over the
years. Many of those files have highly non-descriptive names - and the
CDs that they came from I don't have any more.

Anybody know of software that can be used for identifying the
tracks in those files, and obtain the data associated with them? My guess
is that such a thing might not even exist outside some specialized AI
labs, but I may be wrong - hence my inquiry.
Eli the Bearded
2022-04-26 02:49:49 UTC
Permalink
Post by Clark Smith
I have a large collection of music files ripped from CDs over the
years. Many of those files have highly non-descriptive names - and the
CDs that they came from I don't have any more.
I believe the RIAA position (and copyright law) is if you don't own the
CD anymore, you don't own the digital backup anymore. It's legally the
same as having pirated them. I won't tell if you won't, though.
Post by Clark Smith
Anybody know of software that can be used for identifying the
tracks in those files, and obtain the data associated with them? My
guess is that such a thing might not even exist outside some
specialized AI labs, but I may be wrong - hence my inquiry.
It doesn't take AI, it's a straightforward fingerprinting process.
Trouble is, it requires access to a large collection of pre-identified
fingetprints.

I haven't done anything in this space in years, and I don't know what's
freely available.

https://musicbrainz.org/doc/Fingerprinting

That implies theirs might be usuable for free, but maybe not in
Slackware. It's often the case that documentation doesn't make it clear
if the software is free to use but only to create your own database
(good luck with that as an individudl) or if there's an existing
database of identified items also available for free.

Elijah
------
last used this sort of thing on Windows
#Paul
2022-04-26 13:22:31 UTC
Permalink
Post by Eli the Bearded
https://musicbrainz.org/doc/Fingerprinting
I use picard, which does lookups at musicbrainz. If you put
the relevant cd in your drive it will return (hopefully) the
album's track info which you can then copy over to any pre-ripped
files. I find this covers most of my collection, but there are
still some for which I had to enter info by hand (into picard &
then into the ripped track files). Sometimes the album info
is only a close match (maybe for a US disc not the UK release,
for example; or with mysteriously slightly different track lengths),
but unless you are very fussy you can just ignore that & use the
info anyway.


#Paul
Eli the Bearded
2022-04-26 19:40:13 UTC
Permalink
In alt.os.linux.slackware,
Post by Eli the Bearded
https://musicbrainz.org/doc/Fingerprinting
I use picard, which does lookups at musicbrainz. If you put the
relevant cd in your drive it will return (hopefully) the album's track
Identification with a CD present rarely uses fingerprinting. The disk
table of contents (TOC) is much more likely to be used. TOCs are about
100 bytes and can be optimized down to millisecond calculation and
lookup. Fingerprints are ~1 kilobyte and can take hundreds of
milliseconds.

Again, however, it relies on an existing store of pre-identified items.
There's a "freedb" database out there using TOC lookups. It's not great,
but better than nothing.

Elijah
------
tough luck if you want non-ascii music info from freedb
anonymous
2022-04-30 18:05:54 UTC
Permalink
On Tue, 26 Apr 2022 02:49:49 -0000 (UTC)
Post by Eli the Bearded
I believe the RIAA position (and copyright law) is if you don't own
the CD anymore, you don't own the digital backup anymore. It's
legally the same as having pirated them.
uuuhm acktttuallly; corporations are your god and you owe them your
arm, leg, and first born child. Their word is supreme and you must
obey. You vil own nothing and you vil be happy. Make sure to carry your
tracking device around with you 24/7 and don't leave your pod without
it. Report dissidents, wrongthinkers, and worst of all PIRATTTTESS!
Henrik Carlqvist
2022-04-26 05:55:17 UTC
Permalink
Post by Clark Smith
I have a large collection of music files ripped from CDs over the
years. Many of those files have highly non-descriptive names - and the
CDs that they came from I don't have any more.
You really wish that you had used some cddb stuff back then when you
ripped them.
Post by Clark Smith
Anybody know of software that can be used for identifying the
tracks in those files, and obtain the data associated with them? My
guess is that such a thing might not even exist outside some specialized
AI labs, but I may be wrong - hence my inquiry.
For Android, there are stuff like shazam. A quick google gave me this
video in french:



Another google pointed me to

https://github.com/marin-m/SongRec

I haven't tried this myself, good luck!

regards Henrik
Ralph Spitzner
2022-04-26 11:28:11 UTC
Permalink
Post by Henrik Carlqvist
https://github.com/marin-m/SongRec
I haven't tried this myself, good luck!
regards Henrik
wow this is really fun to play with :-)

set recording to loopback and clicked around youtube in the browserto test it
and hey, presto!

-rasp
Clark Smith
2022-05-07 18:35:10 UTC
Permalink
Post by Henrik Carlqvist
Post by Clark Smith
I have a large collection of music files ripped from CDs over the
years. Many of those files have highly non-descriptive names - and the
CDs that they came from I don't have any more.
You really wish that you had used some cddb stuff back then when you
ripped them.
Post by Clark Smith
Anybody know of software that can be used for identifying the
tracks in those files, and obtain the data associated with them? My
guess is that such a thing might not even exist outside some
specialized AI labs, but I may be wrong - hence my inquiry.
For Android, there are stuff like shazam. A quick google gave me this
http://youtu.be/IU-vWxMI7O0
Another google pointed me to
https://github.com/marin-m/SongRec
I haven't tried this myself, good luck!
regards Henrik
SongRec turned up in the Slackbuilds repository yesterday - which
is a very good thing, for I don't think I had the stamina and/or savvy to
get it to work under Slackware 15.0 on my own. Anyway, I used SongRec,
together with a Bash script named songrec-rename, that somebody developed
to extract the id3tag data from the output from SongRec, and in matter of
minutes hundreds of tracks that had no such information ended up renamed
to meaningful names, and with the appropriate id3tag. I.e. something that
I thought might require months of tedious work by hand, is already done.

Thanks for the SongRec recommendation - it really rocks.
Ralph Spitzner
2022-05-08 11:59:24 UTC
Permalink
Post by Clark Smith
Thanks for the SongRec recommendation - it really rocks.
had some rust related quirks to solve, but it's on sbo now :-)

It's really fun to watch it work during commercial breaks on tv amazing what songs they stuff into them....

-rasp

Chris Elvidge
2022-04-26 11:21:04 UTC
Permalink
Post by Clark Smith
Not strictly Slackware-related, but maybe somebody in this forum
can come up with useful suggestions.
I have a large collection of music files ripped from CDs over the
years. Many of those files have highly non-descriptive names - and the
CDs that they came from I don't have any more.
Anybody know of software that can be used for identifying the
tracks in those files, and obtain the data associated with them? My guess
is that such a thing might not even exist outside some specialized AI
labs, but I may be wrong - hence my inquiry.
There's a Shazam extention to Chrome.
--
Chris Elvidge
England
Clark Smith
2022-04-26 18:12:30 UTC
Permalink
Thanks everybody for your suggestions. Although things are not
quite as dire as I thought, they are not going to be a walk through the
park either.
Loading...