by ear vs spur-of-themoment

by ear

prep
  • To do by guessing, to improvise. 

  • To play (an instrument) or sing or to learn music without reading or memorizing sheet music; to learn a language without instruction. 

spur-of-themoment

How often have the words by ear and spur-of-themoment occurred in a corpus of books? (source: Google Ngram Viewer )