How to listen for two whistle patterns simultaneously?