Someone with more patience than I have may be able to work out exactly how
the octave register is getting screwed up. But I'll just suggest that for
simply stopping and restarting an existing beam, you could use a completely
different and much simpler method. It's based on the fact that \ibbu and
\tbu are non-spacing commands. For example, in the bass clef bar 2,

c43x5 \tbu1\ c \ibbu130\ c c c

works just fine. Remember, by using numbers for pitches instead of letters,
you preserve the octave register.

--Don Simons



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Andre
> Van Ryckeghem
> Sent: Saturday, September 30, 2006 12:30 PM
> To: Typesetting music with TeX
> Subject: [TeX-music] pmx - splitting a row of beamed notes
>
>
> I am trying to split a beam of a tuplex in 2 beams, and i encountered a
> behaviour i cannot explain.
> Probably i am doing something wrong.
>
> It happens in a system with 2 staves. I use a redefinition of \qb... for
> ending an up beam (\tuptu) and for starting a new up beam
> (\tupsu). In some
> cases the 1st note of the 2nd beam takes an octave jump. This has
> nothing to
> do with the xtuplet, because it happens also in normal beams where these
> macros are used. In the example i made here, the jump occurs on all first
> notes exept the 'g', as you can see in bar 3 and 5.
>
> It also does not occurs when the upper staf has a rest (bar 1).
> This i can
> explain: the musixtex code takes the full bar in 1 line.
>
> If i change the '{##2}' by '{!##2}' in \tupsu , the error occurs on other
> places (in this example the 1st bar).
>
> This is the example:
>
> ===========
> 2 1  1 4 1 4 0 0 1 1 20 0
>
> bt
> ./
> \\interstaff{14}\
> \\let\qbsav\qb\
> % terminate beam up
> \\def\tuptu{\def\qb##1##2{\
>  \\let\qb\qbsav\tbu##1\qb{##1}{##2}}}\
> % start beam up
> \\def\tupsu{\def\qb##1##2{\
>  \\let\qb\qbsav\ibbu##1{##2}0\qb##1{##2}}}\
> %
> c43x5 \tuptu\ c \tupsu\ c c c
> c43x5 \tuptu\ c \tupsu\ c c c
> [u c4x5 \tuptu\ c \tupsu\ g c c ] /
> r4
> b43x4 \tuptu\ b \tupsu\ b b
> b4x4 \tuptu\ b \tupsu\ b b /
> m5858
> % no tuplets: same error
> [ c1 c \tuptu\ c \tupsu\ c c c c8 c ] /
>  b1da b8 b3a b8d bda /
> [ c1 c \tuptu\ c \tupsu\ g c c c8 c ] /
> [ b8 b3 b8 b3  b8d  b1 b ] /
> ===========
>
> Thanks for helping
> Andre
>
> _______________________________________________
> TeX-music mailing list
> [email protected]
> http://icking-music-archive.org/mailman/listinfo/tex-music
>


_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to