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

DB Schema - API Requests #20

Closed
wbashir opened this issue Jan 17, 2014 · 3 comments
Closed

DB Schema - API Requests #20

wbashir opened this issue Jan 17, 2014 · 3 comments

Comments

@wbashir
Copy link

wbashir commented Jan 17, 2014

Does this library assume the same PostgreSQL schema as the one in acoustid server. I simply want to store the fingerprint in a similar schema but not identical (added tables, columns ...). Is this function [1] for example rely on the api response returned from that server. I wanted to do a match and just return meta data about the match?

[1] https://github.com/sampsyo/pyacoustid/blob/master/acoustid.py#L208

@sampsyo
Copy link
Member

sampsyo commented Jan 17, 2014

No, there's no relationship to the underlying Postgres schema—at least insofar as the API is unrelated to the schema. We only talk to the API, which abstracts the DB schema.

Can you elaborate on what you want to do that the library doesn't support? That function you pointed at returns exactly what the API returns.

@wbashir
Copy link
Author

wbashir commented Jan 18, 2014

I am trying to store the fingerprints of several hundred audio files and tag them appropriately. Each audio file tagged by author is the same content but different in speed, volume and other attributes. I am trying to create a machine learner from each audio file so that i can match against it and get statistics about how close the match is. I was trying to see if this library does anything with machine learning or is if its directly done on the acoustid server?

@sampsyo
Copy link
Member

sampsyo commented Jan 18, 2014

No, no matching is performed in the library. We send the fingerprints off to the server, which gets similar songs and reports them. I think the server reports a similarity score, though, so you could consider using that.

See also #18.

@sampsyo sampsyo closed this as completed Jan 18, 2014
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

2 participants