Hello,
I'm tinkering with a thing with supercollider where I need 2*16 Biquads.
The BLowPass/BHiPass.. already consume 20% of CPU.
I was thinking of setting up a plugin based on the Biquad.h library.
Do you think it's achievable?
Has anyone ever looked at it?
It would seem like a big project for me but the performance gain could be really appreciable.

    dws The BLowPass/BHiPass.. already consume 20% of CPU.

    Is that the CPU usage for each of those or is it the total CPU usage when you have one of them?

    dws Do you think it's achievable?

    yes

    dws Has anyone ever looked at it?

    not that I know of

    dws It would seem like a big project for me but the performance gain could be really appreciable.

    Using QuadBiquad, even if only for one filter instead of 4 should provide significant savings, because of the efficient coding used there. You could start with that and see if the performance gain is enough. It should be easy enough to integrate it: take a simple existing ugen (e.g.: the BLowPass-relevant code from https://github.com/supercollider/supercollider/blob/develop/server/plugins/FilterUGens.cpp ) and replace the relevant parts with calls to QuadBiquad's method.

    @"giuliomoro"Is that the CPU usage for each of those or is it the total CPU usage when you have one of them?
    total CPU

    Merci encore une fois giuliomoro !

      dws total CPU

      That may well be very close to the baseline CPU usage of Supercollider: there is some inherent inefficiency there. Try stacking 10 or 20 instances and see what the differential CPU usage is before you start coding!