This is the first time anyone has ever pointed out this feature. I’m sorry for 
the inconvenience, but I’m glad you’ve worked out a way around it. 

 

I’m afraid It would be an absolute nightmare to try to fix it (by maintaining 
separate supplies of slur and tie labels). It would even be rather tricky to 
put in a check for whether you’ve opened a new slur/tie with a given index 
before closing the last one. When I first built slurs and ties into PMX, I used 
only the s and t commands, not (, ), {, and }. Some people asked for the latter 
and I acquiesced, despite the complications introduced by now having to allow 
the starting command to come BEFORE the note. I did manage to work that out, 
but I’m not too motivated to carry this index issue forward.

 

I’ll assume that the excerpt you’ve printed out has been compromised somehow in 
another way…those G sharps in the first two bars don’t make any sense at all :).

 

--Don

 

 

From: TeX-Music [mailto:[email protected]] On Behalf Of Dieter
Sent: Thursday, December 08, 2016 9:47 AM
To: Werner Icking Music Archive <[email protected]>
Subject: [Tex-music] Identifier for ties and slurs in PMX

 

I was not aware, that  the same supply of 1-digit and 1-letter characters is 
being used for ties and slurs (see attachment).

I discovered this while testing XML2PMX.

 

The following PMX code

=========================================

% nv, -noinst, nostaves per instrument
 4 -4 1 1 1 1
% mtrnuml,mtrdenl,mtrnmp,mtrdnp,xmtrnum0,isig
 4 4 0 6 0 1
%
% npages,nsyst,musicsize,fracindent 
 0 3 16 0.07
Bass
Tenor
Alt
Sopran
bttt
./
Tt
Michelle Slur "(1"
Tc
JohnLennon / Paul McCartney
AbepK
%w277m
%h390m
\\setclef2{\treble}\settrebleclefsymbol{2}\treblelowoct\ 
<file:///\\setclef2%7b\treble%7d\settrebleclefsymbol%7b2%7d\treblelowoct\> 

% e-moll 
Ki2+7+1

 Rl e23l e4d3l e83l | a4d2u e83l a43l a42u | d4d3l d83l g82u g43l d83l | /
 b23l {0l b23l | b43l }0 c44l g23l | f43l b43l f43l f43l | //
 r4  b43u [u d84u (1 {0l e84u ] {1l e44u }0 | e04 }1 | d04 )1 | /
 e44l e44l d44nl d44l | c44l c44l c44l c44l | b43l c44l b43l b43l | //
 g44u g44u f44u f44u | e44u e44u e44u e44u | d44u d44u d44u d44u | /
 g44su g44u g44u g44u | g44su a44u b44l c45l | d44u e44u f44u g44nu | /

====================================================================

When I replace the slur marker "(1 ... )1" in line 3 of the code with "(2 ... 
)2", I get the following.


>From the point of view of automatic generation I find this kind of 
>inconvenient. 

But I know what I have to do to make XML2PMX handle this situation.

Regards,
Dieter



 
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to