sound methods - Protovision/moonbase GitHub Wiki

sound:play( fade_ms )

Plays the sound once. fade_ms optionally specifies the number of milliseconds to start playing the sound from silence until it reaches full volume. Returns a userdata object of type "moonbase_channel"

sound:loop( fade_ms )

Plays the sound in a loop. fade_ms optionally specifies the number of milliseconds to start playing the sound from silence until it reaches full volume. Returns a userdata object of type "moonbase_channel"