Expand description
Cold-path audio sidecar linker — bake, hash, mmap-ready bytes, optional native file write.
Links baked tensors to q42:hasSpectralSheet NQuin objects at ingest.
Enums§
Functions§
- bake_
audio_ sidecar_ into - Bake sidecar bytes into
out; returns (content_hash, bytes_written). - compile_
spectral_ sheet_ quin - Emit linker NQuin: subject →
q42:hasSpectralSheet→ sheet index (lower 60 bits of hash). - enrich_
preview_ from_ sidecar - Hot path: overlay mmap/CQT/STFT column into uniform preview bins.
- format_
sidecar_ relpath - Write relative path
spectral/audio/{hash:016x}.bininto caller buffer; returns length. - link_
tensor_ audio_ sidecar - Bake from tensor preview + link quin for cold ingest pipelines.
- sidecar_
content_ hash - FNV-1a over preview bins — stable sidecar filename hash.
- write_
sidecar_ file