Lutro - Documentation

love.sound

This module is responsible for decoding sound files. It can't play the sounds, see love.audio for that.

SoundData (type)

Contains raw audio samples.

love.sound.newSoundData

Loads a sound from an audio file. Supported files are .wav and .ogg.

soundData = newSoundData(explosion.wav)