First pass at chord detection.