NXT is a rhythm game where you play a sequence of beats on a LEGO drum kit with snare and bass drums and a cymbal. It was built using a single LEGO Mindstorms NXT 2.0 kit.
How to Play
In each level, a certain beat will be played repeatedly by the NXT. You will need to play the exact same beat correctly four times in a row using the drum kit. Simply start playing anytime. If you stop playing, after a while the NXT will resume playing the current beat, in case you need to refresh your memory.
The flag shows how many times you have played the current beat correctly. If the flag returns to the start position, it means you have played the beat incorrectly.
The most accurate you play the beat, the most points you will earn. If you manage to finish all 15 beats, your score may be added to the rankings if it is high enough. You can enter a 3-letter abbreviation of your name (like old-school arcades) so other persons can play and compare their scores.
Instruction and Program
First, get everything you need:
- Download program, source, instructions and resources
- Extract the zip file you have downloaded in the link above (if you need, check this help on uncompressing zip files in Windows 7).
- The files will be extracted to a folder name “nxtdrums”. All files are inside this folder.
Build the model:
- Open the Instructions.pdf file (you will need a PDF viewer such as Adobe Reader).
- Follow the instructions!
Download the program and resources to the NXT:
- Turn on your NXT and connect it to your PC using the USB cable.
- Open the LEGO MINDSTORMS NXT sofware.
- Near “Create new program”, click “Go >>”.
- Open the NXT window (click the upper left button above the “Play” button).
- Click on the “memory” tab.
- Click “Download”. Go to folder you have extracted in Step 2, select the first file and Click OK. Click “Download” again, select the second file, click OK, and so on for all files (sorry, I don’t know any easier way to do this). If you want to be sure, the following files need to be downloaded:
- ! Applause.rso
- bass.rso
- cymbal.rso
- Drums.rxe
- font10v_arrows.ric
- snare.rso
- In your NXT, go to “My Files”, “Software Files”, then “Drums”.
- Play!
NXT Drums does not work in very bright ambients (outdoors). If the bass drum is not working, try stopping the program (press the gray button), moving to a darker place (indoors with lights on is fine), and starting the program again.
To adjust the NXT Drums volume, adjust the volume of the NXT brick. Go to “Settings”, “Volume”, press the arrow buttons to adjust, and confirm.
The program is coded in NXC, you can use the Bricx Command Center if you want to make changes to the code. The source code is in the DrumsSource.nxc file.
Custom Mode
In custom mode, you can create your own beats to play in the NXT. Follow this steps:
- Edit the file nxtdrums.txt and insert your beats. The file is already filled with many example beats, you can edit them, or just leave them alone to test. Each beat is a line in the file, and the beat is described by the characters “.” (a rest), “B” (bass drum), “S” (snare drum) and “C” (cymbal). Each line should have at most 32 characters (“.”s do not count). Make sure there is an empty line after the last line.
- Download the nxtdrums.txt file to the NXT. Follow the steps above for downloading files to the NXT, but after you click “Download”, in the dialog you will need to choose “All Files” in the “Type” dropdown box. This will make the “nxtdrums.txt” file appear; select it and click OK.
- Start NXT Drums and select “Custom”.
Credits
This game was inspired by a mini game in Rhythm Tengoku. Bass drum sound by Minorr Grafitti Studio. Snare drum sound by KEVOY. Cymbal sound by irjames.