onionparadise Newbie

Joined: 14 Feb 2008 Posts: 16
|
Posted: Thu Dec 11, 2008 3:09 pm Post subject: getting sound frequency, amplitude from SpectrAnalyzer |
|
|
So I'm writing a program that needs to be able to get a list of the frequencies and their respective amplitudes for every sound byte played, so it can convert the frequencies to musical notes and ascertain the tonality of the sound byte, and then over the duration of the entire song determine the variability in amplitudes and breadth of melodic movement. I have code that translates frequency to approximate musical note. Am I correct in thinking that by using the SpectrAnalyzer I will be able to get this data? And would it be better to use asFrequencies(...) for my purposes or asBands(...)? Additionally, if you could give a simple description of the output of each function (i.e. [(frq1,amp),(frq2,amp),...]) that would be very very helpful.
Thanks! |
|