Click here to Skip to main content
15,885,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to build an app to recognize a song based on a user input. I would like to know how I should go about building this app. I have an idea that I must have the songs already in a source such as a database or cloud to compare them but what and how should I make the comparison isn't plain. I have seen apps for iPhones and other smart phones have this feature and even some websites but I am at a loss to how they actually manage to do this. Any help is appreciated.
Posted

1 solution

What sort of user input? Do they whistle, hum or attempt to sing into a microphone? Do they type in part of the lyrics?

If you do not explain clearly no one will be able to help.
 
Share this answer
 
Comments
Member 7790032 6-Apr-11 9:55am    
I want a user to input an file ie mp3 , mp4 etc
Henry Minute 6-Apr-11 11:30am    
If what you want to do is get the information about the mp3 e.g. Artist, track length, cover art etc then that is 'relatively' easy. There are online databases with all that information although I do not know if they are free for sure but suspect that they are. If you have a CD Ripper program it will almost certainly have in it's settings somewhere a list of the databases to search. Have a look at the list and then research those sites.

If you want to actually compare the audio/music then IMO it is almost impossible. There have been lots of questions about it here and I have not seen one answered completely. I may have missed one that was though so you should search this forum using compare audio files as the search phrase and read through the threads.
Member 7790032 6-Apr-11 11:36am    
I would also want to know about the copy right information. If the track is named differently or miss spelled this would be hard to catch or match and thanks for the prompt response
Henry Minute 6-Apr-11 11:51am    
I cannot help with Copyright issues except to say that it is important and that it is good that you are considering this aspect.

As for the rest, if you download the Header and trailer information/specification from here --> http://www.wotsit.org/list.asp?page=15&fc=0&search=&al= you will see that 'good' mp3s have a trailer record of 128 bytes which contains that stuff and I don't think just renaming the file would cause that to change. (you can also get information, with a bit of explanation, here -->http://www.mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm.

Good luck.
Member 7790032 6-Apr-11 11:53am    
Thanks for the advise

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900