Tiny StateVariableTPTFilter request

It would be useful to have a StateVariableTPTFilter constructor that takes the filter type so that we don’t have to call setType() every time.

The filter is lowpass by default we could just have a constructor like that?

    explicit StateVariableTPTFilter (Type type = Type::lowpass)
    : filterType (type)
    {
        update();
    }

diff.txt (1,3 Ko)