Quietnet: Chat client that works over near-ultrasonic sound 13 years ago
This operates within that range at 19K, which is well above what most adult humans can hear: https://github.com/Katee/quietnet/blob/master/options.py#L2
That's not to say it would work on an iPhone.