Simplified demo in the README

This commit is contained in:
nucular 2014-08-04 17:11:24 +02:00
parent 85b66115ed
commit ae68b03a45

View File

@ -17,7 +17,7 @@ local sfxr = require("sfxr")
function love.load() function love.load()
local sound = sfxr.newSound() local sound = sfxr.newSound()
sound:randomize() sound:randomize()
love.audio.newSource(sound:generateSoundData()):play() sound:play()
end end
``` ```