Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why 11025Khz?? #7

Open
Slim1991 opened this issue Jul 13, 2015 · 0 comments
Open

Why 11025Khz?? #7

Slim1991 opened this issue Jul 13, 2015 · 0 comments

Comments

@Slim1991
Copy link

/**
* Invoke the echoprint native library and generate the fingerprint code.

* Since echoprint requires the audio data to be an array of floats in the

* range [-1, 1] this method will normalize the data array transforming the

* 16 bit signed shorts into floats.
*
* @param data PCM encoded data as shorts
* @param numSamples number of PCM samples at 11025 KHz
* @return The generated fingerprint as a compressed - base64 string.
*/
public String generate(short data[], int numSamples){..}

I read your comment then I know you record audio at 11025 Khz. I've changed to 44100 Khz to see what happens then I know It doesn't recognize music anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant