i've been working on adding sound to my #PicoCalc Lua firmware
the last addition was time base correction, calculate how long since the last buffer fill the next play calls happened to delay the inclusion in the buffer, that way the pacing of the sound matches the pacing of when the calls were made rather than the pacing of the start of each buffer repeat