Sample music: NXT-G

Here is a collection of programs written in NXT-G that play a range of well known and some maybe not so well known tunes.

Sample music

NOTE: All files are zipped *.rbt files. See below for instructions.


You can simply unzip and then open any of these files directly in the LEGO MINDSTORMS NXT Software (NXT-G) to use it, but if you want to use it as “MyBlock”, follow these steps…

  1. Save this file in the folder: “My Documents/LEGO Creations/MINDSTORMS Projects/Profiles/Default/Blocks/My Blocks”
  2. Open LEGO MINDSTORMS NXT software.
  3. The song should appear under the “My Blocks” list in your custom palette once you have saved it in the folder written above. To place the song in your program click and drag the icon from the “My Blocks” list into your program.
  4. You can double click on the song icon in your program and change the song speed by changing the “bpm” (beats per minute) value, and change the volume with the “volume” value.
The following two tabs change content below.


The Tufts Center for Engineering Education and Outreach (CEEO) in Boston, Massachusetts, is dedicated to improving engineering education in the classroom, from Kindergarten to college. The Center houses faculty, staff, and graduate students from engineering disciplines and the education department.

Latest posts by CEEO (see all)