https://github.com/airwindows/airwindows/blob/master/plugins...
Then again, maybe this is the norm for audio engineers? Not my field.
I'd guess those files aren't what the author actually edits - there are commits that suggest that they are _generated_ from "boilerplate", and even a few files that seem to have failed interpolations ("__MyCompanyName__" in some copyright lines, for instance)
A lot of files also seem to have duplicated code, down to individual comments. For instance, the comment on line 24 reoccurs on line 344 of this effect:
https://github.com/airwindows/airwindows/blob/master/plugins...
and in the Mac AU version on line 267:
https://github.com/airwindows/airwindows/blob/master/plugins...
and in the Linux VST version on lines 24 and 344:
https://github.com/airwindows/airwindows/blob/master/plugins...
There's also just things like uneven indentation, lots of things to reduce linecount at the expense of readability like single line if statements. Old optimization tricks that aren't necessary with modern compiler like `while (--sampleFrames >= 0)`.
Here's another example file
https://github.com/airwindows/airwindows/blob/master/plugins...
And the project structure is really weird. Normally you would use a framework like JUCE or iPlug, or write your own, such that your dsp code is written once and your multiplatform code is separate. Instead every platform (Mac, Windows, Linux, VST, AU) are a separate codebase with all the dsp code duplicated.
He's definitely using some sort of templating system to do this, maybe even using some tool that lets him write the dsp in Python or Matlab and converts it to C++. Basically these files in the github are not his true "source", this is generated from his real source. For that reason, commits are often massive and unhelpful in tracing changes to any individual effect.
For example, a recent commit where he added the WolfBot effect, a guitar amp simulator, has 427 changed files and 150,284 added lines. Also even though the commit is titled WolfBot, this commit includes the addition of other fx, CreamCoat, DeRez3, kCathedral3, kGuitarHall, kPlate140, kPlate240.
https://github.com/airwindows/airwindows/commit/7623a1c14b01...