[CM] CM/Scheme without Grace?
Orm Finnendahl
orm.finnendahl at selma.hfmdk-frankfurt.de
Tue Mar 3 09:22:26 PST 2020
Hi Adam,
sorry, I was unaware of the fomus dependency in cm. I will get rid of
it as it is unneccessary. To get it running in the meantime, please
just go ahead and also clone "fomus" and "cm-fomus" from the same
github repo (they are fairly small):
https://github.com/ormf/cm-fomus
https://github.com/ormf/fomus
To get it up and running (with slime/quicklisp installed):
- Put the "cm", "cm-fomus" and "fomus" folders into the
~/quicklisp/local-projects/ folder
- Optionally edit the attached .fomus file by filling in the paths to
the executables (evince and lilypond) in case they are installed on
your computer and copy the edited file to your home folder.
- In the slime repl:
CL-USER> (ql:quickload "cm")
To load "cm":
Load 1 ASDF system:
cm
; Loading "cm"
;; FOMUS v0.2.28
;; Lisp music notation formatter
;; Copyright (c) 2005, 2006, 2007 David Psenicka, All Rights Reserved
;; See file "COPYING" for terms of use and distribution.
;; Loading initialization file "/home/orm/.fomus"...
("cm")
CL-USER> (cm)
/\\\
---\\\---------
----\\\--------
----/\\\------- Common Music 2.12.0
---/--\\\------
--/----\\\-----
/ \\\/
CL-USER>
Let me know if you run into problems.
Best,
Orm
Am Dienstag, den 03. März 2020 um 14:48:48 Uhr (+0000) schrieb Taube, Heinrich K:
> You should be able comment out the fomus loading, that was just an optional package.
>
> > On Mar 3, 2020, at 4:18 AM, adam <ahcnz at orcon.net.nz> wrote:
> >
> >
> > 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
> >
> > _______________________________________________
> > 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
-------------- next part --------------
:output '((:data) (:lilypond :process t :view nil))
:lilypond-exe "/home/orm/bin/lilypond"
:lilypond-opts '("--pdf")
:lilypond-out-ext "pdf"
:lilypond-view-exe "/usr/bin/evince"
:cmn-view-exe "/usr/bin/evince"
:verbose 1
:min-tuplet-dur 1
:max-tuplet '(13)
:caut-acc-ottavas t
More information about the Cmdist
mailing list