I do not doubt your experiences. I have also observed that loud noises indeed scare away animals.
But NOT a pack of dogs in a frenzy when they are actively locked into attacking a person or animal.
As a kid and young adult, I participated in very many wild pig hunts using dogs to drive the pigs out from cover. As intended, very often the dogs would catch and swarm a pig.
With the pig chased down, tired, and somewhat immobilized by the dogs, the next step is to get close to the pig (ten yards or so) and shoot it with a high-powered rifle. By the time you catch up to this, you are also tired and running on adrenaline.The gun used is typically any iron-sighted lever-action or semi-auto. A Winchester Model 1894, Marlin 336, Mini-30, SKS, or AK variant is perfect for this.
Even with the blast (sometimes multiple) of a high-powered rifle only a few yards away and directly towards their ears, the dogs WILL NOT stop until they, or the pig are dead.
I have witnessed incidents when a dog is unintentionally shot during this process. The other dogs pay no mind to this, they do not stop (not even for a second) and will continue to attack the pig.