I have no expertise about dog whistles except the one that calls a dog that humans can't hear but................is there one that's LOUD that would hurt the dogs hearing and used when the pup starts his racket. (hurt as in Ouch)
It would also get the dog owner's attention. Lots of dog owners on here so thought perhaps........oh, I bought one (somewhere) when neighbor was having same problem with his neighbor on other side. He wouldn't use it....I must have thrown it away. Had forgotten about that............
Worth doing a Google.............that's how I found one.