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
apply_binaural_to_uniform
drain_sonic_tokens
Drain up to out.len() tokens; returns count written.
pop_sonic_token
push_sonic_token
sonic_token_ring
sonify_tensor_node
Emit parametric pulse + optional NoteOn from a tensor node (U1 → U3).