Playing music

In the Box Library, you can find a Play Sound box under Audio which allows you to play music on NAO.

Music box

Warning:

Make sure you are connected to a real NAO before realizing this tutorial.

  1. Drag and drop the Play Sound box onto the Flow Diagram and double-click on it.

    Inside the Music box

    > 2 boxes are enclosed in the Play Sound box as shown in the above diagram.

  2. Click on the wrench of the Get File Path box.
  3. Click on the Browse button button to browse and open the music file you want to listen to.

    The project file chooser dialog box is displayed. Select an audio file.

  4. Click on OK.

    > The file is stored. You will not have to upload it again.

  5. Click on the Play button button to launch your behavior.

    > The music file you have selected is played on NAO.





Copyright © 2010 Aldebaran-Robotics - All rights reserved