The teacher directed the students to dance in the music.