Options for track_cycles. More...
#include <modal_extraction.hpp>
Public Attributes | |
| double | onset_threshold = 1.0e-3 |
| |x| above this counts as the onset. | |
| double | start_offset_s = 0.021 |
| Start tracking this long after the detected onset, to clear the excitation transient. | |
| double | tail_floor_ratio = 3.0e-4 |
| Stop tracking once |x| stays below max(|x|) * this ratio. | |
| int | sigma_half_window = 3 |
| Half-width, in cycles, of the sliding log-envelope fit that yields sigma. | |
| int | min_cycles = 4 |
| A track with fewer usable cycles than this is reported ok = false. | |
Options for track_cycles.
| int pulp::test::audio::CycleTrackOptions::min_cycles = 4 |
A track with fewer usable cycles than this is reported ok = false.
| double pulp::test::audio::CycleTrackOptions::onset_threshold = 1.0e-3 |
|x| above this counts as the onset.
| int pulp::test::audio::CycleTrackOptions::sigma_half_window = 3 |
Half-width, in cycles, of the sliding log-envelope fit that yields sigma.
Wider = smoother but blurs genuine sigma structure; narrower = responsive but noisy. 3 (a 7-cycle fit) is the calibrated default.
| double pulp::test::audio::CycleTrackOptions::start_offset_s = 0.021 |
Start tracking this long after the detected onset, to clear the excitation transient.
The default clears a few ms of contact pulse.
| double pulp::test::audio::CycleTrackOptions::tail_floor_ratio = 3.0e-4 |
Stop tracking once |x| stays below max(|x|) * this ratio.