Is it possible to use flash to do sound recording?

i need to do a project where i need to record sound with flash, is this possible?
can flash detect audio frequency?

thanks in advance for anyone to answer me