Flash Rhythm Game

Hi All,
I need a bit of help starting here as I cannot find much resources online so far (i think it's because i'm searching the wrong key terms). I need to know where i can learn to program a flash based rhythm game.

So far, I'm guessing that I need to first read a sound file as waves so i can then continue to detect peaks and troughs and continue to categorize those detections.