A piece in a free form, with frequent digressions from the theme; a fantasia; - often called caprice.