Function waveshaper_hardclip¶
function waveshaper_hardclip(E1 &&, double) dsp¶
template <typename E1>
inline auto waveshaper_hardclip(E1&& input, double clip_level) { … } Hard-clipping waveshaper.
Note
For demonstration only; musically pleasing saturation requires careful modelling.
| input | Input signal expression. |
| clip_level | Symmetric clipping threshold; samples outside [-clip_level, +clip_level] are clamped. |
| Clamped signal expression. |
Fully qualified name: kfr::waveshaper_hardclip(E1 &&, double)
Declared at dsp/waveshaper.hpp:44
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.