So you are not going to point out which part of you genius scripts is responsible for enabling audio?
No, I am not curious about how your script works. It is essential to know that so that it does not mess up the system.
You have hidden one script into another, so that it calls functions from somewhere. It is not possible to trace the logic in them. You have deliberately made them difficult to understand. Sitting on your knowledge like a dog on a haystack.
You have been evading answer. First you say there is no kext used, then you say it is spelled incorrectly. Can you answer the damn question and be helpful for a quarter of a second for a change instead of picking on things?
By the way, you might not be able to answer this after all. As I just noticed that sound appears if you unplug and replug the HDMI monitor.