home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.audio
- Path: sparky!uunet!news.univie.ac.at!nestroy!alijku05!alijku11!blekul11!frmop11!barilvm!tavor!aristo.tau.ac.il!virgo.math.tau.ac.il!finkel
- From: finkel@virgo.math.tau.ac.il (Udi Finkelstein)
- Subject: Re: Halving sample speed while keeping pitch
- Message-ID: <1992Aug25.114530.14241@aristo.tau.ac.il>
- Sender: news@aristo.tau.ac.il
- Nntp-Posting-Host: virgo-mb.math.tau.ac.il
- Organization: School of Math & CS - Tel Aviv University , Tel Aviv , ISRAEL.
- References: <9208241809.AA00474@.nairobi.inel.gov.inel.gov.> <ERICJ.92Aug24131911@lagos.cfsat.Honeywell.COM>
- Date: Tue, 25 Aug 1992 11:45:30 GMT
- Lines: 41
-
- In article <ERICJ.92Aug24131911@lagos.cfsat.Honeywell.COM> ericj@hwcae.Honeywell.COM (Eric Jacobsen) writes:
- >In article <9208241809.AA00474@.nairobi.inel.gov.inel.gov.> mnu@INEL.GOV (Rick Morneau) writes:
- >
- > I don't want to change the sampling rate - I want to slow down the
- > signal without changing the pitch of the human voice (in case you're
- > wondering, I'm working with speech, NOT music). In other words, I
- > want to stretch out the signal so that it sounds like the speaker is
- > speaking more slowly, with out distorting the pitch.
- >
- >Oh! NOW I understand! It sure sounded like you were asking for a method
- >of downsampling. My apologies for the confusion on my part.
- >
- >What you are asking for is possible, but not trivial to accomplish
- >and not the sort of thing I'd expect to see in most canned software.
- >
- >One way to get what you are looking for:
- >
- >1. Upsample the signal until it is of the length you wish. The pitch
- >will be lower, but you can get the time duration you want.
- >
- >2. Take the upsampled signal and mix it with a sine wave that shifts
- >the pitch back up. (You get a sum and difference frequency, you filter
- >out the difference freq). Actually, this is kinda tough to do
- >digitally. It is a lot easier to do this in the analog domain when
- >you play it back.
- This method isn't very accurate, and I'll give an example:
-
- Suppose our signal has two peaks, one at 1Khz, and the other at 2KHz.
-
- 1. we upsample by 100%, we now get the two peaks at 500Hz and 1Khz.
- 2. by multiplying with a 500Hz sine wave, we get 1Khz, and 1.5KHz peaks.
- if we use 1Khz, we get 1.5KHz and 2KHz peaks.
-
- This demontrates that the method above doesn't exacly preserve the spectral
- content of the signal while making it longer.
- However, I think that for small speed variations it should be bearable.
-
- Udi
- --
- Udi Finkelstein
- finkel@math.tau.ac.il
-