improved FrequencyUtil.findLoudestNotes algorithm