Real-time is not necessarily required, however I am creating a game for my last project of the year, and I want to use the power of sound to create dynamic levels based solely on the music track that is playing. I want to create this game for PS Vita using playstation mobile and C #, but if I want, I can switch to C ++ and PSP.
I can use the WAV file and, hopefully, extract the amplitude of the waveform, and also calculate other characteristics, such as average frequency and approximate BPM, from this data to create a level.
I have no problem trying to work with this raw data, I just want to know how I can GET this information in the first place. If I can extract samples and determine the different characteristics of these samples, I can save them and work out changes in volume, pitch, and much more to create notes, etc.
I use C #, but if at all possible, I can either use p / invoke or switch my project to another device using C ++ instead of C #.
I'm a little panicky here because I'm really a little puzzled.
Thanks so much guys.
source share