This sample shows how to achieve varispeed playback in NAudio by making use of the SoundTouch library. It can modify playback speed on its own, or tempo which maintains the same pitch at any speed.
The VarispeedSampleProvider
implements NAudio's ISampleProvider
and calls into SoundTouch to perform the speed change. Read more about this project here