pub fn extract_precomputed(
compiled: &CompiledPedal,
pedal_source: &str,
sample_rate: f64,
) -> PrecomputedScatteringExpand description
Extract a PrecomputedScattering from a compiled pedal.
Iterates over the compiled pedal’s MultiNL stages and extracts scattering matrices, port resistances, VS injection vectors, and pot interpolation tables.
§Arguments
compiled– the compiled pedal processorpedal_source– the original.pedalsource text (used to compute the hash)sample_rate– the sample rate used during compilation (Hz)