The win32-sapi library provides an interface to the MS Windows sound interface, otherwise known as SAPI, using OLE.
Daniel J. Berger
Artistic 2.0