The music definitely existed before the dance. The Viennese Waltz was already known before the French Revolution but it took a while for the dance to become accepted because the closed hold necessary for a Viennese Waltz was considered impossible by society. The dance was officially presented at the "Wiener Kongress" in 1815, this also marked the beginning of the dance being accepted by society.