PlaySound: Difference between revisions
From MultiCharts
No edit summary |
m (→Notes) |
||
Line 9: | Line 9: | ||
== Notes == | == Notes == | ||
* | * [http://www2.research.att.com/~ttsweb/tts/demo.php AT&T Labs Natural Voices® Text-to-Speech Demo] makes it possible to generate your own sound files. | ||
== Example == | == Example == |
Revision as of 10:11, 9 February 2012
Plays the specified wave (.wav) sound file.
Usage
PlaySound("PathFilename")
Where:
- PathFilename - a string expression specifying the path and filename of the wave file to be played.
Notes
- AT&T Labs Natural Voices® Text-to-Speech Demo makes it possible to generate your own sound files.
Example
Play ding.wav sound file located in the root directory of the C: hard drive:
PlaySound("C:\ding.wav");