Expand description
Sound rendering for the SIM music constellation.
This crate turns synthesized Tones into
interleaved PCM audio. PcmRenderer renders single tones and mixes
scheduled tones with per-tone timing and panning, and encodes the result as
16-bit WAV; RendererOptions configures the sample rate and channel
count.
Structs§
- PcmRenderer
- A renderer that synthesizes tones into interleaved PCM
f32samples and encodes them as WAV. - Renderer
Options - Configuration for a
PcmRenderer. - Sound
Render Lib - Host-registered lib exporting the PCM renderer card.
Enums§
- Sound
Render Error - Error raised by sound rendering and WAV encoding.
Functions§
- install_
sound_ render_ lib - Installs the sound-render lib into
cx, registering the PCM renderer export record (idempotent).