Characterizing music dynamics for improvisation