To design a new process or mechanism.
To create something fictional for a particular purpose.
To do by guessing, intuition, or trial and error; to react to events as they occur; improvise
To play guided by one's musical ear, rather than from a written score.