Skip to main content

Module audio

Module audio 

Source
Expand description

U3 AcousticPlane — spectral-first + symbolic sonic tokens.

Re-exports§

pub use acoustic_plane::acoustic_enabled_for_mode;
pub use acoustic_plane::acoustic_params_from_tensor;
pub use acoustic_plane::drain_sonic_tokens;
pub use acoustic_plane::pop_sonic_token;
pub use acoustic_plane::push_sonic_token;
pub use acoustic_plane::sonify_tensor_node;
pub use acoustic_plane::AcousticParams;
pub use acoustic_plane::AcousticUniform;
pub use acoustic_plane::SonicTokenRing;
pub use acoustic_plane::SONIC_RING_CAP;
pub use acoustic_sab::init_acoustic_sab;
pub use acoustic_sab::push_token_to_sab;
pub use acoustic_sab::read_uniform_from_sab;
pub use acoustic_sab::write_uniform_to_sab;
pub use acoustic_sab::write_uniform_to_sab_with_mirror;
pub use acoustic_sab::AcousticSabHeader;
pub use acoustic_sab::ACOUSTIC_SAB_BYTES;
pub use acoustic_sab::ACOUSTIC_SAB_MAGIC;
pub use audio_sidecar_link::bake_audio_sidecar_into;
pub use audio_sidecar_link::compile_spectral_sheet_quin;
pub use audio_sidecar_link::enrich_preview_from_sidecar;
pub use audio_sidecar_link::format_sidecar_relpath;
pub use audio_sidecar_link::sidecar_content_hash;
pub use audio_sidecar_link::SidecarBakeKind;
pub use audio_spectral_sheet::parse_sidecar_header;
pub use audio_spectral_sheet::AudioSpectralSheetView;
pub use audio_spectral_sheet::AudioSpectralSidecarHeader;
pub use audio_spectral_sheet::SPECTRAL_PREVIEW_BINS;
pub use audio_spectral_sheet::SPECTRAL_SIDECAR_MAGIC;
pub use cqt_bake::bake_cqt_sidecar_from_preview;
pub use cqt_bake::bake_cqt_sidecar_from_samples;
pub use cqt_bake::forward_cqt;
pub use dsp_kernel::epistemic_fm_index;
pub use dsp_kernel::epistemic_temperature_from_q;
pub use dsp_kernel::ParametricVoiceState;
pub use hrtf::binaural_from_position;
pub use hrtf::binaural_render;
pub use hrtf::convolve_fir;
pub use hrtf::set_hrtf_profile;
pub use hrtf::synthesize_hrir;
pub use hrtf::BinauralGains;
pub use hrtf::HrtfProfile;
pub use stft::bake_stft_sidecar_from_samples;
pub use stft::forward_stft;
pub use stft::stft_magnitudes;
pub use stft_bake::bake_stft_sidecar_from_preview;
pub use stft_bake::bake_tensor_stft_sidecar;
pub use stft_bake::StftBakeError;

Modules§

acoustic_plane
U3 AcousticPlane — SPSC sonic token ring + parametric uniform for AudioWorklet.
acoustic_sab
SharedArrayBuffer layout for zero-copy U3 uniform + sonic token mirror (Phase 7.4).
audio_sidecar_link
Cold-path audio sidecar linker — bake, hash, mmap-ready bytes, optional native file write.
audio_spectral_sheet
Spectral-first audio truth layer — mmap sidecar headers + zero-heap hot views.
cqt_bake
Constant-Q transform sidecar bake — log-spaced bins for timbral integrity (cold path).
dsp_kernel
Parametric DSP kernel — epistemic τ / FM modulation for U3 AcousticPlane.
hrtf
HRTF — analytic + KemarLite embedded tables (zero-heap hot path).
istft
AU-CORE-DSP — real inverse STFT (WOLA resynthesis; reuses qualia-audio). Native only. Real inverse STFT — resynthesise a time-domain signal from the two-sided complex frames produced by crate::audio::stft::forward_stft.
stft
Real forward STFT over actual audio samples — Hann-windowed framing through the forge FFT (crate::wgsl_forge::dispatch::fft_f32, GPU best-path with CPU DFT floor).
stft_bake
Cold-path STFT/CQT sidecar bake — preview bins → mmap-ready AudioSpectralSidecarHeader payload.
tf_surface
P7.5 — Time-frequency surface view over STFT/CQT rasters. P7.5 — Audio time-frequency SURFACE view over STFT/CQT rasters.
tf_surface_edit
P7.6 — Audio edits as geometric surface operations. P7.6 — Audio edits as geometric surface operations on the time-frequency surface.