aleksey-saenko / MusicRecognizer

An Android application for music recognition that uses AudD and ACRCloud services to perform song identification.
GNU General Public License v3.0
514 stars 14 forks source link

[Feature request] Recognition from file #61

Closed NikMAX2077 closed 5 months ago

NikMAX2077 commented 5 months ago

It would be useful to be able to recognize music from a file, not only from device's microphone

aleksey-saenko commented 5 months ago

Hello. Your suggestion is valid, though I suspect it may not see frequent use in practice. It seems to me that having a song file without a name on one's phone is quite uncommon. Now, in such cases, you can simply play the audio in the background through the device's speaker and initiate the recognition. Please share more about your specific use case, maybe I don't see all usage scenarios. Implementing this feature effectively won't be a straightforward task. Remote recognition services impose certain restrictions on the duration (10÷30 secs) and size of the transmitted samples. As a result, we'd need to add a splitter (and probably a converter) for a large number of audio formats to the app. This would complicate maintenance and could significantly increase the size of the APK.