love.audio.getVolume

love.audio.getVolume Returns the master volume. Function Synopsis volume = love.audio.getVolume( ) Arguments None. Returns number volume The current master volume See Also love.audio

love.audio.newSource

love.audio.newSource Creates a new Source from a filepath, File, Decoder or SoundData. Sources created from SoundData are always static. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis source = love.audio.newSource( filename, type ) Arguments string filename The filepath to the audio file. SourceType type ("stream") Streaming or

love.audio.pause

love.audio.pause Pauses currently played Sources. Function This function will pause all currently active Sources. Synopsis love.audio.pause( ) Arguments None. Returns Nothing. Function This function will only pause the specified Source. Synopsis love.audio.pause( source ) Arguments Source source The source on which to pause the playback Returns Nothing. See Also love.audio

love.audio.play

love.audio.play Plays the specified Source. Function Synopsis love.audio.play( source ) Arguments Source source The Source to play. Returns Nothing. See Also love.audio Source:play

love.audio.resume

love.audio.resume Resumes all audio. Function Synopsis love.audio.resume( ) Arguments None. Returns Nothing. Function Synopsis love.audio.resume( source ) Arguments Source source The source on which to resume the playback. Returns Nothing. See Also love.audio

love.audio.rewind

love.audio.rewind Rewinds all playing audio. Function Synopsis love.audio.rewind( ) Arguments None. Returns Nothing. Function Synopsis love.audio.rewind( source ) Arguments Source source The source to rewind. Returns Nothing. See Also love.audio

love.audio.setDistanceModel

love.audio.setDistanceModel Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the distance attenuation model. Function Synopsis love.audio.setDistanceModel( model ) Arguments DistanceModel model The new distance model. Returns Nothing. See Also love.audio

love.audio.setDopplerScale

love.audio.setDopplerScale Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets a global scale factor for velocity-based doppler effects. The default scale value is 1. Function Synopsis love.audio.setDopplerScale( scale ) Arguments number scale The new doppler scale factor. The scale must be greater than 0. Returns Nothing. See Also love.audio love.audio.getDopplerScale

love.audio.setOrientation

love.audio.setOrientation Sets the orientation of the listener. Function Synopsis love.audio.setOrientation( fx, fy, fz, ux, uy, uz ) Arguments number fx, fy, fz Forward vector of the listener orientation. number ux, uy, uz Up vector of the listener orientation. Returns Nothing. See Also love.audio

love.audio.setPosition

love.audio.setPosition Sets the position of the listener, which determines how sounds play. Function Synopsis love.audio.setPosition( x, y, z ) Arguments number x The x position of the listener. number y The y position of the listener. number z The z position of the listener. Returns Nothing. Remarks Setting a position only works for mono sources. WAV files are always loaded as stereo, OGG works fine. See Also love.audio Source:setPosition