[PlanetCCRMA] trouble getting started with Common Music

bernie arai bernie.arai@gmail.com
Fri May 4 01:07:01 2007


------=_Part_42118_24797494.1178265959174
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 4/23/07, Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> wrote:
>
> On Mon, 2007-04-23 at 11:02 -0700, Fernando Lopez-Lezcano wrote:
> > On Sun, 2007-04-22 at 23:15 -0700, bernie arai wrote:
> > > after reading Dave Phillps' mention of it in his "At the Soudning
> > > Edge" column from a while a ago (thanks dave for the great read as
> > > always), i'm prompted  to try out Common Music, but i'm a little in
> > > over my head with setting things up.  the abundance of "common" family
> > > packages from planetccrma (FC5) is making my head spin.
> > >
> > > i want to try the tutorials from the CM website, which advise that i
> > > use emacs via SLIME.  following the instructions at
> > > http://commonmusic.sourceforge.net/doc/emacs.html i've run into a
> > > stumbling block where i think that i don't know the correct path to
> > > SLIME or cm, which i've installed from the planet.  after adding the
> > > lines as per instructions, starting emacs gives me:
> > >
> > > File error: "Cannot open load file", "listener.el"
> > >
> > > and trying to start M-x cm gives me:
> > >
> > > Symbol's function definition is void: slime-connected-p
> > >
> > > which are both beyond my experience with emacs, slime and cm, so no go
> > > so far.
> >
> > I'd recommend sbcl as the "base lisp" on which to run everything.
> > So, if you need cm you have to install "cm-sbcl", and you also want
> > "slime-sbcl" for the slimmy part of the process (those will pull in
> > other needed packages).
> >
> > For configuring slime you just need to add this to emacs:
> >
> > ---- cut here ----
> > ;;; slime configuration
> > (setq inferior-lisp-program "/usr/bin/cm-sbcl")
> >
> > (add-to-list 'load-path "/usr/share/slime")
> > (require 'slime)
> > (slime-setup)
> > ---- cut here ----
> >
> > Restart emacs and then do "<esc> x" and type "slime" followed by return.
> > Common Music will start to be loaded, wait till the slime listener
> > starts and greets you with a <CM> prompt and then you are in lisp land
> > (/usr/bin/cm-sbcl is the "executable" that starts the whole thing - you
> > could run that in a terminal to make sure it starts).
> >
> > I think the cm in fc5 is still the old one so some examples might not
> > run as shown in the recent sourceforge instructions.
> >
> > If you want to use clm (sound synthesis/processing) you need to install
> > clm-sbcl, if you want it to be autoloaded into cm when cm starts you
> > will also need cm-clm-sbcl. Same naming for cmn (score generation).
>
> I just released a new set of cm* packages for fc5.
>
> - latest common music release (w/ realtime scheduler)
> - only supports sbcl
> - includes fomus (as in the latest fc6 build)
>
> So, you will/should need:
>   cm-sbcl
>   cm-clm-sbcl (if you want to autoload clm)
>   cm-cmn-sbcl (if you want to autoload cmn)
>   cm-fomus-sbcl (if you want to autoload fomus)
>   slime-sbcl
>
> -- Fernando
>
>
> thanks so much for responding (and updating) so fast!  and for clearing
things up.  your setup instructions worked perfectly, now i'm trying to get
my hands dirty with these cm tutorials.

anyone who uses common music want to share how they use it and with what
other software?  it's all new to me...

bernie

------=_Part_42118_24797494.1178265959174
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">Fernando Lopez-Lezcano</b> &lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2007-04-23 at 11:02 -0700, Fernando Lopez-Lezcano wrote:<br>&gt; On Sun, 2007-04-22 at 23:15 -0700, bernie arai wrote:<br>&gt; &gt; after reading Dave Phillps&#39; mention of it in his &quot;At the Soudning<br>&gt; &gt; Edge&quot; column from a while a ago (thanks dave for the great read as
<br>&gt; &gt; always), i&#39;m prompted&nbsp;&nbsp;to try out Common Music, but i&#39;m a little in<br>&gt; &gt; over my head with setting things up.&nbsp;&nbsp;the abundance of &quot;common&quot; family<br>&gt; &gt; packages from planetccrma (FC5) is making my head spin.
<br>&gt; &gt;<br>&gt; &gt; i want to try the tutorials from the CM website, which advise that i<br>&gt; &gt; use emacs via SLIME.&nbsp;&nbsp;following the instructions at<br>&gt; &gt; <a href="http://commonmusic.sourceforge.net/doc/emacs.html">
http://commonmusic.sourceforge.net/doc/emacs.html</a> i&#39;ve run into a<br>&gt; &gt; stumbling block where i think that i don&#39;t know the correct path to<br>&gt; &gt; SLIME or cm, which i&#39;ve installed from the planet.&nbsp;&nbsp;after adding the
<br>&gt; &gt; lines as per instructions, starting emacs gives me:<br>&gt; &gt;<br>&gt; &gt; File error: &quot;Cannot open load file&quot;, &quot;listener.el&quot;<br>&gt; &gt;<br>&gt; &gt; and trying to start M-x cm gives me:
<br>&gt; &gt;<br>&gt; &gt; Symbol&#39;s function definition is void: slime-connected-p<br>&gt; &gt;<br>&gt; &gt; which are both beyond my experience with emacs, slime and cm, so no go<br>&gt; &gt; so far.<br>&gt;<br>&gt; I&#39;d recommend sbcl as the &quot;base lisp&quot; on which to run everything.
<br>&gt; So, if you need cm you have to install &quot;cm-sbcl&quot;, and you also want<br>&gt; &quot;slime-sbcl&quot; for the slimmy part of the process (those will pull in<br>&gt; other needed packages).<br>&gt;<br>&gt; For configuring slime you just need to add this to emacs:
<br>&gt;<br>&gt; ---- cut here ----<br>&gt; ;;; slime configuration<br>&gt; (setq inferior-lisp-program &quot;/usr/bin/cm-sbcl&quot;)<br>&gt;<br>&gt; (add-to-list &#39;load-path &quot;/usr/share/slime&quot;)<br>&gt; (require &#39;slime)
<br>&gt; (slime-setup)<br>&gt; ---- cut here ----<br>&gt;<br>&gt; Restart emacs and then do &quot;&lt;esc&gt; x&quot; and type &quot;slime&quot; followed by return.<br>&gt; Common Music will start to be loaded, wait till the slime listener
<br>&gt; starts and greets you with a &lt;CM&gt; prompt and then you are in lisp land<br>&gt; (/usr/bin/cm-sbcl is the &quot;executable&quot; that starts the whole thing - you<br>&gt; could run that in a terminal to make sure it starts).
<br>&gt;<br>&gt; I think the cm in fc5 is still the old one so some examples might not<br>&gt; run as shown in the recent sourceforge instructions.<br>&gt;<br>&gt; If you want to use clm (sound synthesis/processing) you need to install
<br>&gt; clm-sbcl, if you want it to be autoloaded into cm when cm starts you<br>&gt; will also need cm-clm-sbcl. Same naming for cmn (score generation).<br><br>I just released a new set of cm* packages for fc5.<br><br>- latest common music release (w/ realtime scheduler)
<br>- only supports sbcl<br>- includes fomus (as in the latest fc6 build)<br><br>So, you will/should need:<br>&nbsp;&nbsp;cm-sbcl<br>&nbsp;&nbsp;cm-clm-sbcl (if you want to autoload clm)<br>&nbsp;&nbsp;cm-cmn-sbcl (if you want to autoload cmn)<br>&nbsp;&nbsp;cm-fomus-sbcl (if you want to autoload fomus)
<br>&nbsp;&nbsp;slime-sbcl<br><br>-- Fernando<br><br><br></blockquote></div>thanks so much for responding (and updating) so fast!&nbsp; and for clearing things up.&nbsp; your setup instructions worked perfectly, now i&#39;m trying to get my hands dirty with these cm tutorials.
<br><br>anyone who uses common music want to share how they use it and with what other software?&nbsp; it&#39;s all new to me...<br><br>bernie<br>

------=_Part_42118_24797494.1178265959174--