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

2022-08-21 Thread Albert Graef
On Sun, Aug 21, 2022 at 2:51 PM Robin Gareus wrote: > thank you for faust2lv2! It is my favorite target. > Well, I'm afraid that my upstream repo for faust-lv2 has been lagging behind for quite some time now. Fortunately, Stephane, alex-tee, and jpcima have picked up the slack, though. Thanks

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

2022-08-21 Thread Robin Gareus
On 8/20/22 00:23, Albert Graef wrote: > 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

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)) =

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

2022-08-18 Thread Robin Gareus
On 8/19/22 00:24, b...@magnetophon.nl wrote: > Hi Robin, > > When I saw your shelving based MB compressor, I also set out to make a > generic N band and M channel version of it.  :) > I ran into the same problem, and came up with this solution: >

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

2022-08-18 Thread bart
Hi Robin, When I saw your shelving based MB compressor, I also set out to make a generic N band and M channel version of it. :) I ran into the same problem, and came up with this solution: https://github.com/magnetophon/faustExperiments/blob/shelfComp/N_band_Compressor_N_chan.dsp#L47 Hope

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

2022-08-17 Thread Robin Gareus
On 8/17/22 22:12, Hermann Meyer wrote: > > were you could put anything you like into the filterbank, when defined, > while set frequency at runtime. > > process= _: geq: ( dist5s , dist4s , dist3s, dist2s, dist1s) Thanks for the confirmation that what I'm currently doing is not far off the

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

2022-08-17 Thread Hermann Meyer
Am 17.08.22 um 18:10 schrieb Robin Gareus: Hello Faust community, I'm brushing up my FAUST skills. It's been over a decade and it's amazing to see how far things have grown. Well now, I just ran into an issue: How can I place signal primitive into a list? e.g. use _,_ as list arguments

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

2022-08-17 Thread Yann Orlarey
Hi Robin, Welcome back! As written, analyzer needs a list of frequencies as a second argument. These frequencies can be numbers or more complex circuits, but they have to be number-like, i.e. with no input and only one output. So you can't use the identity function _ as a frequency (because it

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

2022-08-17 Thread Robin Gareus
Hi Klaus, Thanks for the reply. If I understand correctly, waveform is a read-only primitive, and only work for constant data. Am I missing something? Do you have an example? I suppose a rwtable could be abused as intermediate. But it seems like overkill, for just getting arguments from a

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

2022-08-17 Thread Klaus Scheuermann
I did a list with wavform once https://faustdoc.grame.fr/manual/syntax/#waveform-primitive Hope it helps... > On 17. Aug 2022, at 18:10, Robin Gareus wrote: > > Hello Faust community, > > I'm brushing up my FAUST skills. It's been over a decade and it's > amazing to see how far things have

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

2022-08-17 Thread Robin Gareus
Hello Faust community, I'm brushing up my FAUST skills. It's been over a decade and it's amazing to see how far things have grown. Well now, I just ran into an issue: How can I place signal primitive into a list? e.g. use _,_ as list arguments (_,_) for `an.analyzer(3, HERE)` If I