[CM] CM/Scheme without Grace?

adam ahcnz at orcon.net.nz
Tue Mar 3 02:18:02 PST 2020


Forgive me for asking, but how would I load and run the ../ormf/cm package? 

I have tried several approaches, including even /bin/cm.sh, with no success. 
Am on Linux with a fresh and working Emacs Slime sbcl setup. 

Step one may be to save a working image, to thereafter load as slime's 
lisp subprocess, as before. 

Through trial and error I find I can; 
 (load "cm.asd) -> T 

and then 
 (in-package :common-music-system) -> #<PACKAGE "COMMON-MUSIC-SYSTEM"> 

however (cm) then returns an undefined function error.

(load "./src/cm.lisp") ->  error Component :FOMUS not found  
do I need Fomus loaded beforehand? 

Any help much appreciated. 
 



On Fri, 2020-02-28 at 12:52 +0100, Orm Finnendahl wrote:
> Hello Neil,
> 
>  in case you're interested in the Common Lisp port of cm, I'd
> recommend this repository, as it is more or less actively maintained
> (including the loop code fixed and extensions for realtime integration
> with incudine, svg im/export etc.):
> 
> https://github.com/ormf/cm
> 
> --
> Orm
> 
> Am Donnerstag, den 27. Februar 2020 um 18:18:30 Uhr (+0000) schrieb Taube, Heinrich K:
> > Hello Neil, that would be difficult as many of the scheme functions make calls to c++
> > code.
> > A better solution would be to use the common-lisp version available on the source-
> > forge website, but of course then its not in Scheme.
> > 
> > —Rick
> > ________________________________
> > Rick Taube
> > Chair, Composition/Theory
> > School of Music
> > University of Illinois Urbana-Champaign
> > Email: taube at illinois.edu<mailto:taube at illinois.edu>
> > President, Illiac Software Inc.
> > https://harmonia.illiacsoftware.com/
> > Email: taube at illiacsoftware.com
> > 
> > 
> > On Feb 27, 2020, at 11:45 AM, Neil Baylis <neil.baylis at gmail.com<mailto:
> > neil.baylis at gmail.com>> wrote:
> > 
> > Is it possible to run CM using scheme without the Grace application? For example, by
> > just editing scheme files in an ordinary text editor? If so, can anyone point me at
> > instructions for doing this?
> > 
> > I see the Grace documentation lists a bunch of functions/macros related to algo music,
> > but it's not clear to me whether Grace is required to get that functionality.
> > 
> > My application is to algorithmically generate midi to be played by virtual
> > instruments. (i.e., route the midi to a VST or AU host.)
> > 
> > Neil Baylis
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist at ccrma.stanford.edu<mailto:Cmdist at ccrma.stanford.edu>
> > https://cm-mail.stanford.edu/mailman/listinfo/cmdist
> > 
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist at ccrma.stanford.edu
> > https://cm-mail.stanford.edu/mailman/listinfo/cmdist
> 
> 
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist



More information about the Cmdist mailing list