Simple cellphones can tell one type of mosquito from another by their hums, which may be useful in fighting mosquito-borne diseases, according to new research from Stanford University.

Calling their project “Shazam for Mosquitoes,” after the phone app that identifies music, students from the university’s Bio-X institute showed that common cellphones could record mosquito wing beats accurately enough to distinguish, for example, Culex mosquitoes, which spread West Nile virus, from Aedes mosquitoes, which spread Zika.

Even older flip phones, which are still used in parts of Africa, are sensitive enough to do the job.

The students envision a crowdsourcing initiative in which phone users around the world send in sound samples of mosquitoes landing on them, which could be sorted by the embedded GPS and time coordinates to build a worldwide mosquito distribution map.