Re: [Tex-music] PMX : moving dots
Just to show how ugly this dot-moving problem is, here an example produced by the code in its current state. 3 out of 4 isn’t bad, right? --Don = 1 1 2 4 2 4 0 0 0 3 20 0 t .\ w4i Ab r8 b43ld+0+1 zc b43ld+0+1 zc r8 / r8 b43ld+0+1 zc / b43ld+0+1 zc r8 / = From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Don Simons Sent: Saturday, January 20, 2018 12:18 PM To: 'Werner Icking Music Archive' <tex-music@tug.org> Subject: Re: [Tex-music] PMX : moving dots I’m still working to correct this bug. It’s proving to be insanely complicated, due in part to the complex and different ways I had originally set up PMX to store information about shifted dots on main notes and chord notes. I have so far managed to fix Dieter’s case (the last chord in his example below). But in a closely related, very specific case, my fix breaks down, namely if you don’t move the dot on the B but do move the one on the C. My question for the group is this: Can you think of any real situation where you ever would want to do that? I.e., a case where you have a dotted 2-note chord with an interval of a second, and you want to move the dot on the right-most note from its default position, but leave the dot on the left-most note in its default position (where the dot will probably crash into the other note head)? It would save me some more hair-pulling if I didn’t have to worry about this very particular and very unlikely case. --Don --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX : moving dots
I’m still working to correct this bug. It’s proving to be insanely complicated, due in part to the complex and different ways I had originally set up PMX to store information about shifted dots on main notes and chord notes. I have so far managed to fix Dieter’s case (the last chord in his example below). But in a closely related, very specific case, my fix breaks down, namely if you don’t move the dot on the B but do move the one on the C. My question for the group is this: Can you think of any real situation where you ever would want to do that? I.e., a case where you have a dotted 2-note chord with an interval of a second, and you want to move the dot on the right-most note from its default position, but leave the dot on the left-most note in its default position (where the dot will probably crash into the other note head)? It would save me some more hair-pulling if I didn’t have to worry about this very particular and very unlikely case. --Don From: Don Simons [mailto:dsim...@roadrunner.com] Sent: Thursday, January 11, 2018 3:08 PM To: 'Werner Icking Music Archive' <tex-music@tug.org> Subject: RE: [Tex-music] PMX : moving dots Hi, Dieter, and happy new year! Yes, it is a bug or a feature :) For now, it looks like you could get the dots where you want them by moving the dot on the opposite note. I will look into the coding…I’ve already located some comments about switching notes in chords when there are 2nds. It’s not surprising this has never come up before, since it depends on the 2nd, the dots, and the down stem. I assume you noticed that the horizontal location of the notes is a little flaky too…you’d think they should be the same distance from the rest in both cases. More as it develops. --Don From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Dieter Sent: Thursday, January 11, 2018 2:01 AM To: Werner Icking Music Archive <tex-music@tug.org <mailto:tex-music@tug.org> > Subject: [Tex-music] PMX : moving dots Hi Don, please have a look at this example. == 114 4 4 4 0 0 0 2 20 0 t ./ w200 r8 b43d+0+1 zcr8 b43ld+0+1 zc / The 2nd dotted note with a low stem moves the wrong dot. Is this a bug or a feature? Regards, Dieter --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] PMX : moving dots
Dieter wrote >Is there a simple way (I guess there is always some TeX-way, which I >do not understand) to control the position of the dot in a chord note >like "zc" in the example below? Uh-oh! It's another RTFM. In the section of the PMX manual on chords, in the very first paragraph, it says "The only time a d is required in a chordal note command is if the dot’s position is to be adjusted; in this case the d is required, followed by one or two decimal numbers, each preceded by + or -." I still don't have the fix for the interchanged dot adjustments on the 2nds, but I have located some very specific comments in the code about interchanging the notes in the exact case where you found the problem: Interval of a 2nd, down stem, and main chord note is the lower of the two. Overall the coding in PMX that deals with chords is very complex, scattered all around, and mostly written at least 15 years ago, so it's taking time to reconstruct the logic. --Don --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] PMX : moving dots
Hi Don, please have a look at this example. == 1 1 4 4 4 4 0 0 0 2 20 0 t ./ w200 r8 b43d+0+1 zc r8 b43ld+0+1 zc / The 2nd dotted note with a low stem moves the wrong dot. Is this a bug or a feature? Regards, Dieter --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music