Sounds a bit like imitone https://imitone.com/ (I have no affiliation)
FYI, Imitone has a patent, I don't know what it covers or claims though.
The relevant patent is from 1986, long expired: https://www.jefftk.com/p/ugo-contis-whistle-controlled-synth...
The relevant patent is from 1986, long expired: https://www.jefftk.com/p/ugo-contis-whistle-controlled-synth...