Great that "with" can be used that way.

Thanks, Oleg.

Dario

On Tue, 12 Mar 2019 at 15:01, Oleg Nesterov <o...@redhat.com> wrote:

> On 03/12, Dario Sanfilippo wrote:
> >
> > I'm trying to implement the filters from this book
> > https://www.discodsp.net/VAFilterDesign_2.1.0.pdf, which are great, but
> I'm
> > having some issues getting the right design in Faust.
> >
> > I'm trying to implement the diagram 3.31 from page 77. It is a 1p1z LP
> with
> > zero-delay feedback design.
>
> For example:
>
>         lp1z(x) = tick ~ _ : !,_ with {
>                 tick(s) = y + v, y with {
>                         v = (x - s) * G;
>                         y = (v + s);
>                 };
>         };
>
> I don't think letrec makes any sense in this case, the implementation will
> be less
> readable.
>
> Oleg.
>
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to