Back Previous Next

Slideshow keyword - audio

Syntax:

audio {name} {source}

Function:

Load and prefetch an audio clip. This makes it ready for immediate play. The system prefixes the current base onto {source} to save you typing. The {name} is used to refer to the sound later and can comprise any quoted string including spaces.

Although the system will support a wide range of sound formats you are recommended to use one that offers high compression, such as MPEG audio, otherwise users of slow modems will experience long delays as the sounds load. You are also advised to keep the clips short and use looping to extend them. As a guide, MP2 audio can be coded down to 32kbits/sec, or about 3k bytes/sec, which makes clips of up to ten seconds practical for general use.

Example(s):

audio "Indoor noise" "indoors.mp2"
audio "Plates dropping" "http://www.mydomain.com/Diary/plates.mp2"


Back Previous Next