Hi,
I have a game with a train that plays a sound effect when it is running. The effect changes rate depending on the trains speed. Currently, I'm getting a strange dull pause inbetween looping when played at a lower rate. Is there a way to make this more seamless?
import "CoreLibs/crank"
soundEffect=playdate.sound.sampleplayer.new("audio0")
soundEffect:play(0)
function playdate.update()
soundEffect:setRate(playdate.getCrankPosition()/360)
end
The other question was if there was a way to use Pulp audio directly with the sdk, instead of the pulp-audio library. Would prefer to export out with .wav or other formats that the sdk can use so can take advantage of it's greater functionality.
audio0.wav.zip (20.7 KB)
example.zip (21.2 KB)