added detection of frequencies near a whistle