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, loop )
Usage
love.audio.play( sound, loop )
Arguments
soundThe sound to play.
loopThe number of times to loop. (1 = play once, 0 = forever).
Returns
Nothing
Examples
Example 1: Play a sound forever. blaster = love.audio.newSound("blast.wav");
love.audio.play(blaster, 0)