Disponible
amalgame-audio
Synth + playback + IO WAV via miniaudio vendored.
Vue d'ensemble
Wrapper sur miniaudio (public domain) — un fichier C cross-platform pour audio playback/capture. Le package ajoute : synthèse basique (oscillateurs, enveloppes), mixer, IO WAV. Idéal pour effets sonores, prototypes audio, outils créatifs légers.
Caractéristiques
- ✓Playback et capture cross-OS (CoreAudio, WASAPI, ALSA, PulseAudio)
- ✓Lecture/écriture WAV en pur Amalgame
- ✓Oscillateurs (sine, square, saw, triangle, noise)
- ✓Enveloppes ADSR et mixer simple
- ✓miniaudio vendored — public domain
Exemple
Exemple minimal d'utilisation — recopiable tel quel après l'install.
amc package add audio
let snd = Wav.Load("beep.wav")
let dev = Audio.Open()
dev.Play(snd)
En bref
- Licence : Apache-2.0
- Installation :
amc package add audio - Code source : amalgame-lang/amalgame-audio
- Index officiel : amalgame-lang/packages-index