Yeah, they've got this very feature-rich MIDI parser (which can communicate with script code), and they use it as a dumb background music player. Stupid.
As an aside, several attempts were made at a DGDS engine for ScummVM. One of those people has posted videos about music in DGDS (
https://www.youtube.com/@vascocosta3267), and while he realized (or was told by Colin Snover) that these games use the Sierra file format, he didn't realize why: It is simply the same music player!
It surprised me to see just how far they got with the graphics code, judging from those Youtube videos (because that always seemed to be the sticky point). I have made a decompiler for the DGDS scripts (I was fooling around with PyConstruct at the time, and it turned out to be well suited), and while they don't decompile as cleanly as SCI code, they can be annotated with the textual descriptions in the ADS (animation) files. This makes the code pretty understandable.