User:Zorg/Manual:Audio/1
Contents
LÖVE Manual - Sound and Audio
Introduction
So, what's audio?
It's everything regarding sound, a game's background music, ambience, effects, voice acting.
How does LÖVE do it?
Löve has two namespaces for sound related objects and methods. love.sound and love.audio.
To understand what's happening, consult the image to the right.
SoundData
are objects that contain individual sound samples. Either short sounds or they can hold even long tracks as well, though they would use a lot of RAM, since they are decoded into samplepoints.
Examples
Our vocal player
Insert baker Sven joke here...
local source = love.audio.newSource('sound.ogg')