Generate sound on a given frequency

Need a module or any other way of playing a sound of specified frequency.