[CM] cm->cmn issues: wierd clefs, accidentals

Bill Sack bsack23@gmail.com
Wed, 9 Aug 2006 22:54:47 -0400


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

erm, right you are. i hacked my cmn1.lisp file - added:
(define-accidental sharp-up #'draw-sharp-up sharp-bounds)
and
(if (eq sign sharp-up) 'sharp-up
at the appropriate places, and now the accidental is included in the .cmn
file output:
      (c5 (sign sharp-up) w))

can these output methods be added safely for the other accidentals in cmn's
quarter.lisp? is there a more elegant way of doing this?

On 8/9/06, Rick Taube <taube@uiuc.edu> wrote:
>
> i believe it is cmn that is dumping that file, there might be some sort
> of output method missing for those objects?
>
>
> On Aug 9, 2006, at 3:17 PM, Bill Sack wrote:
>
> >  when the events are output, the displayed file looks ok, but the
> > notes in the .cmn file look like this:
> > (g1 (sign #<write-protected-accidental>) ...
> >
> >  and if it's reloaded:
> > READER-ERROR at 462 (line 17, column 18) on #<SB-SYS:FD-STREAM for
> > "file /tmp/testit.cmn" {C277649}>:
> > illegal sharp macro character: #\<
> > [Condition of type READER-ERROR]
>

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

erm, right you are. i hacked my cmn1.lisp file - added:<br>
<span>(define-accidental sharp-up #'draw-sharp-up sharp-bounds)</span><br>
and<br>
(if (eq sign sharp-up) 'sharp-up<br>
at the appropriate places, and now the accidental is included in the .cmn file output:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (c5 (sign sharp-up) w))<br>
<br>
can these output methods be added safely for the other accidentals in
cmn's quarter.lisp? is there a more elegant way of doing this?<br>
<br><div><span class="gmail_quote">On 8/9/06, <b class="gmail_sendername">Rick Taube</b> &lt;<a href="mailto:taube@uiuc.edu">taube@uiuc.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;">
i believe it is cmn that is dumping that file, there might be some sort<br>of output method missing for those objects?<br><br><br>On Aug 9, 2006, at 3:17 PM, Bill Sack wrote:<br><br>&gt;&nbsp;&nbsp;when the events are output, the displayed file looks ok, but the
<br>&gt; notes in the .cmn file look like this:<br>&gt; (g1 (sign #&lt;write-protected-accidental&gt;) ...<br>&gt;<br>&gt;&nbsp;&nbsp;and if it's reloaded:<br>&gt; READER-ERROR at 462 (line 17, column 18) on #&lt;SB-SYS:FD-STREAM for
<br>&gt; &quot;file /tmp/testit.cmn&quot; {C277649}&gt;:<br>&gt; illegal sharp macro character: #\&lt;<br>&gt; [Condition of type READER-ERROR]<br></blockquote></div><br>

------=_Part_34674_19438008.1155178487660--