How does it work?

This is pretty simple. Whistle.js is monitoring certain frequencies, acquired via getUserMedia :