Andre Van Ryckeghem wrote

> I am sorry, to bargain the list again with this

Andre, bug reports are like gold.  You absolutely should not apologize.  And
it's good to send them to the list (rather than privately) for various
reasons: so people realize that things are happening; in case someone else
may have had the same problem; or maybe someone else besides me can solve it
(like with the recent dotted whole note problem).

While all bug reports are welcome, yours have another feature that I
appreciate very much: You distill down your source to a tiny piece that
shows the problem, rather than sending a 20-KB source with the problem in
bar 438.  That saves me some effort, because the first thing I usually have
to do is to isolate the problem into as small a source as possible so I can
run pmx efficiently in debug mode.

Now on to this problem:
>
> This (see subject) is what i got on mesure 4, but i am afraid i am doing
> something wrong
>
> In the test programm, when removing  the midi line 'It120iororor', then
> there is no error.
>
> -------------
> ---
> \input musixtex
> ---
> %
> % nv,noinst,mtrnuml,mtrdenl,mtrnump,mtrdenp,xmtrnum0,isig,
>     3    -2 1 2   6  8  6  8   0  -2
> % npages,nsyst,musicsize,fracindent
>    1      1  20  .04
> Ped.
> Man.
> bbt
> ./
> It120iororor
> rp g42,g g,g /
> g23d st zb s1t zd s2t | g2d- st zb s1t zd s2t /
> rp rp /
> %7
> d4,d+ c,c | b,a g8 f e /
> e43d zg zb fd s2t zd | f s2t ,d gd //
> rb4d a43d s1t | ad s1t bd /
> e4d dd | d stu ,c zd st s1t dd s1t //
> g44,g f,f | d,f gd /
> ------------------

You are not doing anything really wrong.  This is a deficiency
["feature":-)] in the way PMX's MIDI translator deals with ties.  The short
answer is...if you make the "st" tie go between main notes only, and not
from a main note to a chord note, then in this case the problem goes away.
I have to confess I cannot explain exactly why, I just tried that switch and
it made the eroor message go away.  Ties were a major headache in this part
of the code because tied notes look like separate objects to PMX but must be
made to look like a single object to the MIDI processor. But first they have
to be identified, since (before postscript) there was no difference between
ties and slurs. It gets incredibly messy when some notes of chords are tied,
some not, and ties may be starting and stopping on the same note.  I afraid
at the moment I'm not strongly motivated to revisit this part of the code.
Part of my lack of motivation is that PMX was never meant to generate
high-quality MIDI files.  For example it doesn't recognize graces or
ornaments, nor more than one tie at once in a given line of music. So now
I'm the one who has to apologize.

--Don Simons

_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music

Reply via email to