#include <impulse_response.hpp>
Public Attributes | |
| double | max_seconds = 0.0 |
| Truncate the IR to at most this many seconds (measured at both the source and the target rate so a huge file can't OOM the decode or the FFT). | |
| bool | normalize_unit_energy = true |
| Scale so the IR has unit energy (‖ir‖₂ = 1), keeping a dry/wet mix sane regardless of the file's recorded level. | |
| double | reject_longer_than_seconds = 300.0 |
| Refuse a file whose duration exceeds this many seconds before decoding (fat-finger guard). | |
| double pulp::audio::ImpulseResponseLoadOptions::max_seconds = 0.0 |
Truncate the IR to at most this many seconds (measured at both the source and the target rate so a huge file can't OOM the decode or the FFT).
0 disables the cap.
| bool pulp::audio::ImpulseResponseLoadOptions::normalize_unit_energy = true |
Scale so the IR has unit energy (‖ir‖₂ = 1), keeping a dry/wet mix sane regardless of the file's recorded level.
| double pulp::audio::ImpulseResponseLoadOptions::reject_longer_than_seconds = 300.0 |
Refuse a file whose duration exceeds this many seconds before decoding (fat-finger guard).
0 disables the preflight.