Welcome to compo 2.1 beta 1
© 2001 Bruno Lartillot
![]() |
To install and use compo 2.1 you need :
Note that we provide for the macintosh and the Windows environments ready-to-use binary releases which come along with cm and cmn (with a session time limitation of 15 minutes in the case of MCL on the Macintosh).
For Macintosh users : The additional extension to Open Music from IRCAM is distributed in the compo-om release. Please refers to this release if you are interested in compo with Open Music.
Installation
1) If this is not already done, install Common Lisp, Ghostscript and Ghostview (if you use MCL on Macintosh, take care of allocating a recommended memory amount of 12 Mo to MCL);
2) Decompress cm-2.0;
3) Decompress compo-2.1 and put the folders cm-2.0/ and compo-2.1/ at the same level in the same folder;
4) Decompress cmn and put the folder cmn/ in the folder cm-2.0/;
5) Drag the two files compo-cm.lisp and compo-port.lisp from the folder compo-2.1/extensions/cm-2.0/src/ to the folder cm-2.0/src/;
6) Drag the file cminit.lisp from the folder compo-2.1/extensions/cm-2.0/bin/ to the folder where the CLisp application resides;
7) Launch a Common Lisp session;
8) Load the file cm-2.0/src/compo-cm.lisp;
9) After some automatic loading and compilations, you should be asked to launch Common Lisp again, and reload the file compo-cm.lisp. Do it.
10) A Lisp image should automatically be generated in the folder cm-2.0/bin/. Launching Lisp with this image brings you with compo 2.1 :
If you are using MCL, just double-click on cm-2.0/bin/compo-2.1 to load compo.
If you are using CLisp, put the file cm-2.0/bin/compo.mem in the folder where the CLisp application resides, and launch CLisp with compo.mem as an initmem file (please refer to the CLisp documentation for an explanation of what an initmem file is).
Verification
1) Loading the file compo-2.1/compo-cm/save-test.lisp should produce the file compo-2.1/test.txt. Open this file in a text editor. At the end of the file, you should have the following content :
package :compo
--------------
test ok :compo
package :note
--------------
test ok :note
package :compo-cm
-----------------
test ok :compo-cm
If this is not the case, either the installation is unsuccessfull, or there is a trouble between compo and your Common Lisp version. Please refer to http://compo.sourceforge.net to contact us if you cannot correct by yourself.
2) By entering the command : (midi (note ())), you should either ear a C4, or get the file cm-2.0/tmp/compo.midi which produces a C4 when played. If this is not the case, please check your installation of cm-2.0 by refering to the documentation wich comes with. On Windows in particular, if you get the error message :
*** - Win32 error 2 (ERROR_FILE_NOT_FOUND): The system cannot find the file specified.
You should check the file cm-2.0/etc/handlers.lisp. It contains a link to the mplayer2.exe application. This link should reflect the exact absolute path of this application (or any application able to play midi files) on your system. After changing this file, you should generate the image again by returning at step 9.
If cm seems to be correctly installed, in particular if you can use it without compo, please contact us.
3) By entering the command : (score (note ())), you should get the file cmn-1.eps (in the same folder than the compo application) which displays a one-staff score containing a quarter on C4, when opened with Ghostview. If this is not the case, please check your installation of cmn by refering to the documentation wich comes with.If cmn seems to be correctly installed, in particular if you can use it without compo, do the same with ghostscript and ghostview. If all works without compo, please contact us.
compo is ready to work. We just suggest you to take a look at the doc.
Some samples are provided in the folder compo-2.1/samples/. Each produce a score and a midi file. Try to load them.
It could be a good idea to take a look at these two files...
We thank you to using compo and hope it will be usefull.