Hello,
I have found two issues using M-Tx, (and, subsequently,
pmxab and scor2prt) when extracting the vocal part from my
three instrument score, the vocal part being the second
instrument. I can solve them by manually editing the pmx
part file generated by scor2prt, which means
additional work I'd prefer to avoid if possible.
First problem:
Some background first: in an mtx-generated pmx file
I could write this (note esp. the fourth, third and second to
last lines of this excerpt)
% Paragraph 17 line 124 bar 15
% Takt 15 (36)
\\\mtxSetLyrics{21}{Stim-me}\
\\\mtxSetLyrics{22}{Stun-de;}\
a4 a4+ d4- e4 | /
%%
c2 oT5 b2 | /
%2 c2 oT b2 | /
e1 s f1 s g8 o. g8 s f8 s [ a8 s g8 s ] [ b8- s a8 s ] | /
to get wavy trills of different lengths for instrument
number 2 in (a) the score (oT5) and (b) the corresponding
part of this instrument (oT).
Note: I need different wave lengths because pmx calculates
the length from the *first* instrument which happens to start
with 1/16s, not with halves as the 2nd instrument does,
thereby creating way too short a wave. From a private mail of Don
I conclude that changing pmxab so that it would calculate the length
from the actual instrument's context is too expensive.
My question: what would I have to write in the mtx file to automatically
get the above comment structure to the pmx file? Here is my short
trial-and-error mtx file.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Meter: C
Flats: 3
Pages: 1
Systems: 1
Size: 20
Indent: 0.085
Violine: Voices Violine; Clefs G
Gitarre1: Voices Gitarre1; Clefs G8
Gitarre2: Voices Gitarre2; Clefs G8
Tenor: Voices RH; Vocal; Clefs G8
Cello: Voices LH; Clefs F
Style: Gitarre1 Tenor Cello
Name: Git. Tenor Vc.
Octave: 4 4 2
PMX: AbeprI1.8
Enable: instrumentNames
%%%%% Takt 15 oT5 -> oT
%%%%% Text-Zuordnung auf Stimme 1 statt 2: \\\mtxAssignLyrics{***1***}{21}
%%% Takt 15 (36)
e1+ s f s g8 o. g s f s [ a8 s g s ] [ b8- s a s ]
c2+ oT b2
Space: 0 3
L: Stim-me
L: Stun-de;
a a+ d- e
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Second problem:
scor2prt doesn't change the first argument of
\mtxAssignLyrics commands to 1. Therefore the lyrics of
instrument 2 remains, of course, assigned to instrument 2, but in
a single part there is only instrument 1. To make the
lyrics show up in the part one has to search and replace
\mtxAssignLyrics{2} with \mtxAssignLyrics{1} in the part's
pmx file.
This problem could be solved with the pmx comments %% and %2
mentioned in the first problem above if there was a way to
get these comments from mtx to pmx. So, instead of changing the
code of prepmx or scor2prt the workaround of the first problem
would solve this one as well.
Thanks,
Stefan
_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music