Seems a bit outlandish but I guess it probably works.
My iPhone 14 PM sound detection works decently-ish for learned sounds. But the stock sounds detection such as the door knock or glass breaking? I tried it then disabled it. Just too many false hits