Difference between revisions of "PlaySound"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Plays the specified wave (.wav) sound file. ==== Usage ==== <syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight> Where: PathFilename - a string expression spe...")
 
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
Plays the specified wave (.wav) sound file.  
 
Plays the specified wave (.wav) sound file.  
  
==== Usage ====
+
== Usage ==
 +
<syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight>
  
<syntaxhighlight>PlaySound("PathFilename")</syntaxhighlight>
+
Where:
Where: [[PathFilename]]  - a string expression specifying the path and filename of the wave file to be played  
+
 
 +
:'''PathFilename''' - a string expression specifying the path and filename of the wave file to be played.
  
==== Example ====
+
== 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.
  
<syntaxhighlight>Play ding.wav sound file located in the root directory of the C: hard drive:
+
== Example ==
  
PlaySound("C:\ding.wav");</syntaxhighlight>
+
Play the 'ding.wav' sound file located in the root directory of the C: hard drive:
  
 +
<syntaxhighlight>PlaySound("C:\ding.wav");</syntaxhighlight>
  
[[Category:Math and Trig]]
+
[[Category:Output]]

Latest revision as of 15:00, 19 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

Example

Play the 'ding.wav' sound file located in the root directory of the C: hard drive:

PlaySound("C:\ding.wav");