Forums » Bugs & Problems Search

Subset of Billie Jean not recognized by Song.identify New Reply

Author Post
Posts: 2
Registered: Jul 29, 2011

Hi folks, I'm getting up to speed with Song.identify and am seeing similar results as many of the other threads here, in that nothing I submit other than the example in the API docs results in a match. Perhaps there's a problem with my code generator? I'm writing my own tools in C++, using the .cxx files in libcodegen.

Ultimately I want to capture music via the microphone. However, I'm starting with sections of mp3 captures from CD. My input to Codegen::Codegen() is a sample of a 44100 Hz, 16-bit stereo capture of Billie Jean from Thriller. The sample starts 10 seconds into the file and is 20 seconds long. I get the same results if I use codegen on the file convertered to 11025 Hz, 16-bit mono. The query completes without error, but no matches are found.

Here's the query I use for the (44100/16/stereo) mp3 file:

http://developer.echonest.com/api/v4/song/identify?api_key=MY_DEVELOPER_KEY&code=eJzll22OrScOhLeE-fZyMJj9L2Ee6CjnpqVwf7RGmmQSqZJ-wWBsV9knhBAsPCDGF6T-gppfoPIC8xe4PUCkvyCXF6i_YI4X7P6AWOQFYzwg8e_fw78wg-8cNXnBM0cx5he09YJnjkKYL_hNFvQF2V_Q7AUaXzDaC1Z5gAR5QfQXFHuB5Re4PCCm8QLNL1jtAf-j-f0HZvA3OartAT_LwlPr_olZ6P0Fbx5Ne0AM_oJkL7iZ-Dv4UQb_fTn6iZr9nzHlNzPDO0c_YMpvuPDMQmz-gv8eU94dp5YX_GSi-EkG33N7iy_4zdz-A60r8QWP_May-uL-dUb8sWyPspToD3NZMayx1zC1IEM0SZ7bdvfe64rLrsXdPJKsYK0l0zhmtu2a_nZ1rtT6Z7U013FXTduad3Vx_65paLqrKWjin5JMZuGXSo3DtZbcdE1leU5-vHiUkWtr4lv7Xb1u3NW6VFp3m-U-azdVtxVWShpXrl7Wnlike-8vnjZvY2cLWlrmuR2aft1WZpearaUaap85WY_X4m6-RyWtKeUe-LB2l7t6n3CdnFX7NkmrtrXWvBGKNUvPorNb9Dx_AZM-v3_7E2TJatqs5i3a8-A3wmptxMKfe4bW9ioxkrs-WNkj9NBmXlbJ_7W4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aKl2q1xkgc7Q-YkAe12e1KFV5V5m6LO9GA6_TKOCzuhNv_6xmCh12RwiKNsq1ZY7QgdjLqmsuuba_WKAmzCQnoaf5XDPdEpzgVqQHcUr4EjJthvlAUr6bfah3aB7yqQouoM9d74eanvCV5eSb8jyid22Pp8iK5-vGPYWZJsDU6v0-RqtmiTGjIb1s_8C1_fbtF-DGTstynGNO6N1z6HvHjsKv0-PCrFVIOemjeUEWhKOMRkBwrBe8TOju2Vyl1k5p0nNo5fla3M105DMn8W5KdB_1rwsVt9NiE1IRut59o6WQGHvYNzYOxLgSk7atgQ41ynNPyZG58HiVKq0DAtJdeJ7OAOPRXkbO40agyyK41dAPyiz3io5kug6_gYzxlW5D8yZcM2mDCPHcShkfN3RlqhfJQAMy2sjwmVUnmhRvi0OTmUvIRM4LmUNwoiIMs8r0u6UJ_fZ6OoWWztRC0UH8FtGOfF8Jx-lyZ_N16Mbvhi4bT6bP0pz-hBvJb98-AGUbKWM0igyHhIY4QJxhGb3iZfP4IzwP3S7U7hEHtIwhktEsB7zKjdBrYYAmwhntYQyQNU7jZiitFc7ZkY3WfM5-hn87ky2tOcauTZOhBrBrGh2DLFEUJGSPxYg9oEJAytGFqFDizBurXK_IP_WTu6MqudCWNfDDgaIiZF2sOC2lxrZ8pUiuCd7IkM-sRPyV2o5yUvW0WSZ3GgwlV_zI70hnvNd2frtI3fderSSyxYigMQWTbP_jZBRN7Z5MchLeRukECYE-PjMPniqOSJDDutPydkC0iTQNMHINokTjvkGsiRmVrloWshH7B24-vn37wH8AVQSoiA==

Here's the query I use with "GET" for the (11025/16/mono) wav file:

http://developer.echonest.com/api/v4/song/identify?api_key=MY_DEVELOPER_KEY&code=eJzlWFmOZLkNvJIWLtJxRJG6_xEcj9WuLCemNAYKDffAHx2FfBQlikuQ6lJKWeUCrd6g6w2k32CWG5jfIOYFapUbUL_BY_f3MPcN9rxAa_0Ga16gl3aB_78I0g1-XwR13-AaweZ8AfjkBj-JIPkNhG6g6wb36C-5gfc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T5dFYI3xDtIq-vDq09Wx0RH0G2qBDvRsD7Nr3gPNo2FbFP1UuDkv82t7FHdv5Wlgu8EhmH4Rt63o3XgKRWBIkPawbYm9n7EGj5Lz_D0d73dXfCwqBcMqiHKhLnUs-Ecw0KNYQS-ojE8oyAF6-_aCfwH-Hdax

Of course "MY_DEVELOPER_KEY" is replaced by my own API key.

Any thoughts or comments?

Posts: 8
Registered: Oct 15, 2008

Hi there,

The echoprint Codegen class only works with 11k mono input, so you're right in trying that as an input. In addition, when using song/identify you must pass a version parameter in with the query. &version=4.12 will work for your case (the version is the same as defined in Codegen.h)

I've had a look at your query string and it looks like it's only making a partial match in our database. We will see what we can do to make this match more robust. Can you let me know what process the audio took from the CD? What mp3 encoder, what tool did you use to decode to 11k wav, etc. In the meantime, you could try a longer input file (30 seconds) as well.

Posts: 2
Registered: Jul 29, 2011

Doh! I missed the version distinction in the docs. :-(

However, adding it makes no difference. I still get the typical "success" message with no matches. Same thing for a 30 second sample.

The track was ripped to mp3 with the following settings: Audiograbber 1.83.01, LAME dll 3.96, 192 Kbits/s, Stereo, High quality, 44100 Hz. It was then down-converted to 11025 Hz, 16-bit mono using Cool Edit Pro, which performs some filtering, I assume for anti-aliasing.

Posts: 1112
Registered: Sep 08, 2008

Hey everyone, just a reminder - Echoprint questions are best posted to the Echoprint google group. -- Paul

Reply to this Thread

You must log in to post a reply.