I wrote a small Love2D application that generates sounds based on image data. You can check it out and see how it works. Feel free to edit it and improve it. If you do improve it, please post your edit here!
Challenge:
I dare someone to draw out Twinkle Twinkle Little Star. Best of Luck!
I forgot to apply the volume. To apply simply go into generateNotes.lua and under this line:
local source = love.audio.newSource(soundData)
source:setVolume(v/10)
WARNING: I RECOMMEND NOT TO USE AN IMAGE LARGER THAN 100x by 100y! I takes a while for the application to process the image and create sound data based on the image data!
This is the best I could do. Had to apply several fixes. The duration was broken and there were a few off-by-ones. There's no silence, which is a problem for some songs. And no "black notes", which is a problem for some other songs.
pgimeno wrote:This is the best I could do. Had to apply several fixes. The duration was broken and there were a few off-by-ones. There's no silence, which is a problem for some songs. And no "black notes", which is a problem for some other songs.
(Drawn with GIMP)
Nice song you got there! Thanks for sharing your fixes!