Acoustid without MusicBrainz

525 views
Skip to first unread message

Robert Kennedy Manoharan

unread,
Dec 2, 2013, 6:13:50 AM12/2/13
to acou...@googlegroups.com
Hi Lukas,

I want to implement a application where I can have my own song database on a server. I understand that chromaprint can be used to lookup a song from the acoustid open source server. But how do I create a new fingerprint for a song so that it can be looked up later on using chromaprint? 
I can read from MusicBrainz website that the code for creating fingerprint for a new song is closed source. Does that mean for chromaprint to work we need MusicBrainz?
I have done quite a bit of reading on Acoustid and Musicbrainz but couldn't fully understand why we need two servers - Acoustid and MusicBrainz.
Can you guide me on the relation between the 2 servers?

Thanks,
Robert

Robert Kennedy Manoharan

unread,
Dec 2, 2013, 7:30:20 AM12/2/13
to acou...@googlegroups.com
I just now used fpcalc and can now see how chromaprint works. Basically when fpcalc is used with "-raw" option it creates a list of numbers. So ideally we have to create fpcalc(or other app which uses chromaprint) to create a fingerprint(which is the list of numbers) for the whole file. This needs to be stored in our acoustid server. 
Then we can use fpcalc to take a fingerprint of a small interval of the song. This can be sent to the acoustid server and compared with it. The server has something called as score which specifies the level of match. 
My question is how much of the score is good enough? (The higher the more exact the match?? Or the lower the better?)
Also, from my understanding MusicBrainz is just used for metadata about a song from it's database - like album, artist etc. Am I right?

Lukáš Lalinský

unread,
Dec 3, 2013, 4:29:02 AM12/3/13
to Acoustid
Hi Robert,

Yes, you are right that MusicBrainz is used only for metadata. The AcoustID server is tightly integrated with MusicBrainz, but if you are implementing your own fingerprint server to work with Chromaprint fingerprints, you don't need to use MusicBrainz at all.

If you mean the scores that AcoustID returns, then yes, the higher the better. 1.0 is the exact match, anything above 0.7 is generally pretty good.

Lukas


--
You received this message because you are subscribed to the Google Groups "AcoustID" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acoustid+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Robert Kennedy Manoharan

unread,
Dec 4, 2013, 4:06:15 AM12/4/13
to acou...@googlegroups.com
Yes, I am implementing my own fingerprint server. I will download and install the code from https://bitbucket.org/acoustid/acoustid-server . I will also follow the instructions mentioned there. Upon installing, this server will work in the same way as http://api.acoustid.org .. am I right?

Thanks,
Robert

Robert Kennedy Manoharan

unread,
Dec 6, 2013, 7:16:39 AM12/6/13
to acou...@googlegroups.com
One more question.. I have made a submission to the acoustit server using --
 http://api.acoustid.org/v2/submit?client=8XaBELgH&user=YpJOzBmk&wait=5&duration=285&fingerprint=AQAAE1IkSYmUyMHH4zthHEf6ZdCRo-nxRgqmo_GRB7qYINw9NC-H4x8ACwSxYLjPlIISEgMDAQ
It gives this message -
{"status": "ok", "submissions": [{"status": "pending", "id": 70517594}]}

Then when i lookup after sometime using -
http://api.acoustid.org/v2/lookup?client=8XaBELgH&duration=285&fingerprint=AQAAE1IkSYmUyMHH4zthHEf6ZdCRo-nxRgqmo_GRB7qYINw9NC-H4x8ACwSxYLjPlIISEgMDAQ
It says -
{"status": "ok", "results": []}

I have tried it a couple of times but could not get it working.

Can someone help me?

Thanks,
Robert

Lukáš Lalinský

unread,
Dec 9, 2013, 7:35:23 AM12/9/13
to Acoustid
I'm sorry for not replying sooner. There are two problems:

1) The fingerprint couldn't be imported to the AcoustID database. There are some quality checks before importing a submitted fingerprint and this fingerprint does not have enough unique features to be successfully identified using the matching algorithm that AcoustID uses.

2) The submission status is incorrect. It reports that the submissions is still pending, but it was in fact rejected. I'll need to fix that.

Lukas

Robert Kennedy Manoharan

unread,
Dec 10, 2013, 12:21:44 AM12/10/13
to acou...@googlegroups.com

Hi Lukas,
What are the unique features does it require? I am just testing it now. Does it require album name, artist name etc?

Thanks,
Robert

Lukáš Lalinský

unread,
Dec 10, 2013, 4:39:04 AM12/10/13
to Acoustid
No, I meant audio features. I assume that the fingerprint is based on something less than 3 seconds of audio. That's not nearly enough for AcoustID.

Lukas

hedi.ha...@gmail.com

unread,
Mar 20, 2014, 12:56:13 PM3/20/14
to acou...@googlegroups.com
Hi.

I'm also getting the pending status on my local acoustid server {"status": "ok", "submissions": [{"status": "pending", "index": "0", "id": 26}]}
I'm sure that the problem is not coming from the min unique features as I changed the FINGERPRINT_MIN_UNIQUE_ITEMS constatnt in const.py
Can you tell me what other problem could generate this error ?

Thank a lot !!
Hedi

Lukáš Lalinský

unread,
Mar 20, 2014, 2:12:26 PM3/20/14
to Acoustid
Well, if you have a local AcoustID server, you are pretty much on your own, because there are many things that could be wrong and given that there are no instructions on how to configure the server, it's hard to tell your set up.

I'd start by enabling debug logs on the submission importer script, maybe you will see something where why the submission was rejected. Then I'd look at the submission table, what is the actual status there.

Lukas



For more options, visit https://groups.google.com/d/optout.

hedi.ha...@gmail.com

unread,
Mar 20, 2014, 5:45:42 PM3/20/14
to acou...@googlegroups.com
I figured out what is the problem. I haven't activted the script import_submissions.py :)
BTW, I would like to thank for the great great job you've done !!!

Hedi

manuel.s...@gmail.com

unread,
Sep 23, 2014, 11:00:18 AM9/23/14
to acou...@googlegroups.com
Hello,
 
I'm working on a project where i want to implement a lookup of songs by acoustic fingerprints. So i tried a cuple of songs as explaind on https://acoustid.org/webservice. But the lookup i always get is: {"status": "ok", "results": []}. Robert also had this problem before i think. What do I do wrong?
Maybe Robert can tell me the Problem, or someone other.
It would be very nice to get this running.
Sorry for my bad english...
 
Thanks a lot and best regards,
Manuel
 
 

Manuel Sanz

unread,
Sep 24, 2014, 2:44:22 AM9/24/14
to acou...@googlegroups.com

Hello again,

I figured out the problem now. Oh wonder, it was the IE. I have very long fingerprints and the IE isn't able to handle links with more than 2048 characters. At the moment I can't test it with other browsers, so I changed the request from GET to POST and now it's working very fine.

Great job done!!

Best regards,
Manuel

--
You received this message because you are subscribed to a topic in the Google Groups "AcoustID" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/acoustid/nhAadQmMFyM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to acoustid+u...@googlegroups.com.

Alex López

unread,
Jan 1, 2021, 10:32:32 AM1/1/21
to AcoustID
Hey Hedi!

Could you explain me how did you activate the script import_submission.py?

Thanks in advance,

Alex.

Reply all
Reply to author
Forward
0 new messages