Shepherd's whistle
They are also produced commercially. Simple whistles may cost less than 1 USD in bulk; expensive ones may be quite ornate. They are commonly made of plastic, aluminum, stainless steel, silver, brass, titanium, Corian, jade, buffalo horn and other materials.
Physics of whistles
There has been considerable development of these devices from circuit switches that are immune to electromagnetic pulses to more modern uses.