Dear all,

Anders, thanks a lot for all your efforts simplifying the load file of Common 
Music 2 (website for version 3: http://commonmusic.sourceforge.net/). After 
some minor further modifications I got CM working within the same Lisp image as 
PWGL. For example, I got the piano phase example running. 

What is most interesting from a PWGL perspective, however, is that all CM 
patters are available (though only for direct Lisp code hacking, no boxes, at 
least yet). It could be interesting to use these in other PWGL patches to 
generate musical data for whatever purpose. 

There are some minor hiccups. I did not play long with this setup, but ran into 
the following limitations. The Scheme macro define is not recognised, it has to 
be replaced with defun or setf. Also, relative paths for MIDI files do not work 
(they are somehow clashing with some PWGL path), but absolute paths work fine. 
   
If anyone else is interested, you can get Common Music 2 from SourceForge.

    $ svn co svn://svn.code.sf.net/p/commonmusic/code/branches/cm2

Replace the file cm2.asd in the top-level cm2 directory with the attached 
cm2.asd (Anders, I had to simplify a bit further). Then move that whole cm2 
directory into your PWGL user library (e.g., into 
~/PWGL-User/User-library/cm2). You are then ready to load this library and 
start using Common Music within PWGL. 

Attached is also a simple PWGL patch demonstrating simple CM functionality. You 
first need to load the Common Music library, before you can open this patch.  

Best wishes,
Torsten

--
Dr Torsten Anders
Course Leader, Music Technology
University of Bedfordshire
Park Square, Room A315
http://www.torsten-anders.de


On 31 Mar 2016, at 14:19, [email protected] wrote:
> Hi.
> 
> I've updated cm2 on sourceforge with a new cm2.asd which is ASDF-3.1
> compliant.  This version is very much simpler inside then the previous
> one (for asdf-1?), and seems to be very much easier to maintain.
> 
> To use:
> 
> (load "cm2.asd")
> (asdf:load-system :cm2)
> 
> This will compile and load cm2 sources, translating the necessary .scm
> files to .lisp along the way.
> 
> Atm. all compiled sources (also the rewritten .lisp files) go inside the
> default asdf ~/.cache/common-lisp/implementation/** directory.  
> 
> Checked with SBCL (1.2.11) and LispWorks (7.0).  Both have updated ASDF
> included.
> 
> Support for other lisps is intentionally left out atm.  If you need one,
> either include the relevant pre-existing *.lisp file (from src/) in
> cm2.asd, or drop me a line.
> 
> -anders
> 
> _______________________________________________
> Cmdist mailing list
> [email protected]
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
> 

Attachment: cm2.asd
Description: cm2.asd

Attachment: cm2-test.pwgl
Description: cm2-test.pwgl

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to