Category

Tools

Created by

Koldo Olaskoaga

Name

MusicNotes

Uploaded

31.07.2008

 

Download

Content of ZIP file

  MusicNotes.ric     5       2 5 3
  MusicNotes.nxc

 

Description

I am proud to introduce the first RIC file with program which I have received by mail from Koldo Olaskoaga:

This program and the RIC file are a part of another project even without finishing, an electronic xylophone with acoustic other one that soon I will publish in my web (http://lrobotikas.net).

 

When you run MusicNotes.nxc than a musical song will be performed on the NXT: You can hear and see the notes which will be played.

 

 

The notes are stored in two arrays:

  • the notes in the first array nota[ ]

  • and the note values in the second array notevalue[ ].

You can change the music COUNTNOTES constant and the content of the arrays nota[ ] and notevalue[ ].

 

The RIC file uses ten parameters: the first five items [0-4] are the notes and the other five items [5-9] are the note values.