With his mazurkas and polonaises, Chopin has been credited with introducing to music a new sense of nationalism.