Re: [Faudiostream-users] How to place values in lists?

2022-08-19 Thread Albert Graef
On Fri, Aug 19, 2022 at 6:23 PM Yann Orlarey wrote: > We will never thank Albert Graef enough for the black magic of pattern > matching in Faust ;-) > Thanks! So even though nobody uses Pure much these days (including myself), its pattern-matching code will survive in Faust. ;-) I was about to

Re: [Faudiostream-users] How to place values in lists?

2022-08-19 Thread Yann Orlarey
Hi Robin, We will never thank Albert Graef enough for the black magic of pattern matching in Faust ;-) Concerning "outputs()" it is not exactly the same as "ba.count()" but it will give the same result for a usual list of numbers (*). But "outputs()" being primitive, based on internal

Re: [Faudiostream-users] How to place values in lists?

2022-08-19 Thread Robin Gareus
On 8/19/22 08:19, Yann Orlarey wrote: > Hi Robin, > > Here is a generic shelfcascade with an arbitrary list of frequencies. The > gains are directly routed. They are in the reverse order (the first input > is the gain of the last stage). > > > shelfcascade(lf) = bus(lf), ls3(first(lf)) : sc(lf)

Re: [Faudiostream-users] How to place values in lists?

2022-08-19 Thread Yann Orlarey
Hi Robin, Here is a generic shelfcascade with an arbitrary list of frequencies. The gains are directly routed. They are in the reverse order (the first input is the gain of the last stage). shelfcascade(lf) = bus(lf), ls3(first(lf)) : sc(lf) // lf : list of frequencies with { sc((f1, f2, lf)) =