capriccio

noun

1.
an instrumental composition that doesn't adhere to rules for any specific musical form and is played with improvisation