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

Create a sampled profile for raw songs with a quadtree/similar structure #3

Open
bekher opened this issue Nov 5, 2016 · 0 comments
Assignees

Comments

@bekher
Copy link
Owner

bekher commented Nov 5, 2016

Create a smaller "signature" or profile pic for a song by sampling, can be done in log(n) time:

algo: "Quadtree [the song image], average the four quadrants as you recurse back up to some predefined level. Treat the array of samples as a 2d array of pixels. You could also tune in how precise you want to be by tuning in how many levels of averaging you want to do. And you can just do math with the indices to partition"

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