Forums: 

Hi!

 

I'm testing the musicid_stream and tried to search another song, besides the example of music:

Music: 01 - Back In Black.mp3

Size: 4,88 MB

Bit Rate: 160kbps

Samples Rate: 44100 Hz

Channels: 2

Duration: 04:02

Replace the path of ancient music for this and does not work! Does not work! What do I do?

anyone?

Hi Renan,A couple of ideas:1) GNSDK as such does not support compressed audio files such as MP3. Try decoding the file to WAV using ffmpeg or other tool first, then passing it to GNSDK.2) If you are trying to recognize a full-length MP3 file, you would be better off using musicid_file, and not musicid_stream. musicid_stream is for recognizing "noisy" recordings of audio, such as from a mobile device.Let us know if this helps!

Thank you for the reply!But, I can use the musicid_file to recognize an MP3/WAV file?I have the following case: the User will enter the file path and the program will recognize the MP3. In this case I will still need to convert the file to WAV? Even using the musicid_file?If need, I can do this conversion by GNSDK?

Hi,Even when using musicid_file, you would need to decode MP3 to WAV - GNSDK does not provide this utility. You can use something like FFMPEG which is really easy.

Ok.I will do the conversion, reuse the example of GNSDK and return to give feedback, thanks

Well, here we go:

  1. Gnsdk_musicidfile_query_fileinfo_create I'm using to create the query. But I did not understand what I have to pass as a parameter in ident_str which is a gnsdk_cstr_t. I'm passing a string test;
  2. Use the gnsdk_musicidfile_fileinfo_fingerprint to begin, write and finish;
  3. Use the gnsdk_musicidfile_fileinfo_get_response_gdo to return the file information, but it returns me the error:

code: 276955139;message: "No error".What am I doing wrong? 

Follows the code image,

hi Renan, It looks like you are missing a couple key API calls that perform the query:error = gnsdk_musicidfile_query_do_trackid(query_handle, GNSDK_MUSICIDFILE_QUERY_FLAG_DEFAULT);error = gnsdk_musicidfile_query_wait_for_complete(query_handle, GNSDK_MUSICIDFILE_TIMEOUT_INFINITE, &complete_error); Try inserting these before your call to get the response GDO. hope this helps!-john

Hi! Repeat the test. With the same music and the alterations suggested ... It worked!Now, how do I do to bring data from other music? Title, Track Number, Artist, Genre, Lyrics, Year, etc.I ran the query and so he returned me the name of the album. thanks,~Renan

Hi,I tried to use the example musicid_file_trackid, but it only returns me the album. I need the other metadata (title, track number, artist, genre, lyric, etc.). I can get this informations from music? thanks,-Renan

Good effort done here.

I think it's Principal of almost all School that is situated in USA. He was one of three visitor principals who addressed the CFA assembly on Sunday, 2015. Is discourse was exceedingly commended by other employees and understudies. I really need to think about superiorpapers review in light of the fact that it has a great deal of instructive themes has secured.

http://www.short4free.us/76702

http://www.abcagency.se/94637

http://999.sh/36417

http://ralive.de/48077

https://aaa.moda/82548

http://ralive.de/83544

https://e13.co/89030

http://awalsh.com/21171

https://aaa.moda/74360

http://rih.co/95173

http://valeriemace.co.uk/77316

http://yourls.site/52809

http://www.lookweb.it/72503

http://perkele.ovh/37273

http://ralive.de/90367

http://www.short4free.us/45666

http://goto.iamaws.com/35650

http://awalsh.com/57053

http://freest.at/48226

http://freest.at/96434

http://ralive.de/95755

http://tropaadet.dk/58625

http://www.abcagency.se/51361

http://freest.at/35924

http://freest.at/41794

http://go.fireontherim.com/30806

https://tinyurl.com/y83ae8mx

http://awalsh.com/18064

http://go.fireontherim.com/86759

http://tans.me/37626

http://www.short4free.us/58700

http://c.or.at/85322

https://aaa.moda/99503

http://www.short4free.us/44306

http://tans.me/63396

http://corta.co/95503

http://www.short4free.us/98555

https://lil.ink/74113

http://yourls.site/45438

http://tropaadet.dk/68136

https://arill.us/41458

http://tropaadet.dk/11004

http://awalsh.com/83524

http://freest.at/13548

http://freest.at/82842

http://corta.co/28729

http://valeriemace.co.uk/81562

http://www.short4free.us/27107

http://999.sh/47542

http://freest.at/56949

https://arill.us/27223

http://freest.at/75540

http://www.short4free.us/75808

http://tans.me/29434

http://www.vkvi.net/54662

https://aaa.moda/90493

https://arill.us/87765

http://freest.at/27755

http://webhop.se/31672

http://www.xn--277c.com/67074

http://ralive.de/15491

https://tinyurl.com/yde9dmqw

https://aaa.moda/82255

http://tans.me/75718

https://tinyurl.com/y888zkw3

http://go.fireontherim.com/19340

http://corta.co/24759

http://tropaadet.dk/73677

http://ralive.de/46817

http://www.short4free.us/44371

http://999.sh/47742

http://valeriemace.co.uk/68363

http://freest.at/35265

http://www.vkvi.net/63940

http://c.or.at/13569

http://perkele.ovh/12275

http://corta.co/21508

https://lil.ink/96704

http://freest.at/19760

https://aaa.moda/29486

http://www.abcagency.se/79739

https://lil.ink/14752

https://aaa.moda/59198

http://goto.iamaws.com/75012

http://wntdco.mx/54795

http://www.short4free.us/28551

http://www.short4free.us/51500

http://www.short4free.us/93045

http://tropaadet.dk/19751

http://tans.me/29129

http://awalsh.com/66471

http://freest.at/24657

http://awalsh.com/49247

http://www.short4free.us/96733

https://aaa.moda/59413

http://c.or.at/38935

http://yourls.site/60212

https://atho.me/3SQI

http://freest.at/36171

http://www.short4free.us/68771

http://www.short4free.us/26767

http://www.xn--277c.com/45467

https://aaa.moda/65675

http://www.vkvi.net/92849

http://valeriemace.co.uk/47015

http://rih.co/18430