note detection