Cornelius C. Noack wrote
 
>PMX does not allow the last note of an xtuplet to be a rest.
>This has been discussed here before, and Don Simons explained that
>the PMX logic for the beam in an xtuplet is sufficiently complex
>to make a rest as the last note extremely difficult if not outright
>impossible.

Nothing is impossible. Some things take a lot more programming than others.

>Now this - very plausible - argument holds for beamed xtuplets, but
>(as far as I can see) not for unbeamed xtuplets. In fact, I just
>tried an example: writing a full triplet as
>
>                   `a4ax3 zbf zc a zbn zdf e'               ,
>
>I ran PMX and then repaced - by hand - the  `\cu e' in the resulting
>.tex file by `\ds' , reran TeX and musicflx; and everything went
>fine and gave the desired triplet.
>
>So I wonder, Don, whether allowing this - restricted, OK! - use of an
>ending rest in PMX would be a big hassle. If not, consider this
>letter a user request. If, on the other hand, it remains worrisome,
>just forget it.

You're right that this would be much easier to program than for beamed
xtups. The hangup with beamed ones is the beam termination command, which as
things now stand only gets issued on the last note of the xtup. With
unbeamed xtups, there is no beam termination command to worry about, so all
you need to do to replace any note with a rest is to just do it.

That same feature makes it very straightforward to use the command
substitution trick for this, which in my mind is infinitely preferable to
post-editing the TeX file:

================================
1 1 2 4 2 4 0 0
1 1 20 0

t
.\
a44ax3 zbf zc a zbn zdf 
    \let\clt\cl\def\cl#1{\zcharnote{#1}{~}\ds\let\cl\clt}\ e r4 /
================================

This is how I suggest you do this in the near term. Since this is even
easier for you to do than it would be for me to create a new PMX release,
I'm going to wait until something more pressing comes up (like a bug) before
putting it into the PMX code.

--Don Simons

_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://mailman.daimi.au.dk/mailman/listinfo/tex-music

Reply via email to