Hi,
I'm writing a program that outputs M-Tx files and I'm trying to test
it, but I can't figure out what's wrong with the following. Can
anyone help?
The file runs through M-Tx OK, but when I run the result through PMX,
PMX enters an infinite loop after the second pass. I found by binary
chop that the problem is around bar 36, which doesn't seem to be in
any way unusual. But even with only bars 1-25, it still goes wrong at
the MusiXTeX stage - I get the message:
"This shouldn't happen ! Too less bars or \mulooseness too large ?"
Here is the M-Tx file and the PMX file it produces, separated by
===========================.
Many thanks, Silas
Title: A Musical Diversion
Composer: S S Brown 1996
Style: MyStyle
MyStyle: Voices V1 V2 V3; Clefs G G G
%% w120m
4/4 r2d f4 e4d f8 g4 o. a4 o. b2d d4s e4d e8 g4 o. e4 o. d2ds e4
4/4 r2d a4 g4 b4 b4 c8 e8 f4d d8s d4 f4 g4 e4 e4 o. c4 o. b4d f8 f4 b4
4/4 r0 e2 e2 b4 f4 b4 a8 b8 c2d a4 b4 f4 b4 g4
c4d c8 b4 o. a4 o. c8 b8 b4d g8 f8 e8 b4d b8 c4 o. b4 o. g2d f4
e4 c4 e4 o. d4s o. e4d b8 g8 b8 b4 d4s f4 e4 o. d4 o. e4d b8 b4 o. a4
a2 g4 o. f4 o. g2 e4 o. g4 o. b2 a4 o. b4 o. e2d r4
e4d f8 g4 o. a4 o. b2d d4s e4d e8 f4 o. f4 o.
g4 b4 b4 c8 e8 f4d d8s d4 f4 e8 g8 ( e8 g8 ) b4 ( b8 f8 )
e2 e2 b4 f4 b4 a8 b8 c2 d2s
g2d g4 f4d e8 d4s ( f8 d8 ) e4d c8 a4 ( a8 g8 )
e4d b8 b4 o. e4 o. ( d4s e4 ) f4 o. b4 o. a4 e4 e4 ( f8 e8 )
e4 e4 e8 g8 b4 b2 b2 c4d a8 c4 c4
f4d f8 g4 o. f4 o. e2d b4 ( g4d a8 ) ( b8 a8 ) g4
d2s e4 o. c4 o. b4d g8 g4 e4 ( d4 b8 c8 ) ( d8 c8 ) d8 o. b8 o.
b4 f4 g4 a4 g4 e4 e4 g4 b4d a8 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g4 o. b2 a4 o. b4 o. e2d r4
e4d f8 g4 o. a4 o. b2d d4s e4d e8 f4 o. f4 o.
g4 b4 b4 c8 e8 f4d d8s d4 f4 e8 g8 ( e8 g8 ) b4 ( b8 f8 )
e2 e2 b4 f4 b4 a8 b8 c2 d2s
g2d g4 f4d e8 d4s ( f8 d8 ) e4d c8 a4 ( a8 g8 )
e4d b8 b4 o. e4 o. ( d4s e4 ) f4 o. b4 o. a4 e4 e4 ( f8 e8 )
e4 e4 e8 g8 b4 b2 b2 c4d a8 c4 c4
f4d f8 g4 o. f4 o. e2d r4
d2s e4 o. c4 o. b4d g8 g4 r4
b4 f4 g4 a4 g4 e4 e4 r4
===========================
---
\immediate\write10{M-Tx 0.52 (Music from TeXt) <29 October 1998>}
\let\:=\relax\input musixtex\:\sepbarrules\input pmx
---
3 3 4 4 0 6 0.00000 0 1 1 20 0
000
./
Tt
A Musical Diversion
Tc
S S Brown 1996
% Paragraph 2 line 6 bar 1
w120m
m4/4/4/4
r0 /
r2d a44 /
r2d f44 /
%Bar 2
e24 e2 /
g4 b4 b4 c8 e8 /
e4d f8 g4 o. a4 o. /
%Bar 3
b4 f4 b4 a8 b8 /
f4d d8s d4 f4 /
b2d d4s /
%Bar 4
c2d a4 /
g4 e4 e4 o. c4 o. /
e4d e8 g4 o. e4 o. /
%Bar 5
b4 f4 b4 g4 /
b4d f8 f4 b4 /
d2sd e4 /
% Paragraph 3 line 11 bar 6
a2 g4 o. f4 o. /
e4 c4 e4 o. d4s o. /
c4d c8 b4 o. a4 o. /
%Bar 7
g2 e4 o. g4 o. /
e4d b8 g8 b8 b4 /
c8 b8 b4d g8 f8 e8 /
%Bar 8
b2 a4 o. b4 o. /
d4s f4 e4 o. d4 o. /
b4d b8 c4 o. b4 o. /
%Bar 9
e2d r4 /
e4d b8 b4 o. a4 /
g2d f4 /
% Paragraph 4 line 15 bar 10
e2 e2 /
g4 b4 b4 c8 e8 /
e4d f8 g4 o. a4 o. /
%Bar 11
b4 f4 b4 a8 b8 /
f4d d8s d4 f4 /
b2d d4s /
%Bar 12
c2 d2s /
e8 g8 e8 s g8 s b4 b8 s f8 s /
e4d e8 f4 o. f4 o. /
% Paragraph 5 line 19 bar 13
e4 e4 e8 g8 b4 /
e4d b8 b4 o. e4 o. /
g2d g4 /
%Bar 14
b2 b2 /
d4s s e4 s f4 o. b4 o. /
f4d e8 d4s f8 s d8 s /
%Bar 15
c4d a8 c4 c4 /
a4 e4 e4 f8 s e8 s /
e4d c8 a4 a8 s g8 s /
% Paragraph 6 line 23 bar 16
b4 f4 g4 a4 /
d2s e4 o. c4 o. /
f4d f8 g4 o. f4 o. /
%Bar 17
g4 e4 e4 g4 /
b4d g8 g4 e4 /
e2d b4 /
%Bar 18
b4d a8 g4 b8 g8 /
d4 s b8 c8 s d8 s c8 s d8 o. b8 o. /
g4d s a8 s b8 s a8 s g4 /
% Paragraph 7 line 27 bar 19
f2 f8 g8 a8 b8 /
a4 a8 d8 a8 b8 f8 s g8 s /
d4d a8 d4 c8 s d8 s /
%Bar 20
c4d d8 e4 d8 c8 /
e4 g4 g4 f8 g8 /
e4d d8 c4 d8 s e8 s /
%Bar 21
b4d g8 b4 c8 b8 /
g4 d4 d4 e8 d8 /
d4d b8 g4 a8 b8 /
%Bar 22
a4d d8 c4 a4 /
e4 e8 f8 e4 c4 /
c4d b8 a8 b8 c8 d8 /
% Paragraph 8 line 31 bar 23
g4 o. g4 g4 a8 g8 /
e8 d8 e8 d8 b4 c8 d8 /
c8 b8 b4 g4 a8 s b8 s /
%Bar 24
a4 o. a4 a4 g8 a8 /
f8 e8 f8 e8 c4s d8 e8 /
d8 c8s c4 a4 b8 s c8 s /
%Bar 25
f2d f8 g8 /
a2 a4d e8 /
d4 f8 s e8 s d4d r8 /
% Paragraph 9 line 35 bar 26
b4d s a8 s g4 b8 g8 /
d4d s c8 s d8 s c8 s d8 o. b8 o. /
g4d s a8 s b8 s a8 s g4 /
%Bar 27
f4d g8 f4 e8 d8 /
a4 d8 b8 a2 /
d4d e8 d4 e8 f8 /
%Bar 28
e2 g4 a8 g8 /
g4 b8 a8 b4 d4 /
g4d f8 e4 d8 c8 /
% Paragraph 10 line 39 bar 29
b4 g4 b4 a8 g8 /
g4 b8 g8 d4 c8 s b8 s /
d4d b8 g4 a8 s b8 s /
%Bar 30
e4 g8 e8 f4 g8 a8 /
g4 c8 e8 d4 d4s /
c4d b8 a4 g8 f8 /
%Bar 31
e4 b8 a8 g4 f8 e8 /
e4 b8 c8 b4 a8 b8 /
g4d f8 e4 f8 g8 /
%Bar 32
c4 e8 g8 e4 o. d4s o. /
e4 c8 d8 c4 o. b4 o. /
a4d b8 g4 o. f4 o. /
% Paragraph 11 line 43 bar 33
e2d r4 /
g2d a4 /
e2d f4 /
%Bar 34
e2 e2 /
g4 b4 b4 c8 e8 /
e4d f8 g4 o. a4 o. /
%Bar 35
b4 f4 b4 a8 b8 /
f4d d8s d4 f4 /
b2d d4s /
%Bar 36
c2d a4 /
g4 e4 e4 o. c4 o. /
e4d e8 g4 o. e4 o. /
%Bar 37
b4 f4 b4 g4 /
b4d f8 f4 b4 /
d2sd e4 /
% Paragraph 12 line 47 bar 38
a2 g4 o. f4 o. /
e4 c4 e4 o. d4s o. /
c4d c8 b4 o. a4 o. /
%Bar 39
g2 e4 o. g4 o. /
e4d b8 g8 b8 b4 /
c8 b8 b4d g8 f8 e8 /
%Bar 40
b2 a4 o. b4 o. /
d4s f4 e4 o. d4 o. /
b4d b8 c4 o. b4 o. /
%Bar 41
e2d r4 /
e4d b8 b4 o. a4 /
g2d f4 /
% Paragraph 13 line 51 bar 42
e2 e2 /
g4 b4 b4 c8 e8 /
e4d f8 g4 o. a4 o. /
%Bar 43
b4 f4 b4 a8 b8 /
f4d d8s d4 f4 /
b2d d4s /
%Bar 44
c2 d2s /
e8 g8 e8 s g8 s b4 b8 s f8 s /
e4d e8 f4 o. f4 o. /
% Paragraph 14 line 55 bar 45
e4 e4 e8 g8 b4 /
e4d b8 b4 o. e4 o. /
g2d g4 /
%Bar 46
b2 b2 /
d4s s e4 s f4 o. b4 o. /
f4d e8 d4s f8 s d8 s /
%Bar 47
c4d a8 c4 c4 /
a4 e4 e4 f8 s e8 s /
e4d c8 a4 a8 s g8 s /
% Paragraph 15 line 59 bar 48
b4 f4 g4 a4 /
d2s e4 o. c4 o. /
f4d f8 g4 o. f4 o. /
%Bar 49
g4 e4 e4 r4 /
b4d g8 g4 r4 /
e2d r4 /
--
Silas S Brown, St John's College Cambridge UK http://www.flatline.org.uk/~silas
"Just like someone mad that is shooting fiery missiles, arrows and
death, so is the man that has tricked his fellowman and has said: 'Was
I not having fun?'" - Proverbs 26:19