Haaah was as simple as adding a couple of lines in the play_memory.cpp file.
phase_incr is a float multiplier of the playback speed. 1 is normal speed, 0.5 half speed, 2, double speed. Tried it with a square wave playing C note, seems to be okay.
index = phase;
tmp32 = in[index];
*out++ =...