Skip to main content

Module acoustic

Module acoustic 

Source
Expand description

Phenomenal U2/U3 spectral parity — shared σ truth for vision and AcousticPlane (P-F2).

Visual: portal_spectral::sigma_to_cie_xyz / spectral.wgsl (λ ≈ 400–700 nm). Audio: sigma_to_center_frequency_hz folds the same λ band into audible Hz for parametric synth.

Constants§

ACOUSTIC_UNIFORM_FLOAT_COUNT
ACOUSTIC_UNIFORM_SCALAR_COUNT
Flat uniform scalar count pushed to AudioWorklet (acoustic_uniform_floats).

Functions§

phenomenal_acoustic_params
Build phenomenal acoustic params — σ oracle drives frequency; preview bins carry tensor lerp.
phenomenal_fm_index
phenomenal_voice_frequency_hz
Frequency + FM for worklet — uses phenomenal σ mapping (not bin peak alone).
sigma_to_center_frequency_hz
Phenomenal audio twin: map σ → center frequency (Hz) for parametric voice.
sigma_to_wavelength_nm
Wavelength (nm) — must stay aligned with portal_spectral::sigma_to_cie_xyz.