Disable automatic low pass filter when resampling
Forum rules
This 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.
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.
-
8bit_coder
- Posts: 32
- Joined: Sun Dec 03, 2017 4:31 am
- Operating System: Windows 8 or 8.1
Disable automatic low pass filter when resampling
First off I'm using windows 8.1 Pro and Audacity 2.2.2
Whenever I resample something in audacity, it resamples it but it also has an automatic low pass to prevent the alias frequencies from coming through. Is there a way I can disable this to hear for example a 8 khz sample rate file without the low pass, meaning including all of the hiss and alias noises along with that sample rate?
Thanks.
PS: I am willing to modify code in my copy of audacity to attempt this
Whenever I resample something in audacity, it resamples it but it also has an automatic low pass to prevent the alias frequencies from coming through. Is there a way I can disable this to hear for example a 8 khz sample rate file without the low pass, meaning including all of the hiss and alias noises along with that sample rate?
Thanks.
PS: I am willing to modify code in my copy of audacity to attempt this
Re: Disable automatic low pass filter when resampling
You'll probably have to do that. Filtering is part of any proper downsampling algorithm. I've never even looked at the Audacity code but I assume you know it's open source.PS: I am willing to modify code in my copy of audacity to attempt this
You can probably make a Nyquist plug-in. That should be easier than modifying the Audacity code and I'd imagine it's "easy" if divide the sample rate by even numbers.
-
8bit_coder
- Posts: 32
- Joined: Sun Dec 03, 2017 4:31 am
- Operating System: Windows 8 or 8.1
Re: Disable automatic low pass filter when resampling
Well, then what code should I write? I don't have a ton of experience with nyquist so a little help would be greatly appreciated 
Re: Disable automatic low pass filter when resampling
A similar effect could be achieved with a bit-crush plugin.8bit_coder wrote: ↑Sat Jun 01, 2019 12:38 amFirst off I'm using windows 8.1 Pro and Audacity 2.2.2
Whenever I resample something in audacity, it resamples it but it also has an automatic low pass to prevent the alias frequencies from coming through. Is there a way I can disable this to hear for example a 8 khz sample rate file without the low pass, meaning including all of the hiss and alias noises along with that sample rate?
Tritik Krush is free & works in Audacity on Windows ...
https://youtu.be/owZhhsHjh20?t=35s
Re: Disable automatic low pass filter when resampling
1) Select the track8bit_coder wrote: ↑Sat Jun 01, 2019 12:38 amWhenever I resample something in audacity, it resamples it but it also has an automatic low pass to prevent the alias frequencies from coming through. Is there a way I can disable this to hear for example a 8 khz sample rate file without the low pass, meaning including all of the hiss and alias noises along with that sample rate?
Thanks.
2) Apply this command in the Nyquist Prompt:
Code: Select all
;version 4
(force-srate 8000 *track*)The "force-srate" command resamples a sound using linear interpolation without pre-filtering.
*TRACK* is a special variable that passes the selected audio from Audacity to Nyquist.
By the way, the current and recommended version of Audacity is 2.3.2. It is available via the Audacity website: https://www.audacityteam.org/download/windows/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
8bit_coder
- Posts: 32
- Joined: Sun Dec 03, 2017 4:31 am
- Operating System: Windows 8 or 8.1
Re: Disable automatic low pass filter when resampling
To Steve's solution:
Yes, I know of that nyquist command. But it still acts the same as if I just clicked resample. This simply does that but in a more complicated way and it doesn't give the results I want.
To the Trikit solution:
Yes, I know I can use a bit crusher, but that defeats the whole purpose of being able to set a specific sample rate.
Thanks
Yes, I know of that nyquist command. But it still acts the same as if I just clicked resample. This simply does that but in a more complicated way and it doesn't give the results I want.
To the Trikit solution:
Yes, I know I can use a bit crusher, but that defeats the whole purpose of being able to set a specific sample rate.
Thanks
-
kozikowski
- Forum Staff
- Posts: 68902
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Disable automatic low pass filter when resampling
Reducing the sample rate isn't "free." 8000 is just better than AM radio.that defeats the whole purpose of being able to set a specific sample rate.
What's the goal? I mean the real goal, not the microscopic viewing the rate goal. Why are we doing this?
Koz
Re: Disable automatic low pass filter when resampling
Tritik Krush does also downsampling as well as bitcrush.8bit_coder wrote: ↑Sat Jun 08, 2019 3:54 amTo the Trikit solution:
Yes, I know I can use a bit crusher, but that defeats the whole purpose of being able to set a specific sample rate.
dBlue crusher is a free plugin which has a downsample slider, independent of bitcrush.
Re: Disable automatic low pass filter when resampling
Try following the instructions exactly as I wrote them.8bit_coder wrote: ↑Sat Jun 08, 2019 3:54 amTo Steve's solution:
Yes, I know of that nyquist command. But it still acts the same as if I just clicked resample.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Disable automatic low pass filter when resampling
In Audacity 2-3-2 on Windows 8 that code just speeds it up.