You can search github:Yea I did. Where do I het the latest template?
I've got another question, is it possible to set a maximum volume for the earpiece? Like for example, when my main speaker is at 40% the earpiece is 40%, but when my main speaker is 100%, the earpiece is still at 40% or limited to a certain volume. Because I'm happy with the volume balance between the earpiece and the speaker so I don't want to turn down the earpiece value in mixer_gains.xml, but the earpiece is dangerously loud when the volume is >80%. At least by limiting the earpiece volume, I still get a balanced sound between the two drivers at lower volumes.
Or if it's not possible, then how do I lower the maximum overall volume? It would lower the main speaker's max volume, but it still would have louder total volume if you add up the earpiece.
Thanks in advance!I'll send you the mod for my phone after I've perfected it so that others could use it too.
Edit: I've attached the mixer files I've edited so far

Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
Or create it yourself
https://github.com/topjohnwu/magisk-module-installer
as @topjohnwu has made it DIY...
As for your question, you can set the earpiece volume to safe level without affecting the speaker volume, but lowering the speaker volume will affect the sound quality, wouldn't make sense, you could try combining it with another sound mod but first, make sure your module is working, after that test different sound mods with yours till you find what you need...