[CM] CM patterns as 'CL stand alone'

Torsten Anders Torsten.Anders at beds.ac.uk
Tue Aug 29 13:50:15 PDT 2017


Dear all,

Anders recently announced an OpenMusic Pattern library, which extracts most of Rick’s pattern classes from Common Music. Based on that effort, I now created a version of that library for plain Common Lisp (an ASDF system). That code is available at the link below.  

	https://github.com/tanders/cm-patterns

My immediate goal was to make Common Music patterns available in Opusmodus (http://opusmodus.com). 

Note this code is perhaps not yet as portable as the original Common Music 2 sources. Because Anders’ library was only meant for OpenMusic, some code ensuring compatibility with various Lisp compilers was removed. I reintroduced some of the compatibility code so that it now also runs under CCL, but I did not test it with other compilers yet.

Best,
Torsten


On 4 Apr 2017, at 19:49, anders.vinjar at bek.no wrote:
> Hi there.
> 
> This might be of interest to some reading this group as well.
> 
> I've set up a version of Common Musics patterns for OpenMusic.  At the
> moment the lib is made available here:
> 
>   https://forge.ircam.fr/p/omlibraries/downloads/631/
> 
> All of Rick's various pattern classes from Common Music are included,
> except 'transposer and 'chord.  The current lib is based on the code
> found in cm2.
> 
> Rick's examples from the various pages following
> branches/cm2/doc/dict/patterns-topic.html are remade as OM patches, and
> available inside OMs standard help system after loading the lib.
> 
> If you just want to use the patterns in any lisp heap i think you can
> just load the two files
> 
>  utils.lisp
>  pattern-classes.lisp
> 
> which should provide the usual cycle, heap, pval, new...
> 
> -anders
> 
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
> 




More information about the Cmdist mailing list