[CM] Help writing a measure in CMN?

Kyle Markley kmarkley at seffera.net
Sun Feb 20 00:56:34 PST 2005


I've been having difficulty using CMN to create complex measures.   
Attached is a .jpg scan of the measure I'm trying to duplicate with CMN,  
and below is the CMN code I've written that's not working.  (The code  
doesn't have the notes for the bass staff because I can illustrate my  
troubles without them.)

One problem is that if I uncomment the f4, I get a "trouble in slur --  
these two notes are simultaneous" error.  Yes, they are simultaneous.   
They're two different simultaneous voices, but only one of them is part of  
a slur.

If I comment the f4 to avoid that error, my other problem is that CMN  
splits the measure, inserting rests it shouldn't and moving half the notes  
to the next measure.

If anyone can help me with this, I'd be very grateful.

(cmn
   (staff-separation 3)
   (size 20)

(system brace
   (staff treble df-major (meter 3 4)

(b4 h. stem-up (begin-slur (slur-direction :up)))
     bar
(chord q (notes a4 (c5 (tenuto (dy +1)))) (begin-tie (tie-direction :up)))
(rest te (beat 1) (dy -1.0))
a3 te begin-beam c4 te end-beam
(chord tq (notes a4 c5) end-tie end-slur) c5 te stem-up
e4 te (beat 2) c4 te (a4 te (tenuto (dy -2)) stem-down)
(b4 te begin-slur) c5 te e5 te stem-up
;f4 te (beat 11/3) (tenuto) stem-down
     bar
(b4 h. end-slur)
     bar

) (staff bass df-major (meter 3 4) bar

(rest h.)
     bar
(rest h.)
     bar
(rest h.)
     bar

)

)
)


-- 
Kyle Markley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: how_in_cmn.jpg
Type: image/jpeg
Size: 29668 bytes
Desc: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20050220/a4781b6a/attachment.jpg>


More information about the Cmdist mailing list