Nicolas Allemand

Music, game dev and emulation.

Yesterday, I released denver 1.0.0, a little library which creates sound samples that you can play with LÖVE.
More precisely, you can generate simple waveforms (triangle, sinus, square, sawtooth, and noise/pink noise/brown noise) at any frequency. Here is a basic example:

local denver = require 'denver'

function love.load()
    -- play a sinus of 1sec at 440Hz
    local sine = denver.get({waveform='sinus', frequency=440, length=1})
    love.audio.play(sine)
end

Check it out here!