Load at least two prerecorded sounds, and demonstrate as many of these features as you can:

 playing them individually and simultaneously
 stopping before the end of the sound
 looping (preferably glitch-free)
 setting the volume of each sound
 stereo or 3D positional mixing
 performing other actions when marked times in the sound arrive
Describe:

 The supported audio formats, briefly.
 Whether it is suitable for game sound effects (low-latency start, resource efficiency, supports many simultaneous sounds, etc.)
 Whether it is suitable for playing music (long duration ).
[Note: If it seems to be a good idea, this task may be revised to specify a particular timeline rather than just 'demonstrate these features'.]

Where applicable, please categorize examples primarily by the audio facility used (library/API/program/platform) rather than the language if the language is incidental (e.g. "Mac OS X CoreAudio" or "mplayer" rather than "C" or "bash").

import "audio" for AudioEngine
import "dome" for Process
 
class Game {
    static init() {
        // load a .wav file and give it a friendly name
        AudioEngine.load("a", "a.wav")
        // play the file at volume v, looping l and pan p
        __v = 2      // twice 'normal' volume
        __l = true   // loop when finished
        __p = 0.5    // division between left and right audio channels (-1 to +1)
        __chan1 = AudioEngine.play("a", __v, __l, __p)
        __fc = 0     // frame counter, updates at 60 fps
    }
 
    static update() { __fc = __fc + 1 }
 
    static draw(dt) {
        if (__fc == 600) {
            // after 10 seconds load and play a second .wav file simultaneously, same settings
            AudioEngine.load("b", "b.wav")
            __chan2 = AudioEngine.play("b", __v, __l, __p)
        }
        if (__fc == 1200) {
            __chan1.stop()   // after a further 10 seconds, stop the first file
            AudioEngine.unload("a")  // and unload it
        } else if (__fc == 1800) {
            __chan2.stop() // after another 10 seconds, stop the second file
            AudioEngine.unload("b")  // and unload it
            Process.exit(0)  // exit the application
        }
    }
}