Echonest returns empty when trying to identify a song

146 views
Skip to first unread message

Roy Ten Cate

unread,
Mar 18, 2014, 1:56:13 PM3/18/14
to echo...@googlegroups.com
Hi there,

I've been trying out Echoprint and I managed to create a fingerprint code based on a test MP3 file (Adele Someone Like You (assuming that he will recognize it)) and it returns an empty result.
Copy paste:

{"response": {"status": {"version": "4.2", "code": 0, "message": "Success"}, "songs": []}}

This was recorded from a speaker with a phone. I used the audio editor "Audacity" to convert and export my m4a file to a MP3 file.

However, when I download the actual song and use the first 20 seconds edited and exported with Audacity, it returns to me with the correct information. So based on this evidence, I'm going to assume that there is no problem with the actual query. I tried both POST with console and GET with my browser. I have tweaked with different parameters I found on the API documentation. This means I have also specified a version, many even.

Here is the URL:

http://developer.echonest.com/api/v4/song/identify?api_key=***&version=4.12&code=eJxdVMkVJSEITKlZ1XBUJP8Qpuq_mcv0AZC1AO3v-32iIPpAbIP4BYkEyQkyKC26LLpcHstJ6PxA5MNRhEThR-GTQBZJWhePm1YmlqKhKTWs-uGoCquakqCGBg2DhCV0o6QeWi-spjiaIcKcRxYygjRG2CTZAG6HOpa04rHh7B-sLji6kgR1ScIGfZMcurSTwBDEF0LJEBEsGUGJw6EAQoldxqaVCeIqCaUHGMF8HNyXQqJImsSWjtjksDN_hDo2k5MRTDrY72C_g5sZHM4YlCYNP5dFiROiHgQwRpFwPYNznuxjsunJTU9DxHREzEDEZKrJVHPRmakmW5iNsMX2F-Eu31ivfj5FbZ74yLuflqvF7u55bEXl6f62vgBa-0LnWfH5u8IRr0_sfDxj7SBXxVDbzj6A9OD_3r6qFVfG2ZZ9YsBftM4rciwp-8dR_39u9vesci-4oN85jDj9TNQas7ugbK8HJXBbQan3VE4sKuRoY8rA6XmP1VAqZXrHXb_LJlCyXhXW9Ktr4199xP7jpxzKoUjcYbvl7g4M6p07iHPW2I3i924LS9y6Bk7PWlByjnLSBXcuhqeifEApb8IcDghjQ2l7ddSb4G8P4MoC3-vrIYd8hdXNQqiG90DcC8dBENfYS30zESfa5lDiNvm5xVslL7QV7T4fS-tbNcfCyI5DCY7Nw28FpcY8NUa39rRi0RWHQwZ_kT3x-tEH6iYw2o-vg8crmPTJLLjmhFIfRg4l8px9kTSxdiqPww95bLyCUubzIpTCU1qGgcbB037gs5AO-MAx1wKoZ0GcRMp9BvrFj4P7JI7iUCxznYE7l1JrY16FRCMTetyU5P4BuOw7C_vHa1WgCr4h_w4uuLlNgVIMQ3n4y5zrgGeC8TaUwvcGJe4zOF7OkjqYvcVKH9kaWRlLwDE5CljOxq9B1A8myP8HflP0ww9M9A-M0Wkd

If anyone could help me resolve this issue... You will be a life saver and I'll be in your debt forever.

David DesRoches

unread,
Mar 18, 2014, 2:08:47 PM3/18/14
to echo...@googlegroups.com
Roy,

The Echoprint code you posted doesn't decode properly. "Inflated FP times (146) and codes (147) are different lengths." This might indicate a problem with your Codegen application. Can you post the code string for the downloaded file you made?

David



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



--
David DesRoches
Lead Audio Engineer
The Echo Nest

Roy Ten Cate

unread,
Mar 18, 2014, 3:31:52 PM3/18/14
to echo...@googlegroups.com
Hello David,

I believe you mean this one? I created a new code with the audio file's full length.


