Hello all,
I want to use PMX MIDI macros to implement repeats and D.C. al Fine for
MIDI output.
Because the last bar has a D.C. al Fine I tried to insert the
appropriate MIDI macro play commands after the last bar.
When the macros are a separate input block after the last bar they are
ignored by M-Tx.
I found this problem in the piece I included in my message with subject
anyone knows this a-capella march?
It can be reproduced with this simple example:
Title: MIDI macro test
Style: Singer
Sharps: 1
Meter: 3/4
Pages: 1
Systems: 2
Size: 16
%%\nobarnumbers
%%Iipit120
%%IMR1
|: g4 b d | d b g | c a f
%%IM
V1 g b d |
%%IMP1
%%IMR2
U: ~ ~ !ppff Fine
Vb2 g- b g :|
%%IM
Vb g b d | g- b d | g- b d |
U: \vbox{\hbox{D.C.}\hbox{al~Fine}}
d2d |]
%%IMP1
%%IMP2
These are the last lines of the generated PMX file:
%Bar 8
g4- b4 d4 | /
% Paragraph 6 line 25 bar 9
\mtxZchar{10}{\ppff{\vbox{\hbox{D.C.}\hbox{al~Fine\ d2d /
RD
% Coded by M-Tx
When I remove the empty line before these commands they will be
inserted before the last bar like this:
% Paragraph 6 line 25 bar 9
IMP1
IMP2
\mtxZchar{10}{\ppff{\vbox{\hbox{D.C.}\hbox{al~Fine\ d2d RD
/
% Coded by M-Tx
This replays the recorded parts before the last bar, not after this bar.
When I manually add the MIDI commands at the end of the .pmx file or
just before the RD line, PMX generates MIDI output as intended.
I think, M-TX should not ignore PMX commands in %% comments after the
last notation block.
Bodo
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music