Android: Audio Matching (Audio Fingerprinting)
Asked Answered
P

1

6

I'm writing an android app that plays an audio file and records what the phone is outputting simultaneously. When the recording is done, it would compare the recording against the original audio played and return whether they match and to what certainty.

I searched a lot and I found some libraries for audio fingerprinting, but they're mostly for music identification purposes.

Is there any libraries out there that I could use for this purpose? Would it make sense to write a custom algorithm for this?

Perseid answered 6/12, 2016 at 7:16 Comment(0)
W
2

You could compare the sound waves sample to sample (as numbers), then compute maximal, minimal, average difference, etc..

Whimsicality answered 6/12, 2016 at 7:18 Comment(4)
Would it be okay if this is done on the user's phone or is it too much processing? If yes, would you recommend doing it on the main thread or separate thread?Perseid
It's not too much processing, phone should be ok with that. Separate thread is definitely better option.Whimsicality
Thank you! Could you recommend any source that is relevant to this?Perseid
Don't know exactly, but you can look at this #26237022Whimsicality

© 2022 - 2024 — McMap. All rights reserved.