Source:setVolume
Sets the current volume of the Source. Function Synopsis Source:setVolume( volume ) Arguments number volume The volume for a Source, where 1.0 is normal volume. Volume cannot be raised above 1.0.
Returns Nothing. Examples Make a sound quieter or completely silent. function love.load()
sound = love.audio.newSource("sound.wav")
-- Note that this code, as-is, will set the volume to 0.0, as per the last line, and that's how sound:play() will play it back.
sound: