They are composed on trackers and the mod files are more akin to a MIDI file than they are “waveforms and shit”. At least not if you talk about “waveforms” in the PCM sense of the term.
The evolution of these mod files is an interesting one. Epic were the ones who most leaned into this for commercial uses. Games like the original Unreal and Jazz Jackrabbit 2 had some awesome sounding music and was the same mod files.
As a much younger nerd and hobby hacker too, I always wondered how those keygens were so small in size yet sounded so modern. Took years before I learned about trackers. I was pretty late to the game on that one.
From there, a given tracker would have all kinds of shenanigans available for manipulating the audio, in addition to whatever one wanted to do in an external audio program with a full effects stack.
Once you noodle around with synthesizers a bit, everything looks like either an oscillator or a transform... and who cares what the oscillator is.
It was kind of like writing music in hexadecimal.
I wasn’t particularly good at it though. I much preferred the workflow of a sequencer to a tracker.
Pretty straigthforward. "The scene" originated in 6502 or 68000 or what have you assembly programmers in the '80s. If you program assembly, you crack software. If you program assembly, you make cool graphics tricks to show off your fast code. And, if you program a computer in the '80s, the sound card is basically just a synthesizer chip, waveforms and shit, thus, chiptunes.