Available
amalgame-audio
Synth + playback + WAV IO via vendored miniaudio.
Overview
Wrapper around miniaudio (public domain) — a single C file for cross-platform audio playback/capture. The package adds: basic synthesis (oscillators, envelopes), mixer, WAV IO. Ideal for sound effects, audio prototypes, lightweight creative tools.
Features
- ✓Cross-OS playback and capture (CoreAudio, WASAPI, ALSA, PulseAudio)
- ✓WAV read/write in pure Amalgame
- ✓Oscillators (sine, square, saw, triangle, noise)
- ✓ADSR envelopes and a simple mixer
- ✓miniaudio vendored — public domain
Example
Minimal usage example — copy-paste runnable after install.
amc package add audio
let snd = Wav.Load("beep.wav")
let dev = Audio.Open()
dev.Play(snd)
At a glance
- License: Apache-2.0
- Install:
amc package add audio - Source: amalgame-lang/amalgame-audio
- Official index: amalgame-lang/packages-index