Support

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

DSP related issues, mathematics, processing and techniques

Re: Fast Slope HPF Filter

Postby stw » Thu Aug 06, 2015 9:30 pm

martinvicanek wrote: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. :)

Hey cool, haven't seen that before ;)
stw
 
Posts: 111
Joined: Tue Jul 13, 2010 11:09 am

Re: Fast Slope HPF Filter

Postby Rocko » Fri Aug 07, 2015 2:48 am

So, I reckon 'octave' is a recommended platform for filter/audio playing-around, similar to matlab but free??
Rocko
 
Posts: 186
Joined: Tue May 15, 2012 12:42 pm

Re: Fast Slope HPF Filter

Postby martinvicanek » Fri Aug 07, 2015 6:06 am

Sort of, yes. I have no access to Matlab though. If you google you will find pros and cons for both Matlab and Octave. Matlab is probably too expensive to buy just for entertainment, but if you have access to it the advantage it that there is vast material out there (like the DAFX book). Sharing code within academia is probably also easier with Matlab.
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Fast Slope HPF Filter

Postby Rocko » Fri Aug 07, 2015 1:58 pm

Thanks.

In the module you had sent, cold I replace '2p2z' with a piece of my own logic?
Like I've done to comupte the Biquads for a second order IIR filter?
Can you suggest what mathemtical function does the 2p2z run?

Appreciated,
Rocko
Rocko
 
Posts: 186
Joined: Tue May 15, 2012 12:42 pm

Re: Fast Slope HPF Filter

Postby Rocko » Fri Aug 07, 2015 6:16 pm

Let me calrify my last question.

Is the 2p2z (2pole 2zero) module in the fsm something of the shape:
Y[n]=a0*x[n]+a1*X[N-1]+a2*x[n-2]-b1*x[n-1]-b2*x[n-2]

?
Rocko
 
Posts: 186
Joined: Tue May 15, 2012 12:42 pm

Re: Fast Slope HPF Filter

Postby martinvicanek » Fri Aug 07, 2015 11:15 pm

The 2p2z is a biquad prim. It implements the following recursion:
Code: Select all
y[n] = a0*x[n] + a1*x[n-1] + a2*x[n-2] - b1*y[n-1] - b2*y[n-2]

Note that often the a's and b's are defined the other way around. And yes, of course you can use your own biquad impementation instead. :)
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Fast Slope HPF Filter

Postby Rocko » Thu Aug 13, 2015 3:17 pm

Believe it or not, I can still not run the CNX utility.

I had tried Firefox, Chrome and IE browsers and they inform me that an external plug in is needed to run it (except for IE which doesn't show me anything).
I do not know which plug-in is needed to run this. I guess some kind of flash ?

I tried to download the off-line version and failed as well.
'help' tabs send me to 'page unknown' in NI's web-site...

Can you tell me which browser are you using and what plug-in is used to run this utility?

Appreciated,
Rocko
Rocko
 
Posts: 186
Joined: Tue May 15, 2012 12:42 pm

Re: Fast Slope HPF Filter

Postby Rocko » Thu Aug 13, 2015 3:58 pm

Could I ask you to send over a FSM example of an elliptical 4th order HPF with (-40 Db) stop band ripple, for me to play around in FS and try to correlate it to the 'Iowa hills' calculator ??

I hope this is not to much to ask.

Appreciated ;-)
Rocko
 
Posts: 186
Joined: Tue May 15, 2012 12:42 pm

Re: Fast Slope HPF Filter

Postby martinvicanek » Thu Aug 13, 2015 10:30 pm

Yes, the cnx site requires you to install a plugin. I have done this a while ago so I don't remember the details, I am using Opera but any Java capable browser will do. If you can't make it work then try the Iowa Hills app. I did an example and it worked. Just remember to reorder the coefficients so they go into the right place.

Here is the example that you asked for. Hope that helps!
Attachments
EllipticHighpassFilter2.fsm
(13.51 KiB) Downloaded 1578 times
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Fast Slope HPF Filter

Postby tulamide » Fri Aug 14, 2015 12:00 am

"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

PreviousNext

Return to DSP

Who is online

Users browsing this forum: No registered users and 37 guests