play by ear
verb
University
1
To play guided by one's musical perception and intuition, rather than from a written score.
2
To do by guessing, intuition, or trial and error; to react to events as they occur, often with risk of negative outcomes; to improvise.