nowfound

Dev tools · June 8, 2024

IW

I wrote a partial re-implementation of DirectMusic

DirectMusic[1] is a deprecated Windows API for playing dynamic music scores authored using DirectMusic Producer[2]. It was originally released as part of DirectX in 1999 and discontinued with the release in Windows Vista around 2009-ish. Due to my involvement with projects[3] re-implementing an old game engine for the early 2000's games Gothic and Gothic II[4], I came to notice that existing solutions[5] were incorrect and hard to use. Thus, I was tasked with writing a new, correct re-implementation of the API. Today, my re-implementation is able to (mostly) play back so-called style-based…

In plain words

This is a re-implementation of DirectMusic, a deprecated Windows audio API originally released in 1999 for playing dynamic music scores. The tool recreates the API's functionality to support legacy games from the early 2000s, particularly Gothic and Gothic II. The implementation correctly handles style-based music segments and has been tested against original game soundtracks. It is designed for developers working with older game engines who need to play DirectMusic audio files on modern systems where the original API is no longer available.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

DirectMusic[1] is a deprecated Windows API for playing dynamic music scores authored using DirectMusic Producer[2]. It was originally released as part of DirectX in 1999 and discontinued with the release in Windows Vista around 2009-ish. Due to my involvement with projects[3] re-implementing an old game engine for the early 2000's games Gothic and Gothic II[4], I came to notice that existing solutions[5] were incorrect and hard to use. Thus, I was tasked with writing a new, correct re-implementation of the API. Today, my re-implementation is able to (mostly) play back so-called style-based segments[6] and is fully tested against both the Gothic and Gothic II soundtracks. I am actively working on getting the Lego Island 2 soundtrack working as well. There are many features of DirectMusic which the library does not currently support, simply because I have not been able to find or test soundtracks using them, so if you want to contribute, I'd love to know about software shipping with DirectMusic soundtracks! [1]: https://en.wikipedia.org/wiki/DirectMusic [2]: https://www.vgmpf.com/Wiki/index.php?title=DirectMusic_Produ... [3]: Specifically GothicVR (https://github.com/GothicVRProject/GothicVR) and OpenGothic (https://github.com/Try/OpenGothic) through my ZenKit library (https://github.com/GothicKit/ZenKit) [4]: https://en.wikipedia.org/wiki/Gothic_II [5]: There is libdmusic (https://github.com/libdmusic/libdmusic) which is unmaintained and an embedded implementation in OpenGothic (https://github.com/Try/OpenGothic) [6]: https://documentation.help/DirectMusic/howmusicvariesduringp...

Does the same job

all alternatives →
  • Dynascore2021 · ▲83

    The world's first dynamic music engine

  • BG
    Billard – Generate music from ball collisions in 2D space2024 · billard.medusis.com · ▲306

    Hello HN! Here's Billard. It combines music and physics into a unique creative tool, as I explore various unconventional methods for generating music. Most traditional music composition tools revolve around the idea of a repeatable pattern. Billard is a webapp that never repeats itself. It generates music automatically based on the collisions of balls in a 2D space. Collisions trigger notes (or chords) in a given key. One can add balls or move them (y-position is pitch); the app remembers its state between reloads; or it can be reset with the 'init' button on the top left. Gravity can be…

  • PM
    Procedural Music Workstation in the BrowserMar 2026 · manager.kiekko.pro · ▲9

    As a side project for a hockey manager game, I created a small audio tracker, "HM Tracker," which was used to make the game's music. It is a browser-based tracker-style music workstation. All sound is procedurally generated from oscillators - no samples, no plugins. The UI lets you edit patterns on a step grid, pick instruments and chords, then export as a standalone JS music engine or WAV file. Built with vanilla JS and the Web Audio API (best experienced on a desktop browser). Made in the '90s demoscene spirit (at least the looks, anyway). Would love any feedback!

  • FM
  • Sndtst2014 · ▲124

    8-bit video game music

  • CM
    Computer Music with Python2020 · github.com · ▲105

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, June 2024

the whole month →
  • Pygma1,409

    AI copilot for Instagram

    AI · 2024 · pygma.me

  • Cello1,347

    Easiest way to add a referral program to your SaaS

    Growth · 2024 · cello.so

  • Create personalized, multi-channel conversations at scale

    AI · 2024 · lagrowthmachine.com

  • FlowMapp 3.01,147

    Visual website planning in the most powerful way

    Work · 2024 · flowmapp.com

  • Revolutionary AI email, reimagined for teams

    AI · 2024 · superhuman.com

  • PyjamaHR1,132

    Hiring on autopilot. The AI applicant tracking system (ATS).

    Work · 2024 · pyjamahr.com