<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div><br> The compilation looks ok. Id check if things happen in the right</div><div> packages. Try evaluating:<br><br>(package-name (symbol-package 'fm-violin))<br> and see if its the same as the package youre working in:<br>(package-name *package*)<br><br>-anders</div><div><br></div><div>-------</div><div>Hi,</div><div><br></div><div>I get</div><div>COMMON-LISP-USER by evaluating the above expressions in sbcl on fedora 18.</div><div><br></div><div>But if I just do:</div><div><br></div><div> (compile-file "v.ins")<br> (load "v")</div><div><br></div><div>I get:</div><div>The variable FM-VIOLIN is unbound.</div><div><br></div><div>Also if I go on to the 2nd example from the CL/CLM manual online:</div><div><br></div><div><pre class="indented" style="padding-left: 1cm;">(definstrument simp (start-time duration frequency amplitude)
(let* ((beg (floor (* start-time *srate*)))
         (end (+ beg (floor (* duration *srate*))))
         (j 0))
(run
(loop for i from beg below end do
(<a class="quiet" href="https://ccrma.stanford.edu/software/snd/snd/clm.html#outa" style="text-decoration: none; color: black;">outa</a> i (* amplitude (sin (* j 2.0 pi (/ frequency *srate*)))))
        (incf j)))))</pre><pre class="indented" style="padding-left: 1cm;"><br></pre><pre class="indented" style="padding-left: 1cm;"><span style="font-family: Calibri, sans-serif; white-space: normal;">I get:</span></pre><pre class="indented" style="padding-left: 1cm;"><span style="font-family: Calibri, sans-serif; white-space: normal;">The variable SIMP is unbound.</span></pre><pre class="indented" style="padding-left: 1cm;"><span style="font-family: Calibri, sans-serif; white-space: normal;">So maybe SBCL is not the best choice for lisp for CLM? I tried Clisp but the CLM/README.clm file shows several problems with Clisp so I removed it and installed SBCL before compiling CLM. SBCL seemed to have the most uptodate status in README.clm, but also mentions something about sbcl - fix.lisp from R Mattes. I wonder if that could help?</span></pre><pre class="indented" style="padding-left: 1cm;"><font face="Calibri, sans-serif"><span style="white-space: normal;">Regards,</span></font></pre><pre class="indented" style="padding-left: 1cm;"><font face="Calibri, sans-serif"><span style="white-space: normal;">Jim</span></font></pre><pre class="indented" style="padding-left: 1cm;"><br></pre></div><div><br></div>                                            </div></body>
</html>