Expand description
Audio runtime: a 4-channel chip-tune synthesizer.
The synth core is pure (samples in, samples out) so it can be tested
headless; AudioOutput hooks it to a real device via cpal when the
audio feature is enabled and an output device exists. On machines
with no audio device Pixel8 stays silent but fully functional.
Structs§
- Audio
Handle - Clonable handle the VM and editors use to poke the synth.
- Audio
Output - Real audio output via cpal. Owns the stream; dropping it stops audio.
- Synth
- The synthesizer: voices, sequencer and a copy of the cart’s audio data.