I'll take a look at the problem on Tuesday, that's the first chance I have to get to the office. In the mean time you might look at the last chapter (chapter 24) in http://pinhead.music.uiuc.edu/~hkt/nm It also contains an example of CMN output that should be working.