I want to try and make a flash application where flash can find the beat of a music file and display a marker at each time it finds a 'beat'

is this possible in Flash?