Hear some of the spooky music from my #Playdate horror game OUTSIDE PARTIES in this Playdate game music compilation from @UncrankdPD

Hear some of the spooky music from my #Playdate horror game OUTSIDE PARTIES in this Playdate game music compilation from @UncrankdPD

Added a simple but functional sample selection scene and a scene manager for easier context switching. Probably want to add a little scrollbar here to aid navigation, and even consider using the crank for moving around, which could come in handy if we have many samples.
Implemented the remaining controls for my granular sampler.
Grains can now be pitched, and their starting position, panning and direction randomized. I think this is going to sound pretty nice with some reverb.
I decided not to include a filter since I rather have a bit more control for the main synth and to keep the voice/grain count as high as possible.
Next up, sample selection and voice recording.
Did a bit of optimization and now things are running smooth with 6 voices/grains. To assist benchmark changes I added a toggleable debug screen with some collected timers.
On the PD the audio callback size seems to be 256 samples, which at 44100Hz give me a budget of 5.8ms per audio frame. I’m cutting it a bit close at the moment, but this DSP code could definitely be improved. I’m doing the entire DSP in F32 since the CPU has a nice floating point unit but I’m guessing it would still be better to work on the native S16.
Added multi-grain playback and random grain panning. Gotta need to improve the performance a little, on device I'm starting to dip below 30fps, but there is a lot of room for improvement here.
Still, as a proof of concept things are taking shape!
Planning stream semaine 13 (2026) 🗓️
À noter : pas de stream mercredi et nouveau contenu dans "Quoi qu'on code ?" avec le moteur Defold.
@playdate @defold #defold #twitchstream #playdate #gamedev #indiegame #indiedev #twitch #planning