Re: Vista Playback Default Format and Audacity
Posted: Mon Jan 12, 2009 10:23 pm
3900 Hz
This is classic heterodyning. You get sum and difference frequencies whenever two different frequencies are present in a non-linear system. Every radio receiver on the planet works using this technique. Some radio receivers use it more than once. FM transmitters use this technique to get enough juice (a technical term) to run the antenna. History: Fessenden and Armstrong in the 1900s radio experiments.
The analog method of doing a sampling rate translation is to decode the sound from one rate and thoroughly filter out the carrier (sample rate). Really aggressive numbers are needed here. None of the original 48000 (or whatever) carrier must remain. Then re-encode at the new rate. Perfectly clean audio bitstream at the new rate. If you don't get rid of the original carrier, you get the extra energy. You hear the lower one, the difference, but it goes up, too. That one is up in the aircraft bands somewhere. If you have a marginally stable system, the extra frequencies will come and go causing spilled coffee and gray hair. Don't ask me how I know that.
I'm no programmer, but I can imagine a place near the system overload point where the two sample frequencies are present at the same time.
Are there code modules that replicate the analog method above? One of them is broken. I can imagine someone coming up with an algorithm to avoid going through all that, but I can also imagine getting it wrong.
Koz
This is classic heterodyning. You get sum and difference frequencies whenever two different frequencies are present in a non-linear system. Every radio receiver on the planet works using this technique. Some radio receivers use it more than once. FM transmitters use this technique to get enough juice (a technical term) to run the antenna. History: Fessenden and Armstrong in the 1900s radio experiments.
The analog method of doing a sampling rate translation is to decode the sound from one rate and thoroughly filter out the carrier (sample rate). Really aggressive numbers are needed here. None of the original 48000 (or whatever) carrier must remain. Then re-encode at the new rate. Perfectly clean audio bitstream at the new rate. If you don't get rid of the original carrier, you get the extra energy. You hear the lower one, the difference, but it goes up, too. That one is up in the aircraft bands somewhere. If you have a marginally stable system, the extra frequencies will come and go causing spilled coffee and gray hair. Don't ask me how I know that.
I'm no programmer, but I can imagine a place near the system overload point where the two sample frequencies are present at the same time.
Are there code modules that replicate the analog method above? One of them is broken. I can imagine someone coming up with an algorithm to avoid going through all that, but I can also imagine getting it wrong.
Koz