this post was submitted on 21 Jun 2023
29 points (100.0% liked)

Free and Open Source Software

18255 readers
6 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

If someone doesn't know what Shazam is, it listens to music playing on the radio or TV and identifies it and helps you find the name/artist.

I was wondering if there open source equivalent, I tried searching google and AlternativeTo but only found Linux desktop apps.

top 13 comments
sorted by: hot top controversial new old
[–] SoftestVoid 9 points 2 years ago (1 children)

From my understanding the "what song is playing" apps/services essentially have a big database of music stored in a special hash function. When you record the music it converts it into a hash, then compares it to the database.

Could these databases and algorithms be open source? Absolutely. Would it be really hard or expensive to maintain the database distribution or hosting? Definitely. Would music rights holders allow an open source project to have access to their music libraries to put into the database? Probably not... I would think that the services that do this have big agreements with rights holders that open source would not be able to get.

[–] nekomusumeninaritai@lemmy.blahaj.zone 3 points 2 years ago* (last edited 2 years ago) (1 children)

Uninformed copyright law speculationI think that's true about being expensive/difficult to maintain, but while IANAL, a hash of music is not the music itself, something that can be converted to music, or in any way protected by copyright AFAIK.
Edit: fixed bad spoiler/cw syntax Edit 2: fixed unintentional passive aggression

[–] SoftestVoid 2 points 2 years ago (1 children)

I'd agree about the database probably not being copyright, but I was more talking about getting access to the music to convert in the first place.

part where I spend other people's time proposing a feature I'm not willing to spend time to implementPerhaps there could be an optional setting that lets you contribute to a crowdsource thing when people rip their cds with open source software and get the metadata from MusicBrainz (those that still buy cds)? Seems pretty do-able actually.

part with unfounded patent speculationMaybe there is a patent or something keeping that feature from being added to the databases and programs?

[–] XpeeN@sopuli.xyz 8 points 2 years ago (1 children)

it's a mod, not 100% Foss, but try ambient music mod.

That looks really interesting, thank you!

[–] zekiz@kbin.social 6 points 2 years ago
[–] fr0g@kbin.social 4 points 2 years ago

Even most of the Linux apps use Shazam or similar for the backend. Most everything you will find in that area has some proprietary components and I can imagine that being hard to avoid for something that has to interface with licensed content (the music)

[–] kima09@kbin.social 2 points 2 years ago (2 children)

Just use your Google assistant, it's pretty accurate and it even recognize humming. The keyword is "What's this song or What song is this/Recognize this song/etc"

[–] Gryzor@lemmyfly.org 13 points 2 years ago

Google Assistant doesn't meet the OP's requirements: it's not open source.

[–] Bandicoot_Academic@lemmy.one 8 points 2 years ago

While i find Google Assistant better at finding music, it isn't open source and thus not what OP is looking for.

[–] roofuskit@kbin.social 1 points 2 years ago

Could the Musicbrainz database be leveraged for this?

[–] lea@feddit.de 1 points 2 years ago

The closest I know is AcoustID but it's only worked with full song files when I tried it via the API and I'm not sure how well it would work with a bad microphone recording.

load more comments
view more: next ›