I am working on a project including sound stretching using SoundTouch and C#.
As an effect when stopping the music playback, I want to implement a stretch algorithm like when the DJs turn the Vinyl off but it takes some seconds for the Vinyl to stop rotating and meanwhile the music is still being played and the sound stretches to lower tempos until it goes to zero.
My problem is that I don't really know where I should start from. I thought of using some sort of iterations with ease-out decreasing the tempo for chunks of music samples, but it seems a little complicated to me and I have problem figuring the algorithm out.
Any kind of suggestion, starting point, example or help is really appreciated.
Thanks.