Question about frequency

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
pdun459
Posts: 190
Joined: Mon Oct 08, 2012 8:25 pm
Operating System: Please select

Question about frequency

Post by pdun459 » Wed Feb 22, 2017 9:42 pm

I have some audio files that are supposed to be 24bit 96k (according to the metadata/media info). When I open them in Audacity the project rate changes to 96000, but when I view them in Spectogram they peak around 48k, and if I analyze with the Plot Spectrum tool it shows the same thing. What gives, am I missing something?

DVDdoug
Forum Crew
Posts: 9419
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Question about frequency

Post by DVDdoug » Wed Feb 22, 2017 9:56 pm

Nyquist theory...

96kHz is the sample rate. If you don't know what that is, take a look at this page. The spectrogram shows the audio content.

You need at least 2 samples per cycle (one data-point for the positive half of the cycle, and one data-point for the negative half). At a sample rate of 96kHz, your "audio" can't go above 48kHz. (It's not really audio above the audible hearing range.)

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Question about frequency

Post by kozikowski » Wed Feb 22, 2017 10:00 pm

It's good to know that Audacity famously doesn't have Clip INFO. That's why you need to either do it second hand, or use an external program.

The audio tools are measuring audio. The highest sound that 96000 sample rate will manage is half. That would be 48000 Hz audio.

Remembering that actual audio doesn't go much higher than 20000Hz, so are we doing this for a specific reason, or the files were delivered that way and that's the way it is? Those two sound file specs are typical of a studio recording.

Koz

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Question about frequency

Post by steve » Wed Feb 22, 2017 10:01 pm

The maximum audio frequency is half the sample rate (known as the "Nyquist frequency").
To handle the full audio range (up to 20 kHz / 20,000 Hz), the sample rate must be at least 40 kHz (40,000 Hz). In practice, the sample rate needs to be a little higher, which is why the sample rate for CDs is 44100 Hz (44.1 kHz).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

pdun459
Posts: 190
Joined: Mon Oct 08, 2012 8:25 pm
Operating System: Please select

Re: Question about frequency

Post by pdun459 » Wed Feb 22, 2017 10:12 pm

Ahh...thanks a million guys, very helpful info.

Post Reply