How far can you time stretch whilst maintaing original pitch

Discussion about the DSP Dimension's articles, tutorials and code.

Moderator: neuronaut

How far can you time stretch whilst maintaing original pitch

Postby raydaledower » 29.07.2011 14:56

I have a recording of a piano being dropped and disintegrating that I would like to slow to 1/40th of the original speed - this is to sync with film footage shot at 1000fps being played back at 25fps.

Have slowed sound by resampling, but it becomes largely inaudible due to the now ultra-low frequencies, any advice on how to maintain pitch successfully or the limits of this code much appreciated.
With thanks,
Raydale
raydaledower
 
Posts: 1
Joined: 27.07.2011 15:06

Re: How far can you time stretch whilst maintaing original pitch

Postby neuronaut » 29.07.2011 15:59

There is no limit as to how far you can go, however, the nature of the time stretching algorithm you're using will become more and more apparent with larger stretch ratios. If you express the signal by a sum of sinusoids you will get exactly that, even if your original signal contained noise. The noise will then also be represented by a sum of sinusoids that vary relatively quickly in amplitude and frequency, which is different to what the human auditory system would expect in this case (= just noise).

Dirac has a limit on its time stretch factor (4x is max), so you will have to roll your own time stretcher, for instance using a phase vocoder or a sinusoidal resynthesizer, or use one of the programs that specialize in this (such as Paul's extreme sound stretch: http://hypermammut.sourceforge.net/paulstretch/)

Hope this helps!
+Stephan
Free DSP tutorials by Stephan M. Bernsee at http://www.dspdimension.com
"There are 10 types of people in this world: those who understand binary, those who don't"
--Unknown
neuronaut
 
Posts: 1331
Joined: 17.11.2005 09:15
Location: Mainz, Germany


Return to The DSP Dimension

Who is online

Users browsing this forum: No registered users and 1 guest

cron