34 std::string_view scenario);
57 std::string_view scenario);
63 std::string_view scenario);
68 std::string_view scenario);
74 std::string_view scenario);
Buffer-level offline spectrum analyzers: magnitude/frequency response and harmonic distortion (THD / ...
Definition audio_artifacts.hpp:20
std::filesystem::path write_phase_artifact(const PhaseCurve &curve, std::string_view scenario)
Write phase_curve_to_json to <temp>/pulp-audio-doctor/<sanitized-scenario>.groupdelay....
std::filesystem::path write_response_artifact(const ResponseCurve &curve, std::string_view scenario)
Write response_curve_to_json to <temp>/pulp-audio-doctor/<sanitized-scenario>.response....
constexpr std::int64_t kDoctorCurveSchemaVersion
Current Doctor-curve schema version.
Definition audio_doctor_artifacts.hpp:29
std::filesystem::path write_thd_artifact(const ThdResult &thd, std::string_view scenario)
Write thd_to_json to <temp>/pulp-audio-doctor/<sanitized-scenario>.thd.json and return path.
std::string response_curve_to_json(const ResponseCurve &curve, std::string_view scenario)
Serialize a magnitude/response curve to a JSON string.
std::string phase_curve_to_json(const PhaseCurve &curve, std::string_view scenario)
Serialize a phase/group-delay curve to a JSON string.
std::string thd_to_json(const ThdResult &thd, std::string_view scenario)
Serialize a THD result to a JSON string (including the harmonic breakdown).
Phase / group-delay curve of a transfer function.
Definition audio_spectrum.hpp:347
Magnitude/frequency-response curve.
Definition audio_spectrum.hpp:214
Total harmonic distortion result.
Definition audio_spectrum.hpp:537