Coding for Glockenspiel-playing LEGO robot - provided as-is without a lot of explanation or documentation, just as "it works for me".
The coding is written in NXC - Not eXactly C - inside of the old Bricx Command Center IDE.
More information can be found in my German blog post or my English talk on the Wintergatan meetup
- chimes_main.nxc: Program running on the first NXT brick
- chimes_sub.nxc: Program running on the second NXT brick
- chimes_song_xxx.nxc: Programm to create the .dat file for a song on the first NXT brick (that gets read/played by the main program)
- chimes_note_writer.nxc: Repeated coding that gets included into the song programs
- chimes_note_constants.nxc: Repeated constants that get included into the main and the song programs
The song-arrays can be generated using this handy muse-xml-converter written by @aerdev