Best Way to Bandsplit Audio

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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
cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

Best Way to Bandsplit Audio

Post by cpsmusic » Wed Sep 03, 2014 1:52 pm

Hi,

I often find myself wanting to apply processing to specific frequency bands. I was wondering what is the best way to split a track into separate tracks containing different frequency bands so that it can be recombined with minimal artifacts?

Cheers,

Chris

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

Re: Best Way to Bandsplit Audio

Post by steve » Wed Sep 03, 2014 2:28 pm

Is this a question about Nyquist, or about using effects and functions that already exist in Audacity?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Robert J. H.
Posts: 3633
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 10

Re: Best Way to Bandsplit Audio

Post by Robert J. H. » Wed Sep 03, 2014 6:01 pm

cpsmusic wrote:Hi,

I often find myself wanting to apply processing to specific frequency bands. I was wondering what is the best way to split a track into separate tracks containing different frequency bands so that it can be recombined with minimal artifacts?

Cheers,

Chris
The first step is to duplicate the track according to the number of bands you wish eventually.
Then follows the separation per high/low-pass filtering.
(the code snippets are for the Nyquist Prompt)
- First Track

Code: Select all

(lp s 500)
- Second track

Code: Select all

(hp s 500)
Those are the filters with the flattest slope, i.e. 6 dB per octave and the separation is therefore fairly poor.
You can replace them with those for 12,24, 36 or 48 dB, namely
(high-/)lowpass2, lowpass4, lowpass6 or lowpass8.
Unfortunately, these filters are not complementary--they do not add up to one.
The trick is to use just one of them and to take the difference.
- First track

Code: Select all

(lowpass8 s 500)
- Second track

Code: Select all

(diff s (lowpass8 s 500))
Things get a little complicated when you want multiple bands. You've essentially to redo the previous separation in order to split further apart.
This is due to the phase shifts introduced.
You could also use FIR filters instead of IIRs that do have a linear phase response.
FIR-separation.wav
(931.61 KiB) Downloaded 39 times
(split the example to mono)

cpsmusic
Posts: 116
Joined: Mon Jun 06, 2011 3:23 pm
Operating System: Please select

Re: Best Way to Bandsplit Audio

Post by cpsmusic » Thu Sep 04, 2014 12:09 am

steve wrote:Is this a question about Nyquist, or about using effects and functions that already exist in Audacity?
I'm interested in trying the de-essing technique described here:

http://nerds-central.blogspot.com.au/20 ... do-it.html

I wanted to get more info about how to split and recombine the audio while minimising artifacts. I wasn't sure which filters to use or how to set them up.

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

Re: Best Way to Bandsplit Audio

Post by steve » Thu Sep 04, 2014 1:26 am

Use the Equalization effect. That's an FFT filter so it does not have the phase shift issues that the "High Pass" and "Low Pass" effects have.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply