|
| KiXtart 2001 Manual |
Play
| Action: | Allows you to play music on the computer's
speaker by using the SPK file format described below, or on your sound
card by playing a WAV file. |
| Syntax: |
PLAY
[FILE "path\filename.spk"]
| "string" | "path\filename.wav" There are four possible
syntax forms: · PLAY FILE "Jbond.spk" The string or file
consists of a sequence of commands indicating the frequency and duration
of the tones to play. The following commands are available: · F or f
- frequency · G or g
- gap · D or d
- duration · T or t
- tempo A tempo value of 256
indicates normal tempo. A value of 4df
lasts: · 2 timer ticks, when the tempo is set to 128 |
| Remarks: |
KiXtart
automatically selects the appropriate action based on the file name
extension you provide. |
| See Also: |
Beep |
| Examples: |
;
* This plays the part of the James Bond theme * |