home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / audio / 3187 < prev    next >
Encoding:
Text File  |  1992-08-25  |  2.4 KB  |  54 lines

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