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

Estimate the time in sample where the matched song started playing #3

Open
felinejj opened this issue Feb 5, 2023 · 1 comment
Open

Comments

@felinejj
Copy link

felinejj commented Feb 5, 2023

Great little repository here 👍

I'm trying to use it to detect songs played during a radio broadcast. I'm able to find the matching result just fine but I was wondering if it would be possible to also detect where in the sample the matched song started playing. For example, in a 5 minute sample, an indexed song starts playing around the 1 minute mark, I would like to be able to detect both the matching song and the estimated time at which it started (~60 seconds).

I expanded the signature struct to also include a time property which contains the position in the indexed track when the spectral image was constructed, but I'm wondering if this would ultimately give me the results I want. Do you have any suggestions/advice on how I can extend the project to support this?

@gurushida
Copy link
Owner

I think it would work, yes. And if you are going to add time information in the signature to be able to know where in the sample a match occurred, I guess you would then get for free the time position of the content that was matched. You would be able to get results like "at 3:23 in the input, there is a match from position 0:32 in 'Stairway to heaven'".

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