Does the word "note" mean the same thing in "It ended on a sour note." and "He detected a note of sarcasm."?
the same meaning