[
{"metadata":{"artist":"", "release":"", "title":"", "genre":"", "bitrate":128,"sample_rate":44100, "duration":38, "filename":"adele.mp3", "samples_decoded":857688, "given_duration":0, "start_offset":0, "version":3.15, "codegen_time":0.332000, "decode_time":0.206000}, "code_count":115, "code":"eJxdVMkVJSEITKlZ1XBUJP8Qpuq_mcv0AZC1AO3v-32iIPpAbIP4BYkEyQkyKC26LLpcHstJ6PxA5MNRhEThR-GTQBZJWhePm1YmlqKhKTWs-uGoCquakqCGBg2DhCV0o6QeWi-spjiaIcKcRxYygjRG2CTZAG6HOpa04rHh7B-sLji6kgR1ScIGfZMcurSTwBDEF0LJEBEsGUGJw6EAQoldxqaVCeIqCaUHGMF8HNyXQqJImsSWjtjksDN_hDo2k5MRTDrY72C_g5sZHM4YlCYNP5dFiROiHgQwRpFwPYNznuxjsunJTU9DxHREzEDEZKrJVHPRmakmW5iNsMX2F-Eu31ivfj5FbZ74yLuflqvF7u55bEXl6f62vgBa-0LnWfH5u8IRr0_sfDxj7SBXxVDbzj6A9OD_3r6qFVfG2ZZ9YsBftM4rciwp-8dR_39u9vesci-4oN85jDj9TNQas7ugbK8HJXBbQan3VE4sKuRoY8rA6XmP1VAqZXrHXb_LJlCyXhXW9Ktr4199xP7jpxzKoUjcYbvl7g4M6p07iHPW2I3i924LS9y6Bk7PWlByjnLSBXcuhqeifEApb8IcDghjQ2l7ddSb4G8P4MoC3-vrIYd8hdXNQqiG90DcC8dBENfYS30zESfa5lDiNvm5xVslL7QV7T4fS-tbNcfCyI5DCY7Nw28FpcY8NUa39rRi0RWHQwZ_kT3x-tEH6iYw2o-vg8crmPTJLLjmhFIfRg4l8px9kTSxdiqPww95bLyCUubzIpTCU1qGgcbB037gs5AO-MAx1wKoZ0GcRMp9BvrFj4P7JI7iUCxznYE7l1JrY16FRCMTetyU5P4BuOw7C_vHa1WgCr4h_w4uuLlNgVIMQ3n4y5zrgGeC8TaUwvcGJe4zOF7OkjqYvcVKH9kaWRlLwDE5CljOxq9B1A8myP8HflP0ww9M9A-M0Wkd", "tag":0}
]

Op dinsdag 18 maart 2014 18:56:13 UTC+1 schreef Roy Ten Cate:

David DesRoches

unread,
Mar 18, 2014, 4:03:36 PM3/18/14
to echo...@googlegroups.com
These code strings are ENMFP (see the version 3.15 in the JSON file), not Echoprint.

ENMFP is not going to work for matching over-the-air recordings.

To use Echoprint you need to build the Codegen for your platform. Please see http://echoprint.me for more information.

David


--
You received this message because you are subscribed to the Google Groups "echoprint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to echoprint+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Roy Ten Cate

unread,
Mar 18, 2014, 6:33:59 PM3/18/14
to echo...@googlegroups.com
Hello David,

Sorry my bad... I thought that didn't matter.

I managed to build the codegen of Echoprint for Windows. After another attempt with the same file I got the same empty result.

Here's my code string:

