Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::audio::WavetableCompileResult Struct Reference

#include <wavetable_authoring.hpp>

Public Member Functions

bool valid () const noexcept

Public Attributes

WavetableCompileStatus status = WavetableCompileStatus::InvalidSource
std::vector< signal::WavetableEntry > bands
WavetableAuthoringRecipe recipe
WavetableAuthoringProvenance provenance
WavetableCycleSelection chosen_cycle
double cycle_correlation = 0.0
 Estimator correlation for automatic selection; 0 for an explicit cycle, where no correlation estimate is performed.
double source_seam_level_error = 0.0
double source_seam_slope_error = 0.0
std::string source_audio_sha256
 Canonical source digest: domain tag, little-endian dimensions and sample rate, then channel-major IEEE-754 sample bits with negative zero folded.
std::string materialized_table_sha256
 Canonical digest of the returned band snapshot: domain tag, ordered ceilings, dimensions, and IEEE-754 samples.

Member Function Documentation

◆ valid()

bool pulp::audio::WavetableCompileResult::valid ( ) const
inlinenoexcept

Member Data Documentation

◆ bands

std::vector<signal::WavetableEntry> pulp::audio::WavetableCompileResult::bands

◆ chosen_cycle

WavetableCycleSelection pulp::audio::WavetableCompileResult::chosen_cycle

◆ cycle_correlation

double pulp::audio::WavetableCompileResult::cycle_correlation = 0.0

Estimator correlation for automatic selection; 0 for an explicit cycle, where no correlation estimate is performed.

◆ materialized_table_sha256

std::string pulp::audio::WavetableCompileResult::materialized_table_sha256

Canonical digest of the returned band snapshot: domain tag, ordered ceilings, dimensions, and IEEE-754 samples.

Recipe and provenance are intentionally excluded. Callers that mutate bands must treat this digest as stale.

◆ provenance

WavetableAuthoringProvenance pulp::audio::WavetableCompileResult::provenance

◆ recipe

WavetableAuthoringRecipe pulp::audio::WavetableCompileResult::recipe

◆ source_audio_sha256

std::string pulp::audio::WavetableCompileResult::source_audio_sha256

Canonical source digest: domain tag, little-endian dimensions and sample rate, then channel-major IEEE-754 sample bits with negative zero folded.

◆ source_seam_level_error

double pulp::audio::WavetableCompileResult::source_seam_level_error = 0.0

◆ source_seam_slope_error

double pulp::audio::WavetableCompileResult::source_seam_slope_error = 0.0

◆ status

WavetableCompileStatus pulp::audio::WavetableCompileResult::status = WavetableCompileStatus::InvalidSource

The documentation for this struct was generated from the following file: