Bob Tennent wrote:
>
> > 1. Maybe there's a way with inline TeX to transpose one voice by an octave.
>
> There is. Here's the basic idea; this will transpose the second of two
> voices down an octave. (Assumes use of \en to terminate \notes etc.)
>
> \makeatletter
> \def\vnotes#1\elemskip#2\en%
> {\noteskip#1\@l@mskip\@vnotes#2&\transpose=-7\relax#3\enotes}%
> \makeatother
As stated this code transposes the notes of a voice an octave down which
is done at the MusiXTeX level. It has no effect on the MIDI output
generated at the pmx level.
Until now my own workaround for the missing MIDI octaviation feature has
been to duplicate the initial lines(s) of corresponding voice(s) needing
the transposition and then comment out the transposed version when I'm
producing note graphics. For example
MyStyle: Voices V1 V2; Clefs G G8
Style: MyStyle
Meter: C
g4+ g g g
g4+ g g g
% g4 g g g
In this context it is especially advantageous that M-Tx doesn't allow
the pmx absolute octaviation syntax but forces you to use the +/-
relative octaviation. An octaviation change at the first note will be in
effect for the whole score. Pmx users should be able to do that too by
avoiding any other absolute octaviation than that of the leading note.
Regards
--
Christian Mondrup, Computer Programmer
Scandiatransplant, Skejby Hospital, University Hospital of Aarhus
Brendstrupgaardsvej, DK 8200 Aarhus N, Denmark
Phone: +45 89 49 53 01