Sorry! The lines breaks got messed up when I cut and pasted.
=========================
3    2   2 4 2 4  0 -1
1 1  16  .08


btt
./
\\let\tbbut\tbbu\ 
c82 zc+ c- zc+ c-4u zc+ // 
[u+18 g83 ze \def\tbbu#1{\zcharnote{#1}{}\let\tbbu\tbbut}\ g ]j rb4 / 
[jl b83 zcr e zcr zb ] g44 ze zc zb / 
c1 da e fa g8 aa / 
=========================


-----Original Message-----
From: TeX-Music <[email protected]> On Behalf Of 
[email protected]
Sent: Saturday, August 1, 2020 11:08 PM
To: 'Werner Icking Music Archive' <[email protected]>
Subject: Re: [Tex-music] cross over beamed notes

Well, still no real solution, which would involve some deep reprogramming in 
PMX. But here's an ugly "band-aid" that uses some inline TeX to locally cancel 
out the erroneous \tbbu4 command that PMX issues in this particular case:

=========================
3    2   2 4 2 4  0 -1
1 1  16  .08


btt
./
\\let\tbbut\tbbu\
c82 zc+ c- zc+ c-4u zc+ //
[u+18 g83 ze \def\tbbu#1{\zcharnote{#1}{}\let\tbbu\tbbut}\ g ]j rb4 / [jl b83 
zcr e zcr zb ] g44 ze zc zb /
c1 da e fa g8 aa /
=========================

If the pandemic lasts long enough I may still attack the real problem 😊

--Don

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Wednesday, July 29, 2020 3:21 PM
To: 'Werner Icking Music Archive' <[email protected]>
Subject: RE: [Tex-music] cross over beamed notes

Progress report: Not solved yet, but I see at least part of what's causing the 
problem. For multiplicity changes at the staff jump, I had worked out a scheme 
for the particular case where the multiplicity decreases right after the staff 
jump, for example, 16ths in the bass connected to 8ths in the treble. But 
Andre's example ends up exposing two major flaws in the scheme: At the end of 
the first segment, it looks forward (in time) for a lengthening in time values, 
and that doesn't apply in even the simplest case of staff-crossing 8th note 
chords, where the jump goes backwards, from the second 8th in the lower staff 
to the first in the upper. The second flaw is that I based the decision of 
whether there was a multiplicity change on looking at the horizontal note 
spacing after the staff jump at the end of the first segment. That's also just 
plain wrong in that the note spacing is not directly related to note duration 
if there are shorter notes in another staff, as in Andre's example.

So I'm still wracking my brain trying to come up with a criterion PMX can apply 
at the end of the first segment of a staff-jumping beam to properly deal with 
possible multiplicity changes there.

--Don

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, July 28, 2020 11:14 PM
To: 'Werner Icking Music Archive' <[email protected]>
Subject: RE: [Tex-music] cross over beamed notes

Andre, does this do what you want?

====================
c82 zc+ c- zc+ c-4u zc+ //
[u+18 g83 ze g ]j rb4 /
[jl b83 zcr e zcr zb ] g44 ze zc zb /
r1 r r r r4 /
====================

I started with the example from bar 2 of staffcrossall.pmx. Then it did take 
lots of trial and error to get it right. But it looks like you confused things 
even more by putting in some unnecessary extra [j and ]j .

--Don 

-----Original Message-----
From: TeX-Music <[email protected]> On Behalf Of 
Andre Van Ryckeghem
Sent: Tuesday, July 28, 2020 9:30 PM
To: Werner Icking Music Archive <[email protected]>
Subject: [Tex-music] cross over beamed notes

Dear all,

I need help to set this 1st bar right.

In staff 2:
- The second chord looks like a 16th note, probably because of the upper staff 
(compare with the 2nd bar)
- in the same chord i want the sequence of the 'c b' changed to 'b c' as in the 
3th chord.

(the upper staff is a song line, i need flagged notes there)

Thanks in advance

Andre

=============
3    2   2 4 2 4  0 -1
1 1  16  .08


btt
./
c82 zc+ c- zc+ c4-u zc+  //
[u+18 g8 ze ]j [j g ]j rb4 /
[ju c8 zb ]j [jl c ] zbr ze b4u zc ze zg   //
rbp /
c1 da e fa g8 aa /
%
c82 zc+ c- zc+ c4-u zc+  //
[u+18 g8 ze ]j [j g ]j rb4 /
[ju c8- zb ]j [jl c ] zbr ze b4u zc ze zg   //
rbp /
rp /
=========== 

-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music

Reply via email to