Re: [TeX-Music] M-Tx, number of staves

2010-06-13 Thread Luigi Cataldi

Dear All,

I've tried some experiments on Herman's example. I've used abcpp as a 
pmx preprocessor (or mtx post-processor if you want) instead of sed or 
similar post-processing scripts. At the and of this letter you can see 
the files 'grancini.mtx' and 'abcpp_pre.txt' (a preamble needed to 
process the pmx code with abcpp). I've compiled in this way:


prepmx grancini
abcpp abcpp_pre.txt  grancinia.pmx
pmxab grancinia
rm grancinia.mx?
tex grancinia
musixflx grancinia
tex grancinia
dvips -pp 2-5 grancinia
ps2pdf grancinia.ps

I'm sending the pdf resulting file too, in which is evident a problem in 
the vertical justification. In the first page you may see clearly that 
the two hyphens after the last syllable 'ta' are misplaced above the 
system. I think that the additional space above the last system comes 
from this problem, but, I'm sorry, I can't say why. Any Idea?


I read in the musixlyr manual (chapter 3.9, p. 18) that the use of

\notes...\assignlyricshere{soprano}...\en

is better that the normal \assignlyrics{2}{soprano} in case of 
alteration of instrument numbers like in our case, but this command 
doesn't understand melismas inserted by mtx. Is there a solution for this?


Last.
Olivier, I am left speechless for the admiration at your example about 
the way to change the number of instruments within a staff. Wonderful! 
Maybe it's possible to imagine a macro that common and not skilled 
people like me can use in some occasion?


Luigi

### abcpp_pre.txt ###
#define rpb / %
#include grancini.pmx
### end ##

% %% grancini.mtx %% Cut here
Style: TTTB4
TTTB4: Voices T1 T2 T3 B; Choral; Clefs G8 G8 G8 F
Meter: C
Size: 20
Pages: 4
Systems: 13
Name: v1 v2 v3 v4

{v1A}
Au-di-te po-pu-li, au-di-te, au-di-te
quid lo-qua-tur Do-mi-nus
quid glo-ri-a-ri in ma-li-ti-a,
quid glo-ri-a-ri in ma-li-ti-a
qui po-ten-tes in i-qui-ta-tem

{v1B}
o stul-ti, o stul-ti a-li-quan-do
sa-pi-te a-man-tes in-tel-li-gi-te
ad-huc mo-cum, et pae-ca-tor-rum e-rit,
ut um-bra trans-i-bit, vi-te ve-stra
pes-i-bit ut sti-pu-la
sic-ca quam pro-ii-cit
ven-tus, et si-cut fa-
vil-la quam tur-

{v2}
Quis in-sur-git ad-ver-sum nos
quis im-pro-pe-rat vi-as no-stras
quis in-sur-git ad ver-sum nos,
quis im-pro-pe-rat vi-as no-stras

{v3}
Quis in-sur-git ad-ver-sum nos
quis im-pro-pe-rat vi-as no-stras,
sur-git ad-ver-sum nos
quis im-pro-pe-rat vi-as no-stras

%% w176m
%% \\hoffset -1in\advance\hoffset 17mm\
%%h263m
%% \\voffset -1in\advance\voffset 17mm\
%% Ab
% 1
r0b
r0b
r0b
r0b

% 2
%% L2P2Mn214btr+
%%\\\mtxGroup{1}{2}{1}\

%%\\\mtxAssignLyrics{2}{v1A}\

%% \\\mtxLyricsAdjust{2}{4}\
r8 g85 g8 g8 e8d d1 c8 g8+
L: {v1A}
rpb
rpb
c03 s

% 3
e45 c8 g8+ e4 c4
rpb
rpb
c03 s

% 4
r4 g85d e1 ( c2
rpb
rpb
c23 f2-

% 5
c45 ) d4- d4d c8
rpb
rpb
f22s g2

% 6
c25 r8 e8 f8 g8
rpb
rpb
c23 c2

% 7
d85 d8 e8 e8 e4d d8
rpb
rpb
g43 c4- f2 7 x386

