13
0

Add API for Lua DSP to directly set Biquad coefficients

This commit is contained in:
Robin Gareus 2022-11-01 14:51:07 +01:00
parent e819af1948
commit c9a9f40987
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3019,6 +3019,7 @@ LuaBindings::common (lua_State* L)
.addFunction ("run", &DSP::Biquad::run) .addFunction ("run", &DSP::Biquad::run)
.addFunction ("compute", &DSP::Biquad::compute) .addFunction ("compute", &DSP::Biquad::compute)
.addFunction ("configure", (void (DSP::Biquad::*) (DSP::Biquad const&))&DSP::Biquad::configure) .addFunction ("configure", (void (DSP::Biquad::*) (DSP::Biquad const&))&DSP::Biquad::configure)
.addFunction ("set_coefficients", (void (DSP::Biquad::*) (double, double, double, double, double))&DSP::Biquad::configure)
.addFunction ("reset", &DSP::Biquad::reset) .addFunction ("reset", &DSP::Biquad::reset)
.addFunction ("dB_at_freq", &DSP::Biquad::dB_at_freq) .addFunction ("dB_at_freq", &DSP::Biquad::dB_at_freq)
.endClass () .endClass ()