-
Notifications
You must be signed in to change notification settings - Fork 525
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
Implement Chromaprint wrapper algorithm #517
Comments
If possible, preferred input should be mono ( |
I have the wrapper working in Standard mode. There is a demostration retrieving the Acousticid id from the audio in this gist. |
That looks good. Correct, for the streaming mode we want to analyze on segments, but it would be great to still have an option to analyze on a complete input (if the |
I guess the computed fingerprint should be concatenable, that is fingerprint(segment1+segment2) = fingerprint(segment1) + fingerprint(segment2). You can check if it is so in the gist. |
There is a problem with that because in order to call the chromaprint api you have to specify the number of samples that it has to analyze. Standard mode is implemented as you say but I don't think it is possible in Streaming mode unless you specify the duration previously as an optional parameter. |
any update on this? |
@marv1nnnnn It is implemented in #601. To be merged soon. |
Follow Chromaprint API.
Algorithm inputs:
vector<StereoSample> audio
Real sampleRate
Algorithm output:
std::string fingerprint
Related to #474
Convert all values in input from Real to 16-bit int format to be able to use Chromaprint API.
The text was updated successfully, but these errors were encountered: