Expand description
HRTF — analytic + KemarLite embedded tables (zero-heap hot path).
Full measured KEMAR datasets are optional cold assets; default hot path uses KemarLite (8-azimuth ITD/ILD samples) with analytic fallback.
Structs§
- Binaural
Gains - Binaural staging gains + ITD for stereo worklet.
Enums§
- Hrtf
Profile - HRTF synthesis profile (hot path).
Functions§
- binaural_
analytic - Analytic binaural gains — azimuth ∈ [-π, π], elevation ∈ [-π/2, π/2].
- binaural_
from_ position - Dispatch binaural model from active
HrtfProfile. - binaural_
kemar_ lite - KemarLite binaural — interpolated embedded ITD/ILD tables.
- binaural_
render - Render a
monosource atsource(world space) into a binaural pair. - convolve_
fir - Direct linear (FIR) convolution:
y[i] = Σ_j signal[j]·h[i-j]. - head_
relative_ position - Rotate source position into head frame (listener at origin, yaw around Y).
- hrtf_
profile - room_
damp_ from_ manifold - Manifold
wbiases room absorption (higher w → softer highs). - set_
hrtf_ profile - synthesize_
hrir - Synthesize left/right HRIRs from
gains.