Time-Stretching 2003-09-15 09:38:19 Hi everyone,I'm working on an audio software and I'd like to do some time stretching in "real-time". That is reading an audio file and changing the duration of the track without changing the pitch.The first obvious option is to use resampling to change the number of final samples, but that changes the pitch...So my second option was inspired by granular synthesis. Cut the file in small parts and then output these parts as is with some samples added/removed at the end (added with content from the original part). But the sound is really bad and the pitch seem to be changed anyway (depends on the size of the parts). It sounds especially bad on low frequencies.I'm thinking about adding some fade in/fade out on the transition part (where data is added remove). But I doubt it will improve the quality much.So I was wondering if anyone here know places with good informations on how to code a good time-stretching (or even better some working+free code in C or C++).