Generating sounds

i need to generate sounds of different frequencies (measured in Hertz) through the SPEAKERS… not through the pc internal speaker… i need to do it in flash… do you have any ideea what program to use for this that can comunicate with flash? i would really apreciate the help… thx…