1 pole lowpass filter

For general discussion related FlowStone
Post Reply
borodadada
Posts: 47
Joined: Sun Jun 02, 2013 5:58 pm

1 pole lowpass filter

Post by borodadada »

Hello guys, i want create simple filter use site http://www.micromodeler.com/dsp/, but i dont understand how work parametr start freq 0 - 0.5
http://rghost.ru/7zqvqbL2L/image.png
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: 1 pole lowpass filter

Post by martinvicanek »

I have an article on filters at http://flowstone.guru/blog/digital-filt ... mechanics/ which you may find useful. You can also download a set of 1 pole filters here: http://flowstone.guru/downloads/first-o ... e-filters/ .
borodadada
Posts: 47
Joined: Sun Jun 02, 2013 5:58 pm

Re: 1 pole lowpass filter

Post by borodadada »

In 1 pole LP filter.

Code: Select all

stage(0)
{
abs = 3.4e38|0.999999|0.1;
}

which means this line ?

Code: Select all

out  = ((out&abs) > 1e-11)&out;

and this
1e-11 ?
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: 1 pole lowpass filter

Post by martinvicanek »

That is a way to prevent denormals, see viewtopic.php?f=4&t=2808#p14876
Post Reply