Looks like it's possible: http://www.gnu.org/software/emacs/manual/html_node/elisp/Sound-Output.html