% 8
e25 r8 b8 c8 d8
rpb
rpb
e23 # d2 6#

% 9
g84s g8 a8 a8 a4d g8
rpb
rpb
e43 c4s e2 4 x143

% 10
a44 a8 b8 c4 c4
rpb
rpb
a02

% 11
r8 c d e f2
rpb
rpb
f43 e4 d2 7 x146

% 12

%% \\\mtxLyricsAdjust{2}{0}\
%% L6P3Mn41234btttcr-i.0
m6203 e05d r0 rb2
m6203 rp
m6203 r2 c25 g2 a2 b2 c2
L: {v2}
m6203 c03d fd0-

% 13
r0b r9
r2 g25 d2 e2 f2s g2
L: {v3}
c05 b2 e0d
g02d 4 x123 c0d

% 14
r0b r9
g05 f2s g0d
r2 a24 a2 b2d c4 d2
d03d 4 x123 g0-d

% 15
%% L7Mn3123bttcr-i.0
%%\\\mtxGroup{1}{3}{1}\
rpb
r2 e25 e2 f2sd g4 a2
d05 c2s (~ d2d e4 c4 d4
a02d 4 x123 d0d

% 16
rpb
a05 g2s (~ a2d b4 g4 a4
b44 c4 d4 c4 b2 )~ a0 r2
e03d 4 x123 a0-d

% 17
rpb
f45s g4 a4 g4 f2 e2 b2 )~ b2
r2b r0 r2 g24s g2
b02d e0d

% 18
rpb
c25 d2 e2 d0 d2
a24 b2 c2 c0 b2
a02 e2 6 g0d

% 19
rpb
e05d r2 b2 b2
c05d r2 g2s g2
c03d e0d #

% 20
rpb
c25d d4 e2 d0 d2
a24d b4 c2 c0 b2
a02 e2 6 g0d

% 21
rpb
(~ e25d f4 d4 e4 c2 f4 g4 e4 f4
(~ c25d d4 b4 c4 a2 d4 e4 c4 d4
c23 e0 6 f2 d0 -

% 22
rpb
d25 g4 a4 f4 g4 e2 f4 g4 a4 g4
b24 e4 f4 d4 e4 c2 d4 e4 f4 e4
g23 c0 - a0 f2 s

% 23
m3200 rpb
m3200 f45 e4 d0 )~
m3200 d45 e4 b0 )~
m3200 f23 s g0

% 24
m2406 rpb
m2406 e25
m2406 c25
m2406 \wh3\ r2b

% 25
%% L10Mn214btcr-i.0
%%\\\mtxGroup{1}{2}{1}\

%%\\\mtxAssignLyrics{2}{v1B}\

%% \\\mtxLyricsAdjust{2}{4}\
m2400 r8 g85 e8 e1 g1
L: {v1B}
m2400 rpb
m2400 rpb
m2400 r2b

% 26
m4400 c8- c r c1 c c4.b
m4400 rpb
m4400 rpb
m4400 c23 a2 7 x146

% 27
d8.d d4 r8 d ( d4
rpb
rpb
g22 d2+ #

% 28
d8 ) d d cs e.e e4
rpb
rpb
b22 7 x186 a2 #

% 29
r4 e8 a- (~ a4.b )~
rpb
rpb
c23s d2

% 30
gs4 b8 b ( e2
rpb
rpb
e23 # g2-s

% 31
e4 ) e8 e ed4 ( ds8
rpb
rpb
a22 b2

% 32
e4 ) r8 b d d1 c b4
rpb
rpb
e23 # d4 # e4

% 33
a4 r8 b1 c d8 d1 c b4
rpb
rpb
a42 e4+ # d4 e4

% 34
a4 r8 c cd4 d1 e
rpb
rpb
a22 - a2

% 35
f8 f r a fd4 f1 e
rpb
rpb
f02
% %% cut here %%
___
tex-mu...@icking-music-archive.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] M-Tx, number of staves

2010-06-13 Thread Luigi Cataldi

Of course I forgot the attachment, sorry!

Luigi


grancinia.pdf
Description: Adobe PDF document
___
tex-mu...@icking-music-archive.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music