[
{"metadata":{"artist":"", "release":"", "title":"", "genre":"", "bitrate":128,"sample_rate":44100, "duration":38, "filename":"adele.mp3", "samples_decoded":428844, "given_duration":0, "start_offset":0, "version":4.12, "codegen_time":0.132000, "decode_time":0.182000}, "code_count":918, "code":"eJylmWuOZLcOg7dkWX4uR35o_0vIp77A7ckA5fqRICCSmupzbIkiqZ6UUl7pAV1eMOcDRPIL1F5Q_AVNXtD9Abz6BfUJ9gIt8oLRHlDSfEFc6zPEtT6D2wOqtBc0f0BKT8j7BbW8oI0XvFn35lXLL3gyR25-QO7jBeO-4MmrfOQBKv0Fuz3gC-uyP6Cm8YIsL5jrBdte4PcBKZ0XvDlZ5gviaB9B9Alv1k19wZN14v0BudsLLL_gzbqnmn1h3Rde9Rf8fOUjFHtAk_UClReU8oI6H_CNk_6Ccl-w8wO-cDIM7TPM8oIvSjhfYPKCNR6gUZLPELX-DE9O6nlBGfsFJ7_A1wNqXOsznPqAb8x5qtnbYVd_wDdeyQveWmftBVcf8MV_4-Cf4bYHqPoLfoj5Ed68iiH-DLc-4IvD7vOAL5k_rvUZbL9g-wNE5AVvXv2X9GX3BcceoHpfMOUFy15w5QHvzF_TfoGdF-z7gKTpBW2-IGLFZ5jjBVsf8J-87ItuPN3q7UdxvM8w_AUh4R-hlP2CiGCf4Y4HfNn4nrpRfT8gRcj6DFse8CUh-3hALucFvb9g-QvOeYCu-oJ3fyOTfIa2X_BMI1XsI6zMVtBmvnUdP_MmE2lzesGbR9c0zy3WukmRXIYQUZxnHjHJNUds0H72Pf36vjP0fN2yZcw1zuJpk-xfer0GHSrP5qfn3nlqmaXPnGsp2qjNaafgu6aDnby23c9t43-rgXqvps5K1bcPv9KuXm9mvgfCV9TEVMyOlEpyS-eqdZl3rhUOM1LniuKJ96908pU1PdfuZ1m7ay3LS_Ks83J6PtSc3OGQFHyClvZ--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JaY3t1pI-byVStErpo7e3jgOec75_80WQS7KKeMhzHxsDxyZAEMuItVxjwb5SJSzbOtzTJ64pTI7FKCUiEvCuTrzb9d2id98EMHJ8Hw9ZLmHFJDd04QQtRLQiE9ECsG1mDqNUUok8W2NVDfJ9tCTXNEHVyW5Zt3Ms0YgRqz1NPxlIhPCCKBd_AdbCpGBMSXl6sIW2BgS20Ajh8QoNOWch_WKg9Z6cFRTtCv4UnIbhRslhIDn4sbINcsP7sM-weN_ocTvof767BfI9OEbXN90MyKkVDG6QFLgTJbjvERjXNM0ellCwGBwx3sYnVD3oSWF9OCiKBqbI-QieVYUjjydZvx1we2ELJ5Pl1k7WxTwrB1_KYNDK1sRqYGoeCkqPo2RE6ZRWAqMoqMmlV0AL8ODdEC5Sv7OBHBjH4Nnt7EwTNjT-dHBXkK0YZuAp6X4IkCzmLJI5RBpP0ZHKeDA7FiQNDZfBBSxh8jCUgt1GNWf7R4KQArMmz3HDquGrhY-3aI7VStbYcNWWJT78FmDsUgyyZY5rbgNiyvTD5UgA6FxXnabFbWCxNy2EOQJiqQdqjiwwY2WFNaRziKEfW3qzzJaCkrIz2KLizjBLhubolOI0eZexPBNL9k3MTMbuCebRyewEYAXLEMtD_oBtWAaawo5jidI8Q7jM9HqUr9yFOKxibVfwGZn-euzPwA3O6Qop2ANi4RBkzhayXHBf26dSW-8hpgeaxpFRL65j0fRGrKWma6eM22zmBaWOL6Buw12E8q30DnCQAQajjY64uJQjxWUYmGx-Msh-MMkJB_rZ2fjdjJocLHhrQ7SGzLAuC52jBbJhewTzyD4FxbxDUO4PaGWFNwlocAa8az1kdE20kHNsZPgYPQjfhXCHhTbUROpDWZTAAQSYmB15DGlO72uGRkvewTSw2EuoWtFHmC7Hj8yy-rP19Ev6g9RiDEML9qvfn_-thEysyliNiStGMhQl0U4xLvKrgSgP4CZ7X9_9n_4B3pl--c=", "tag":0}
]

Just an idea, but could FFmpeg be to blame? I don't know this for sure, but I installed the 64 bit version (my OS) from http://ffmpeg.zeranoe.com/builds/ , and followed the instructions on http://www.wikihow.com/Install-FFmpeg-on-Windows

Op dinsdag 18 maart 2014 18:56:13 UTC+1 schreef Roy Ten Cate:
Hi there,

David DesRoches

unread,
Mar 19, 2014, 10:22:22 AM3/19/14
to echo...@googlegroups.com
Roy,

This Echoprint string doesn't have enough codes in common with any one track to match anything confidently.

David


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

Roy Ten Cate

unread,
Mar 19, 2014, 1:49:39 PM3/19/14
to echo...@googlegroups.com
David,

What do you suggest I should do then? Because I've followed the instructions for Echoprint on Windows. 
The audio file is a snippet from a downloaded live concert. The sound is clear but it's not the CD version, so I assume this is a perfect file for testing. I have also tried with other songs using a microphone.

Op dinsdag 18 maart 2014 18:56:13 UTC+1 schreef Roy Ten Cate:
Hi there,

David DesRoches

unread,
Mar 20, 2014, 11:05:11 AM3/20/14
to echo...@googlegroups.com
A concert recording will not match anything unless that same concert was published as a live album. Even then, an over-the-air recording will not be as accurate as file-based matching.

Echoprint does not identify songs from their melody and structure, it identifies recordings from their acoustic details. A different performance of the same song will usually not match the original.


--
You received this message because you are subscribed to the Google Groups "echoprint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to echoprint+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages