If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Fast Slope HPF Filter
21 posts
• Page 1 of 3 • 1, 2, 3
Fast Slope HPF Filter
Hi,
I'm looking into 'fast slope' filters for an HPF implementation and came across 'Elliptic Filter':
https://en.wikipedia.org/wiki/Elliptic_filter
Is anyone experienced with this type of filter on FlowStone?
Can it be implemented in FlowStone (static parameters)?
Can it be implemented in FlowStone with dynamic parameters (On The Fly changes) ?
Appreciated,
Rocko
I'm looking into 'fast slope' filters for an HPF implementation and came across 'Elliptic Filter':
https://en.wikipedia.org/wiki/Elliptic_filter
Is anyone experienced with this type of filter on FlowStone?
Can it be implemented in FlowStone (static parameters)?
Can it be implemented in FlowStone with dynamic parameters (On The Fly changes) ?
Appreciated,
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Fast Slope HPF Filter
You can do elliptic filters in FS, no problem. You can use this excellent online tool to get your filter coefficients: http://cnx.org/contents/8c10bada-99b8-4 ... Filter-Des
I'd recommend to implement the filter as a cascade of biquads. Search this forum and FS Guru for a recipe.
Once you have the coefficients for a certain filter specification you can transform to another cutoff frequency. The math is a bit tedious and it will be heavy on CPU if done at sample rate.
However, note that steep filters tend to ring if you feed them with percussive content.
I'd recommend to implement the filter as a cascade of biquads. Search this forum and FS Guru for a recipe.
Once you have the coefficients for a certain filter specification you can transform to another cutoff frequency. The math is a bit tedious and it will be heavy on CPU if done at sample rate.
However, note that steep filters tend to ring if you feed them with percussive content.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Fast Slope HPF Filter
Here is a tunable 12th order elliptic lowpass as an example:
- Attachments
-
- EllipticFilter.fsm
- (14.24 KiB) Downloaded 1710 times
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Fast Slope HPF Filter
Hi,
Thanks for sharing. It is interesting.
I had reached the page of the tool, it says 1,140 USD for the tool itself
What does the tool do? Does it provide the a and b coefficient set, per filter, which I can then copy into the 'text' boxes of the module you had sent?
I'm interested in HPF, not LPF. Can I calculate the biquads (a,b) for HPF with this LabView tool?
Could I use MATLAB (more available) to reach the same biquads to copy paste into the module you had sent?
Thanks for sharing the info !
Rocko
Thanks for sharing. It is interesting.
I had reached the page of the tool, it says 1,140 USD for the tool itself
What does the tool do? Does it provide the a and b coefficient set, per filter, which I can then copy into the 'text' boxes of the module you had sent?
I'm interested in HPF, not LPF. Can I calculate the biquads (a,b) for HPF with this LabView tool?
Could I use MATLAB (more available) to reach the same biquads to copy paste into the module you had sent?
Thanks for sharing the info !
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Fast Slope HPF Filter
Rocko wrote:Hi,
Thanks for sharing. It is interesting.
I had reached the page of the tool, it says 1,140 USD for the tool itself
What does the tool do? Does it provide the a and b coefficient set, per filter, which I can then copy into the 'text' boxes of the module you had sent?
I'm interested in HPF, not LPF. Can I calculate the biquads (a,b) for HPF with this LabView tool?
Could I use MATLAB (more available) to reach the same biquads to copy paste into the module you had sent?
Thanks for sharing the info !
Rocko
I might be wrong, but from my reading of the page it seems the software used to create the online tool is sold, not the online tool itself. The online tool is a downloadable plugin for your browser, that you need to install to have access to it. At least that's how I understood it.
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Re: Fast Slope HPF Filter
You are right, tulamide, the link takes you to a free online tool (give it some time to load). Other free filter design tools that include elliptic filters are:
1. IIR Filter Designer from Iowa Hills Software
2. Octave (the free Matlab, so to say), available also via browser interface here
Enter the following in the Octave console:
You can copy and paste the coefficients from the cnx site into the textboxes in my schematic. The other tools have a different output format, you have to unscramble the coefficients before pasting.
I am attaching a highpass filter example.
1. IIR Filter Designer from Iowa Hills Software
2. Octave (the free Matlab, so to say), available also via browser interface here
Enter the following in the Octave console:
- Code: Select all
format long; // for double precision
[B,A] = ellip(8,0.15,60,0.5,"high"); // calculates transfer funcion filter coefficients
tf2sos(B,A); // breaks it down into biquad sections
You can copy and paste the coefficients from the cnx site into the textboxes in my schematic. The other tools have a different output format, you have to unscramble the coefficients before pasting.
I am attaching a highpass filter example.
- Attachments
-
- EllipticHighpassFilter.fsm
- (13.87 KiB) Downloaded 1690 times
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Fast Slope HPF Filter
Hi,
I must have missed something, thanks for the help and assistance.
Appreciated,
Rocko
I must have missed something, thanks for the help and assistance.
Appreciated,
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Fast Slope HPF Filter
BTW -
How would you compare Octave to Matlab as an audio/filters playground?
It is a hobby, not profession, so existing libraries and examples are a big advantage since I can see what is there and play with it some.
Any comment is appreciated.
Rocko
How would you compare Octave to Matlab as an audio/filters playground?
It is a hobby, not profession, so existing libraries and examples are a big advantage since I can see what is there and play with it some.
Any comment is appreciated.
Rocko
- Rocko
- Posts: 186
- Joined: Tue May 15, 2012 12:42 pm
Re: Fast Slope HPF Filter
martinvicanek wrote:Enter the following in the Octave console:
- Code: Select all
format long; // for double precision
[B,A] = ellip(8,0.15,60,0.5,"high"); // calculates transfer funcion filter coefficients
tf2sos(B,A); // breaks it down into biquad sections
Hi Martin,
...as usual...thanks for sharing. One remark:
If someone actually wants to do it in Octave one seems to need to install
The control package and The signal package
and just for completeness: How To Install Packages
- stw
- Posts: 111
- Joined: Tue Jul 13, 2010 11:09 am
Re: Fast Slope HPF Filter
stw wrote:If someone actually wants to do it in Octave one seems to need to install
The control package and The signal package
and just for completeness: How To Install Packages
If you don't want to install stuff on your PC then you can access Octave online via browser interface here. Apparently the relevant packages are already loaded.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
21 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 10 guests