Expand description
Synthetic speaker curve generation for QA testing.
Provides deterministic test scenarios with known ground truth for validating optimization algorithms without relying on real measurement data.
Modules§
Structs§
- Cardioid
Synthetic Scenario - Synthetic cardioid subwoofer scenario (front + rear sub with separation).
- Curve
- A struct to hold frequency and SPL data. Re-exported from the main autoeq crate for compatibility.
- DbaSynthetic
Scenario - Synthetic Double Bass Array scenario (front array + rear array).
- Multi
SubSynthetic Scenario - Synthetic multi-sub scenario with per-subwoofer measurements.
- Synthetic
Scenario - Full synthetic scenario with known ground truth.
Enums§
- Autoeq
Error - Error type for autoeq operations.
Functions§
- add_
noise - Add Gaussian noise (in dB domain) with configurable RMS and deterministic seed.
- apply_
known_ eq - Apply known biquad filters to a curve (simulates room modes).
- generate_
cardioid_ scenario - Generate a synthetic cardioid subwoofer scenario.
- generate_
channel_ curve - Generate a full-range degraded channel curve from a base target.
- generate_
dba_ scenario - Generate a synthetic DBA scenario.
- generate_
flat_ curve - Generate a flat curve at 0 dB SPL with log-spaced frequency points.
- generate_
harman_ tilt_ curve - Generate a Harman-style tilt curve (-0.8 dB/octave from 200 Hz reference).
- generate_
multisub_ scenario - Build a multi-sub synthetic scenario.
- generate_
scenario - Build a complete test scenario: target → +noise1 → +room_modes → +noise2
- generate_
speaker_ rolloff_ curve - Generate a speaker-like rolloff curve: 0 dB above
crossover_freq, rolling off atslope_db_per_octdB/octave below it (negative slope = highpass rolloff). - generate_
sub_ curve_ with_ phase - Generate a bass-range curve with simulated propagation delay phase.
- generate_
subwoofer_ rolloff_ curve - Generate a subwoofer-like rolloff curve: 0 dB below
crossover_freq, rolling off atslope_db_per_octdB/octave above it (negative slope = lowpass rolloff). - try_
generate_ flat_ curve - Checked variant of
generate_flat_curve. - try_
generate_ harman_ tilt_ curve - Checked variant of
generate_harman_tilt_curve. - try_
generate_ speaker_ rolloff_ curve - Checked variant of
generate_speaker_rolloff_curve. - try_
generate_ subwoofer_ rolloff_ curve - Checked variant of
generate_subwoofer_rolloff_curve.
Type Aliases§
- Result
- Result type alias for autoeq operations.