Complex sentence: What makes the piece unusual is that (the first waltz tune excepted) all three dances use the same melodic theme: it is the rhythmic and harmonic treatment that gives each dance its own character.
Split into simpler sentences: What makes the piece unusual is that (the first waltz tune excepted) all three dances use the same melodic theme. It is the rhythmic and harmonic treatment that gives each dance its own character.