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

Show similarities of 2 audio files #18

Closed
lvaleriu opened this issue Jun 24, 2013 · 6 comments
Closed

Show similarities of 2 audio files #18

lvaleriu opened this issue Jun 24, 2013 · 6 comments
Assignees
Milestone

Comments

@lvaleriu
Copy link
Contributor

If we have 2 audio files A1 and A2 which could be drawed as following :
A1 : XXXXXYYYYZZZZZZZZZZZZZZ (where XXXXXXXXX, YYYYY, ZZZZZZZZZZZ indicate 3 audio regions of differents lengths)
A2 : SSSSSSSSSYYYYYTTTTTTTTT (where SSSSSSSSSS, YYYYY, TTTT indicate 3 audio regions of differents lengths)

then we could call a similarity fonction which will tell us that A1 and A2 have a "similar" region of length N seconds which starts at time t1 in A1 and t2 in A2.

For the moment I'm working myself on this, but feel free to help/contribute if you wish.

Thanks,
Valeriu

@AddictedCS
Copy link
Owner

This issue can be solved using dynamic programming techniques. They fit exactly for the problem described above.

@lvaleriu
Copy link
Contributor Author

I'm working on this right know. I'll probably need to modify some interface methods return values in order to have some localisation informations about the fingerprinting data.

@AddictedCS
Copy link
Owner

Please do it on a separate branch.

Also, could you please elaborate on what technique will you apply. I was previously thinking about applying dynamic programming techniques. The only thing is that sub-fingerprints will have to have a sequence number which is currently not the case as I am using parallel procedures and resulting list of sub-fingerprints is not ordered.

Details about a potential solution can be found here.

@lvaleriu
Copy link
Contributor Author

Ok, I'll do this on a separate branch. I've already modified the sub
fingerprint data in order to have a time position in the sound file ( I
think that I need more than simply one index ). As for the technique to get
2 sounds similarities i was thinking indeed on using the LCS technique as
described on the Wikipedia page.

Le jeudi 30 janvier 2014, Ciumac Sergiu notifications@github.com a écrit :

Please do it on a separate branch.

Also, could you please elaborate on what technique will you apply. I was
previously thinking about applying dynamic programming techniques. The only
thing is that sub-fingerprints will have to have a sequence number which is
currently not the case as I am using parallel procedures and resulting list
of sub-fingerprints is not ordered.

Details about a potential solution can be found herehttp://en.wikipedia.org/wiki/Longest_common_subsequence_problem
.

Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-33668312
.

@AddictedCS
Copy link
Owner

In case you need the right sequence number you will have to modify HashFingerprints method, from Parallel.For to a regular foreach in this class.

@AddictedCS AddictedCS self-assigned this Oct 28, 2014
@AddictedCS
Copy link
Owner

First draft available starting from v > 2.0.0

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