I've read the posts about pitch shifting and time-stretching, but I'm new to pd and programming in general so some of it is over my head. I'm building a sample-based algorithmic melody generator. I am only using one sample per instrument though. Without any time-stretching of course the farther away the pitch is from the original sample it sounds worse.
I've looked over the Fourier-analysis and also phase-vocoder, but I'm not quite sure how to use them. Is there a more simple way (even if it doesn't sound as great as fft) to time stretch so it sounds better. Some of the samples have vibrato (and obviously that sounds bad if going too slow or too fast). The stretching would have to be in "real-time." If I have multiple instruments, it seems like fft is a lot more work then may be necessary. I know timestrethcing/pitch shifting depends on samplerate, but don't know much more than that. Someone said as an alternative you can use two phasors? I can post my patch if it helps.
Thanks for any advice.