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.setVolume( volume )
Usage
love.audio.setVolume( volume )
Arguments
volumeA number between 0 (min) and 1 (max).
Returns
Nothing
Examples
Example 1: Sets the volume of the currently playing music track. love.audio.play(music_track)
love.audio.setVolume(0.5) -- half volume