This post will raise a pure MusiXTeX question and a PMX question.
Here is an invalid PMX input file:

------------------------------------------------------------------
1 1 4 4 0 6  0.00000 0 1 1 20 0

6
./
rp-6         | g43 a4 b4 g4 | c0 //
c43 d4 e4 f4 | rp+6         | c0 /
------------------------------------------------------------------

It describes what I want to do, but is invalid because rp does not 
take modifiers.  What I want is:

Bar 1: music in the upper melodic strand, pause 6 internotes below
center in the lower.

Bar 2: music in the lower melodic strand, pause 6 internotes above
center in the upper.

So I need some inline TeX.  Don Simons on July 29 supplied a solution to
the related problem of setting two full-bar rests, one above the other,
which I adapted without really understanding it, to give the following:

---
\def\lrp#1{\centerbar{\lower#1\internote\pause}}
\def\rrp#1{\centerbar{\raise#1\internote\pause}}
---
1 1 4 4 0 6  0.00000 0 1 1 20 0

6
./
 MS1 \\\def\atnextbar{\znotes\rrp6\en}\ M
 MS2 \\\def\atnextbar{\znotes\lrp6\en}\ M 
r0b //
c43 d4 e4 f4 /

MP2 g43 a4 b4 g4 //
r0b /

c0 //
MP1 c0 /

This nearly gives what I want.  The second \pause symbol should appear
on the second leger line above the staff (where the note E would appear)
but just hangs in mid-air.

1. To MusiXTeX experts: what must I do to get those two leger lines?
2. To PMX experts: why do I need to put the MP1 and MP2 in the block
   after the rest instead of the block containing it?  BTW, if I put
   everything in one block I get the wrong result, even with bar line
   marking it off like the above.  I also get the same wrong result 
   if the MP immediately follows the r0b here: the first pause vanishes
   and the second one appears in the first bar.

Dirk

Reply via email to