Hi Florian,

I see that pm.modeFilter uses fi.tf2, which is not designed to accept such
fast coefficient modulations.
I would try replacing that with fi.tf2np, which is more expensive, but
better behaved under extreme modulation.

Cheers,
- Julius


On Tue, Aug 30, 2022 at 11:43 AM Ly Sigk <lys...@gmail.com> wrote:

> Dear Faust community,
>
> I am currently doing some experiments with pm.modeFilter and am
> running into some issues that I can't find a solution for.
>
> When "pinging" pm.modeFilter with a simple trigger while modulating
> its frequency, I occasionally get extremely loud, clipping signals.
> Here is a code example that produces this behaviour:
>
> // WARNING - VERY LOUD SIGNAL
> import("stdfaust.lib");
> trig = ba.pulsen(1, ma.SR / 4);
> freq = no.noise : ba.sAndH(trig) * 12 : abs : rint * 200;
> process = trig : pm.modeFilter(freq, 0.6, 0.1) <: _, _;
>
> In this case I am using a sample-and-hold to get one of the first 12
> harmonics of the base frequency (200 hz).
>
> Interestingly, the issue does not occur when instead using a fixed
> filter frequency or modulating it randomly without constraint to the
> harmonics. Could switching between the harmonics be the cause of the
> issue, maybe by causing some unwanted additional resonance that gets
> out of control?
>
> I'd be happy for any hints on how to get the filter working as expected.
>
> Best,
> Florian
>
>
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>


-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to