You might be interested to read about whistled languages, which is pretty close to that idea:

https://en.wikipedia.org/wiki/Whistled_language