adplug
« Back to VersTracker
Description:
Free, hardware independent AdLib sound player library
Type: Formula  |  Latest Version: 2.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: audio library retro sound emulation
Install: brew install adplug
About:
AdPlug is a cross-platform, hardware-independent sound player library that emulates the AdLib (OPL2/OPL3) FM synthesis chipset. It supports a wide variety of tracker music formats, including D00, D2M, D4M, and S3M, enabling developers to integrate authentic retro audio into modern applications. Its primary value is providing a single, lightweight API to play classic PC game music without requiring specialized hardware or sound cards.
Key Features:
  • Supports over 30 different music formats including D00, S3M, and MID
  • Hardware-independent FM synthesis emulation
  • Cross-platform C++ library with no external dependencies
  • Small memory footprint suitable for embedded systems
Use Cases:
  • Integrating authentic retro game music into emulators or source ports
  • Developing chiptune players for modern operating systems
  • Preserving and playing back legacy DOS game audio tracks
Alternatives:
  • libADLMIDI – Focuses specifically on OPL3/YM3812 emulation with a slightly different API and format support.
  • SDL_mixer – A broader audio mixing library that supports AdLib via external dependencies but is less specialized for tracker formats.
Version History
Detected Version Rev Change Commit
Nov 14, 2024 5:20pm 0 VERSION_BUMP db76fa2a