You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* 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.
The text was updated successfully, but these errors were encountered:
/**
* 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.
The text was updated successfully, but these errors were encountered: