We are to create an application that when you play a song can recognize if there is a SNARE DRUM SOUND that is present. I want to ask if it's possible to create a database that contains sound. What database are e gonna use? And if it is possible, how can it be done? Also another question how can that sound in a specific song be recognized? Anyway we are using C# as our Programming language.
Hope you can help me.. Our deadline is nearly coming..
Thanks a lot!! :)
2 replies to this topic
#1
Posted 02 July 2011 - 08:59 PM
|
|
|
#2
Posted 03 July 2011 - 01:59 AM
Is there really any advantage to storing the song in a database rather than a simple file in your case? You seem to be dealing with only one type of sound...
Anyway, to my knowledge all popular database engines support a binary or blob field. This is the ideal candidate to store the song's data in a database. You just load the song into memory and then insert it with the appropriate query into the DB.
If you'll be dealing with different song types (mp3, wma, flac, etc...) you should also save the file type so that you know how to convert the binary data into the correct music object later.
As for recognizing the sound in a specific song, that is quite a complicated operation. You can check a similar discussion regarding detection of a door slam sound here: c - Given an audio stream, find when a door slams (sound pressure level calculation?) - Stack Overflow. To sum it up, if you want to go that way you'd have to be quite good at signal processing, filtering and some other audio stuff which, with a deadline looming, might be quite difficult.
I've tried finding a C# library that could help you but haven't been successful.
Anyway, to my knowledge all popular database engines support a binary or blob field. This is the ideal candidate to store the song's data in a database. You just load the song into memory and then insert it with the appropriate query into the DB.
If you'll be dealing with different song types (mp3, wma, flac, etc...) you should also save the file type so that you know how to convert the binary data into the correct music object later.
As for recognizing the sound in a specific song, that is quite a complicated operation. You can check a similar discussion regarding detection of a door slam sound here: c - Given an audio stream, find when a door slams (sound pressure level calculation?) - Stack Overflow. To sum it up, if you want to go that way you'd have to be quite good at signal processing, filtering and some other audio stuff which, with a deadline looming, might be quite difficult.
I've tried finding a C# library that could help you but haven't been successful.
#3
Posted 03 July 2011 - 03:15 AM
Revolt.. Thanks. Well will be storing to the database the snare drum sound. Our title is AUTOMATIC SNARE DRUM SOUND DETECTOR in which whenever you play a song in the music player, it would identify if it had detected a snare drum sound and give emphasis on the part where the sound was detected..
Anyways thanks a lot.. Big help for me..
Anyways thanks a lot.. Big help for me..
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









