Ruby wav-file frequency analyzer