CMN (Common Music Notation) is a Common Lisp based music notation package. Bill Schottstaedt describes it as “a simple little hack” but that would be an understatement, to say the least. It outputs directly to postscript so that the rendering quality is only limited by the resolution of the viewing or printing hardware. It includes its own music postscript font. The CMN manual is available online .
If you are at ccrma, start the cm-clm lisp image, type “(in-package 'cmn)” to make all cmn symbols available and enter the following score (extracted from the cmn manual):
|
CMN will write a file named “test.eps” (.eps means encapsulated postscript) that you can view (and print) using ghostview. As before type “gv test.eps” to view it.
Needless to say CMN is an incredibly versatile environment as all the power of the lisp language is available to create and manipulate scores. As with LATEXand TeX you have to learn a language but the power that it brings is worth the trouble. CMN can also be driven from a score description created in Common Music.
Here's a very short example you can test. In your favorite text editor, enter the following input, and save the file as test.ly:
|
|
The results of the ly2dvi run are two files, test.dvi and test.ps. The postscript file (test.ps) is the one you can print. You can view the postscript file using ghostview by typing “gv test.ps”. The dvi (device-independent) file (test.dvi) is the output of LATEXand can be viewed by typing “xdvi test.dvi”.
© Copyright 2001-2022 CCRMA, Stanford University. All rights reserved.
Created and Mantained by Juan Reyes