Please consider the attached mtx file (file1.mtx) where the Soprano
staff has two voices, the Alto has one voice, and both Piano staves
have two voices.  At measure four I want to eliminate the Alto staff
and just have the Soprano and Piano staves printed.

I have been unable to do this by adding:
%%L2Mn213btt
at the beginning of the second music paragraph of file1.mtx, so I
ran prepmx on file1.mtx and then made these edits to the resulting
pmx file:
I added the line
L2Mn213btt
to the beginning of bar 4's paragraph and deleted the alto voice
rpb | /
from bars 4, 5 and 6.
I also changed the | in bar 3's first non-comment line to an Rd to
force a thin-thin double bar at this point, and I changed the 3 to
a 2 in the \assignlyrics{2} statement.

The result is file2.pmx, ready for pmxab, tex, musixflx and tex.

However, musixlyr wants to attach the second system's words to the
lower voice of the Soprano staff, which is all blank whole-measure
rests.  I can switch the notes of the Soprano's top voice with the
rests of its lower voice, but I am wondering if there is another way to
communicate to musixlyr that it should use the top voice of the Soprano
staff to attach lyrics.  file3.pmx contains all these changes.  I have
tried cancelling the lyric with \\\assignlyrics{3}{}\ before assigning
it again with \\\assignlyrics{2}{verse1a}\ but this has not worked.

Also, is it possible to get all of this to work from M-Tx?

I am using M-Tx 0.52, PMX 2.407, Musixlyr 2.0c and Musixtex T.109.

Thanks,
Kurt Kehler
% begin file1.mtx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Meter: 4/4
Bars/line: 4
%Pages: 4
%Systems: 8
Size: 16
singers: Voices singer1upper,singer1lower singer2upper; Vocal; Clefs G G;
pianolines: Voices rh1,rh2 lh1,lh2; Continuo; Clefs G F;
Style: singers pianolines
Name: Soprano Alto Piano

{verse1}
Line one here.

{verse1a}
Line two here.

c0+ | c0 | c0 |
L: {verse1}
rpb | rpb | rpb |
e0 | e0 | e0 |
c0 | c0 | c0 |
rpb | rpb | rpb |
c0 | c0 | c0 |
rpb | rpb | rpb |

c0 | c0 | c0 |
L: {verse1a}
rpb | rpb | rpb |
rpb | rpb | rpb |
c0 | c0 | c0 |
rpb | rpb | rpb |
c0 | c0 | c0 |
rpb | rpb | rpb |]
% end file1.mtx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% begin file2.pmx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
---
\immediate\write10{M-Tx 0.52 (Music from TeXt) <29 October 1998>}
\let\:=\relax\input musixtex\:\sepbarrules\input pmx
\input musixlyr\:\enableauxlyrics
% Paragraph 2 line 11 bar 1
\setlyrics{verse1}{%
Line one here.}
% Paragraph 3 line 14 bar 1
\setlyrics{verse1a}{%
Line two here.}
---
4 3 4 4 4 4  0.00000 0 0 4 16 0.12
{\twelvebf{Piano}}
{\twelvebf{Alto}}
{\twelvebf{Soprano}}
6000
./
\\setsize3{\normalvalue}\
% Paragraph 4 line 17 bar 1
\\\assignlyrics{3}{verse1}\lyrmodealter3\
rpb | //
c03 | /
rpb | //
c04 | /
e04 | /
rpb | //
c05 | /

%Bar 2
rpb | //
c0 | /
rpb | //
c0 | /
e0 | /
rpb | //
c0 | /

%Bar 3
rpb Rd //
c0 | /
rpb | //
c0 | /
e0 | /
rpb | //
c0 | /

L2Mn213btt
% Paragraph 5 line 26 bar 4
\\\assignlyrics{2}{verse1a}\
rpb | //
c0 | /
rpb | //
c0 | /
rpb | //
c0 | /

%Bar 5
rpb | //
c0 | /
rpb | //
c0 | /
rpb | //
c0 | /

%Bar 6
rpb RD
 //
c0 | /
rpb | //
c0 | /
rpb | //
c0 | /
% end file2.pmx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% begin file3.pmx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
---
\immediate\write10{M-Tx 0.52 (Music from TeXt) <29 October 1998>}
\let\:=\relax\input musixtex\:\sepbarrules\input pmx
\input musixlyr\:\enableauxlyrics
% Paragraph 2 line 11 bar 1
\setlyrics{verse1}{%
Line one here.}
% Paragraph 3 line 14 bar 1
\setlyrics{verse1a}{%
Line two here.}
---
4 3 4 4 4 4  0.00000 0 0 4 16 0.12
{\twelvebf{Piano}}
{\twelvebf{Alto}}
{\twelvebf{Soprano}}
6000
./
\\setsize3{\normalvalue}\
% Paragraph 4 line 17 bar 1
\\\assignlyrics{3}{verse1}\lyrmodealter3\
rpb | //
c03 | /
rpb | //
c04 | /
e04 | /
rpb | //
c05 | /

%Bar 2
rpb | //
c0 | /
rpb | //
c0 | /
e0 | /
rpb | //
c0 | /

%Bar 3
rpb Rd //
c0 | /
rpb | //
c0 | /
e0 | /
rpb | //
c0 | /

L2Mn213btt
% Paragraph 5 line 26 bar 4
\\\assignlyrics{2}{verse1a}\
rpb | //
c0 | /
rpb | //
c0 | /
c0 | //
rpb | /

%Bar 5
rpb | //
c0 | /
rpb | //
c0 | /
c0 | //
rpb | /

%Bar 6
rpb RD
 //
c0 | /
rpb | //
c0 | /
c0 | //
rpb | /
% end file3.pmx %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Reply via email to