As for the duck, it’s a toy that had a couple of watch batteries and a small PCB inside. Some poking around led him to a pad that activates the quacking when grounded.
Listen to the sounds of honeybee queens "tooting" and "quacking" Scientists using highly sensitive vibration detectors have decoded honeybee queens' "tooting and quacking" duets in the hive.