After my researches, I can finally start to design the actual experience. I chose to structure the program into a game with the following steps:
Select the music
Start music and movement capture with Kinect
Print dance score
After the last step is done, the game will start automatically from the beginning, making a constant loop. In this way, people will be able to use it in turn, during the exhibition.
When the Kinect recognise the user, a 3 seconds timer starts in order to give the person enough time to prepare himself bolero starting to dance. At that point, the music will start and the person will have to dance. The Kinect will capture the images of his skeleton while the program saves all the coordinates into a CSV table.
In this CSV table, I save every point of the skeleton, like the Head, the Neck, the Left Shoulder, the Right Shoulder, etc. I save both x and y axes, in this way I can draw them into the PDF.
When the song is finished, I can start to create the PDF. I created it by putting on a line the music score and, on the next line, five of the skeletons that I saved on the CSV table. By reading a full line of the table I have got all the points that I need to draw back the skeleton.
When the PDF is being printed out, the user will just have to collect it.