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.newSound( filename )
Usage
love.audio.newSound( filename )
Arguments
filenameThe filepath to the sound file.
Returns
SoundA Sound object containing the audio data.
Examples
Example 1: Add some sounds. blaster = love.audio.newSound("blast.wav")
explosion = love.audio.newSound("boom.wav")