Is it possible to distort music?

,

I can see maybe this might be the case for the synth samples, but is there a way to distort wav files through the Playdate? I'm on SDK Windows. I would like to change the pitch or speed if possible. Has anyone been able to do something like this?

Playback speed is called rate in the playdate api

For music. The same is also available for samplePlayer which is used for short samples that are kept in RAM

2 Likes

Oh yes, I did see rate before but I thought that was something else. That's good to know, thanks

Other effects like clipping/bitcrushing/delay are applied to channels, with any number of synths, sample players, or file players assigned to the channel. For example:

snd = playdate.sound
fp = snd.fileplayer.new("music")
channel = snd.channel.new()
ringmod = snd.ringmod.new()
channel:addEffect(ringmod)
channel:addSource(fp)
fp:play()
3 Likes

oo nice! I will have to play with these