You are viewing an old version of Mach (v0.4) see the latest version here.

Truly cross-platform, low-level, audio IO in Zig - playback and recording with backends for:

  • Linux
    • PulseAudio
    • PipeWire
    • Jack
    • ALSA
  • Windows: WASAPI
  • macOS/iOS: CoreAudio
  • WebAssembly: WebAudio

Getting started

First add the Mach standard library to your project so you can @import("mach").sysaudio.

Then check out some example code for usage.

Ran into trouble?

Feel free to join the Mach Discord community for help.