Version 0.3.2
LÖVE Documentation
OverviewLicenseCreditsInstallingGetting started
Devices
love.graphicslove.audiolove.keyboardlove.mouselove.filesystemlove.timerlove.system
Types
AnimationColorFontFileImageMusicParticleSystemSound
Callbacks
loadupdatedrawmousepressedmousereleasedkeypressedkeyreleased
Miscellaneous
ConstantsConfig filesKeyboard shortcuts
Function
love.audio.play( sound )
The Sound is played a single time, on the first available channel.
Usage
love.audio.play( sound )
Arguments
soundThe sound to play.
Returns
Nothing
Examples
Example 1: Play a sound. blaster = love.audio.newSound("blast.wav");
love.audio.play(blaster)