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.newMusic( filename )
Usage
love.audio.newMusic( filename )
Arguments
filenameThe filepath to the music file.
Returns
MusicA Music object containing the audio data.
Examples
Example 1: Add some music. muzik = love.audio.newMusic("totally_awesome.mp3")