Here is a example program that will take an audio sample, stretch it out in time but will preserve the pitch. It’s based loosely on paulstretch. Written in BlitzMax NG.  The program is written for simplicity not speed. The important variables are: ScaleFactor : how much to stretch the audio, a value of 3 would…