[CM] CMN help: line breaks with pedal
andersvi@extern.uio.no
andersvi@extern.uio.no
Mon, 14 Feb 2005 08:57:38 +0100
The way the pedal-marks are constructed they expect to be
attached to notes and rests. (If you really need to attach them
to anything apart from notes or rests for some reason it should
be possible to fix. Have a look at pedal.lisp)
The following works here at least:
(cmn (size 20) (staff-separation 3) (line-separation 3)
(system brace
(staff treble df-major (meter 3 4)
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar c4 q c4 q c4 q
bar
)
(staff (bass ) df-major (meter 3 4)
bar (b3 q (pedal- (dy -1)))
b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q b3 q
bar (b3 q -pedal-)
b3 q b3 q
bar b3 q b3 q b3 q
bar b3 q b3 q
(b3 q -pedal)
bar
)
))
>>> "K" == Kyle Markley <kmarkley@seffera.net> writes:
K>
K> I can't seem to get pedal marks to cooperate with line breaks. Either
K> I don't know what I'm doing (very likely!) or this may be a CMN bug
K> or just unsupported. The code below will execute successfully, but
K> if you remove the comment on the ending "bar", you'll get this error:
K>
K> ** - Continuable Error
K> NO-APPLICABLE-METHOD: When calling #<GENERIC-FUNCTION SHORT-NOTE> with
K> arguments
K> (#<BAR: (onset 24)> :X0 28.55), no method is applicable.
K>
K> How can I get the pedaling notation to correctly cross a line break?
K>
K>
K>
K> (cmn (size 20) (staff-separation 3) (line-separation 3)
K> (system brace
K> (staff treble df-major (meter 3 4)
K>
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar c4 q c4 q c4 q
K> bar
K>
K> )
K> (staff (bass (pedal- (dy -1))) df-major (meter 3 4)
K>
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> (bar -pedal-) b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> bar b3 q b3 q b3 q
K> ;;(bar -pedal)
K>
K> )
K> ))
K>
K> --
K> Kyle Markley
K>
K> _______________________________________________
K> Cmdist mailing list
K> Cmdist@ccrma.stanford.edu
K> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist