capriccio

noun
  1. a lively musical composition in free form, often with sudden changes in tempo or mood
  2. Usage: music
  3. a whimsical or fanciful work of art or literature
  4. Usage: art; literature

Examples