Improvisation
In music, improvisation is the art of playing an instrument (or singing) in which the musician or musicians make up the music as they play.  Improvising is inventing at the same time as one does something.  Some musicians only play music when they have written music in front of them, but it can be great fun to improvise music.  It is a way of composing. Improvisation is common during a jam session.