Skip to main content

Crate secs_project

Crate secs_project 

Source
Expand description

SECS 2 compatible .secs project files and .irs WAV storage.

Re-exports§

pub use pyjson::PyJson;
pub use pyjson::PyJsonError;
pub use pyjson::dumps;
pub use pyjson::dumps_compact;
pub use pyjson::loads;
pub use pyjson::loads_with_budget;

Modules§

pyjson
Python-compatible JSON values, parser, and pretty-printer.

Structs§

AttachedCalibration
Calibration curves a measurement source sidecar attaches (ADR 0015). meterCal precedes every scCal; only entries with equal freq and gain lengths of at least two points are attached.
Band
DspProfile
FloatKey
IrCache
MeasurementPlan
MeasurementRecord
MeasurementResult
MeasurementSignatureEntry
MeasurementStore
MigrationWarning
PlanValidationError
Project
RemovedPosition
A removed position: its measurement entries (with their list indices) and the SNR values the store held for it.
Speaker
SpeakerConfig
TargetCurve
A target response in dB over frequency in Hz, kept sorted by frequency.

Enums§

LoadedIr
ProjectError
TimingReference

Constants§

FOCUS_STEPS
IR_CACHE_LIMIT_BYTES
MAX_IR_BYTES
MAX_PROJECT_BYTES
PROJECT_VERSION
SWEEP_LENGTHS
Sweep lengths a measurement plan accepts, shortest first.

Traits§

TargetJson
.secs conversion of TargetCurve, whose arithmetic lives in secs-types so the engine can sample it without depending on file formats.

Functions§

attached_calibration
Selects the sidecar calibration that ADR 0015 applies.
calibration_fingerprint
FNV-1a 64 fingerprint of attached curves and the C-weighting flag. Returns None when the sidecar attaches no response correction.
calibration_from_project
default_bands
default_ref_role
estimate_seconds
estimate_subs_seconds
estimate_xo_seconds
estimate_xo_seconds_on
estimate_xo_seconds on a machine with cpu_count logical cores. The candidates run on half the cores, as upstream’s mimo_iir._workers does.
ir_directory
ir_file
load_ir
load_project_irs
load_project_sources
load_source
measured_positions
measurement_roles
measurement_signature
migrate_calibration_keys
migrate_group_keys
ordered_speakers
plan_from_project
position_seconds
project_spl_offset
Median REW SPL offset in dB across every project measurement entry.
read_mono_float_wav
Reads mono PCM 16/24/32 and IEEE float 32/64 WAV, including extensible WAV. PCM 8-bit and valid-bit/container combinations other than left-aligned PCM in a 32-bit container are unsupported. It also does not decode compressed codecs, RF64, endian-swapped RIFX, multichannel audio, or containers other than WAV.
read_wav_float32
rename_keys
save_ir
save_source
snap_focus
source_path
split_role
start_delay_seconds
store_calibration
sweep_length_samples
sweep_seconds
target_key
timing_settings
try_write_wav_float32
write_wav_float32
Writes the upstream mono float32 RIFF layout.