Hello,
I am a sample library developer (www.soundemote.com) and also do work for various sample library companies. I am looking for a way to take a sample, say a guitar pluck, and stretch/compress the audio so that every cycle of the guitar pluck wave is exactly synced with a sine wave, say at 440hz (A4).
Essentially I want to phase lock an imperfect acoustic tone to a perfect digital tone.
To start simple, let's just think of the guitar pluck as just another sine wave, but not perfectly in tune. I ultimately plan on having the guitar pluck reduced to its fundamental for the calculation of stretching/compressing.
Another way of thinking about this: Take a sine wave sample at 440hz swinging from +1 to -1 amplitude. Every 2nd time it crosses 0, that is a cycle. Take another sine wave, say 441hz. Cut that up into its individual cycles, then reassemble them so that each piece is compressed to match the length of the cycle of the 440hz sine. That's what I want to do to acoustic samples
If this could be accomplished, it will make a lot of people happy and I'm wondering if PD might be the right software to accomplish this.
Is it possible with PD? And... where do I start?