Op Sa., 3 Nov. 2018 om 21:24 het Don Simons <[email protected]> geskryf:

> But PMX is freeware, and if anyone else wants to dig into the source code
> and work something out (like Dirk did once long ago for an alternate tie
> notation), I'd be glad to do what I can to help.

Well, I'll report progress in small steps and you can at any stage
weigh in with a comment :-) It will be the first Fortran I write since
that "once long ago".

There are four comments in the "To do" section: I do not intend giving
any attention to those.

I have split pmx287.for into 130 pieces (one program, one blockdata,
about 30 functions, about 100 subroutines) and classified those by
doing 'wc' on non-comment lines containing the case-insensitive string
MIDI. The three numbers count lines, words and characters.

addmidi.for 54 161 2453
chkimidi.for 11 35 515
docrd.for 14 39 711
dopsslur.for 15 46 822
doslur.for 15 42 783
g1etnote.for 14 52 664
g1etset.for 2 6 60
getmidi.for 63 263 3343
getnote.for 16 44 728
getset.for 2 6 58
igetvarlen.for 4 9 195
make1bar.for 8 18 353
make2bar.for 18 46 840
midievent.for 32 90 1480
pmxab.for 28 76 1210
pmxb.for 14 32 634
writemidi.for 35 89 1777

I'll imitate the practice of a clockmaker who lives in the same suburb
as I do: he spends half an hour every day staring from the outside at
a clock that has just come in for repairs, until he can visualize what
he expects to find inside. Next he spends half an hour a day staring
at the opened clock until he is convinced he knows how it is supposed
to. and why it does not, work. Only then does he loosen the first
litlle screw.

I've made a test file that differs from one that works by just one
one-voice Iv commad in the second instrument. It produces the error
message "MIDI stuff only allowed at start of block". I'll consider my
job done if I can hear that instrument as suddenly  louder.

I've already done the first part of the staring, which produced the
list given above. I now have 130 little clocks that might need fixing.

I'll stare first of all at the file that issues that message, then at
the ones with 'midi' in their names. If by then I'm still baffled I
may abandon the notion.

— Dirk

-------------------------------
[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