So, I am curious if Audacity has a similar aliasing effect. If not, I would like to know what “happens” to the audio information that falls outside of the playback sample rate.
As Koz says, Audacity usually does the “right thing” (which means low-pass filter to prevent aliasing when downsampling). If you go into Preferences there are “quality settings” and I don’t know how “bad” the low-quality setting is…
So, I am curious if Audacity has a similar aliasing effect. If not, I would like to know what “happens” to the audio information that falls outside of the playback sample rate.
Audacity will (usually) filter-out “invalid” frequencies.
There should also be hardware filtering in your soundcard so you can’t record beyond the Nyquist limit. And again as Koz says, we don’t know what your soundcard is doing with ultrasonic frequencies. It may be limited to audio frequencies, even at high sample rates. There are soundcards specified up to 192 or even 384kHz, but you rarely see frequency response specs up to the Nyquist limit (if you can find frequency response specs at all).
Any soundcard can play (or record) a “high resolution” file but often the actual hardware is running at 48kHz and the drivers are downsampling (playback) or upsampling (recording) without telling you. Any-old soundcard can “play” a 192kHz audio file, but you may only get the audio range (up to around 20kHz).
The same thing happens if you view a high-resolution image on a low-resolution monitor or print on a low-resolution printer. The Windows drivers "secretly’ downsample/downscale and you may never know what’s happening…
I’m curious what is happening in the meantime, though. In a program like Max/MSP, when you exceed 24khz (through a 48khz samplerate), you start to get aliasing. The frequencies start again from 0hz.
I don’t know what these programs are doing. A proper downsampling algorithm will always low-pass filter as necessary as will a proper analog-to-digital converter (or soundcard).*
A good digital signal generating algorithm (such as the one built-into Audacity) will refuse to do something impossible. i.e. Audacity won’t allow you to (attempt to) generate a 30kz waveform at a 48kHz sample rate.
But Audacity does seem to support these higher sample rates, where other audio softwares do not. If there is no interesting having people use a 192khz sample rate, why is it included in the program?
Well… It is one of the “standard” audio sample rates. The “pro studio standard” is 24-bits/96kHz.
\
- Filters are imperfect so you can get some low-level aliasing. With “normal audio” it’s usually filtered well-enough to be to be inaudible.