title: how to get audio frequency data from a wave file?
body: <p>I want to build a speech recognition engine in ruby. I know i'll never get there, doing it just for fun. I need to get data for the frequencies of the sound stored in a wav file to compare with data i already have of different sounds that i want to recognize. 
  I will write the code in ruby but i dont think there are any libraries for this written in ruby, they would be too slow if there were any anyway.
  The good thing about ruby is I'll be able to use libraries for .net via IronRuby or Java via Jruby.
  How can i get the frequency data?</p>