sound object
The sound object is used to play audio stored either as Wav or Ogg, either in a folder or in a pack file, with or without encryption.
sound()
Parameters:
None.
Remarks:
When a sound object is first created, it will not be active. To activate it you must call either the "load" or the "stream" method on the object, specifying a file that should be associated with it. You may call these methods again at any time if you wish to associate another sound with the object, at which point the old association (if any) will be cleared. This, in short, allows you to reuse the same sound object for playing more than one sound.
Example:

    // Load a sound into memory and play it.

    void main()
    {
    sound test;
    test.load("c:\\windows\\media\\ding.wav");
    test.play_wait();
    test.close();
    }