It seems I attach myself to obsolete technology, right when it is supposed to be removed with the next major release.
Rest in Peace, DirectSound.
I present to you: Chordian

A musical instrument emulation that is about 85% feature complete, released under CC0.
The program currently has savestates, and a pattern editor.
Sources and binaries are available on the GitHub page.
https://github.com/Jan125/pb.chordian
This project had been in stalled development since 2021, because I wanted to document one of these things before they're all broken.
Development has just recently begun again, out of spite for Suzuki trying to sell the new Omnichord for an eyewatering 1000€.
It has been interesting trying to remake an instrument you don't own, and I've also found some... Interesting design decisions in PureBasic.
SoundVolume, for example, is wrapped to 101 steps, while in DirectSound, you have 10001 steps.
Semaphores as implemented by windows are much more versatile, but their naming conventions are very weird.
I have tested it down to Windows 7, and up to Windows 10.
Wine should also be able to run it.
Of note:
The project will not work as Linux or Mac binaries, or in PureBasic 6.1+, because of its dependency on DirectSound.
I would be thankful for feedback and bug reports.