Skip to main content

Module acoustic_plane

Module acoustic_plane 

Source
Expand description

U3 AcousticPlane — SPSC sonic token ring + parametric uniform for AudioWorklet.

Shares U1 Tensor10D SOA read-only; no dedicated VRAM partition until bake sidecars land.

Structs§

AcousticParams
Scalar params extracted from a tensor node (no heap).
AcousticUniform
Worklet uniform — mirrors AcousticParams with fixed preview bins.
SonicTokenRing
Fixed-capacity SPSC ring of packed SonicToken (u64).

Constants§

SONIC_RING_CAP

Functions§

acoustic_effective_mode
U3 effective mode — shares U1 ledger; follows viewport pressure in Reserve.
acoustic_enabled_for_mode
True when U3 synthesis is allowed under operational mode (muted in Reserve).
acoustic_params_from_tensor
Alias for phenomenal_acoustic_params — the canonical tensor→params extraction used by the U3 plane.
apply_binaural_to_uniform
Compute binaural gains/ITD/azimuth/elevation from the uniform’s position and listener yaw, and set room damping from the manifold weight.
drain_sonic_tokens
Drain up to out.len() tokens; returns count written.
pop_sonic_token
Pop the oldest token from the global ring, if any.
push_sonic_token
Push a token onto the global ring; false when full (token dropped).
sonic_token_ring
The process-global U3 sonic token ring.
sonify_tensor_node
Emit parametric pulse + optional NoteOn from a tensor node (U1 → U3).