29 std::string_view scenario);
39 std::string_view scenario);
Deterministic offline signal metrics for rendered audio buffers.
Definition audio_artifacts.hpp:20
std::string metrics_to_json(const BufferMetrics &metrics, std::string_view scenario)
Serialize metrics to a JSON string.
std::filesystem::path write_metrics_artifact(const BufferMetrics &metrics, std::string_view scenario)
Write metrics_to_json() to <temp>/pulp-audio-metrics/<sanitized-scenario>.json (overwriting any previ...
constexpr std::int64_t kMetricsArtifactSchemaVersion
Current artifact schema version.
Definition audio_artifacts.hpp:24
Whole-buffer facts. channels.size() == channel count.
Definition audio_metrics.hpp:62