2014-01-28 Don Simons <dsim...@roadrunner.com>:

> If you dig into the details of the challenge, you'll find a page-long score
> with lots of these. And in many places you need another voice on the same
> staff. So that would be a problem with my solution or either of Luigi's;
> they use up the only two voices allowed. Plus, it's really tedious to figure
> out the various parameters. If PMX were going to meet this challenge, I
> think we'd have to follow another path. If we admit some inline TeX, can
> anyone define a TeX macro that makes  one of these 12-note groups in a
> generic way? It would be really hard, keeping track of the slope and
> starting heights of the various parts. I've thought about it some but can't
> really get started.

All the required PMX is in place if you cheat.

~~~{.mtx}
Style: Solo
Meter: 12/4

{ ( c+u a bu e- ) ( bf+u e- } { a c- ) ( gs+ e gn cu ) }
~~~

~~~{.pmx}
%%%%%%%%%%%%%%%%%
%
% example1.tex
%
%%%%%%%%%%%%%%%%
\def\mtxversion{0.60d}
\def\mtxdate{<11 October 2008>}
\input mtx
\input musixtex
\input pmx
\setmaxslurs{24}\setmaxinstruments{24}%
\normalmusicsize%
\nopagenumbers
\tracingstats=2\relax
\hsize=524pt
\vsize740pt
\def\nbinstruments{1}
\setstaffs11
\setclef10
\setname1{ }
\generalsignature{ 0}%
\generalmeter{\meterfrac{12}{4}}%
\parindent 0pt
\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
\nostartrule
\readmod{example1}
\startmuflex\startpiece\addspace\afterruleskip%
\znotes\zcharnote{16}{\titles{2.0}{}{0}{}{0}{}{0}}\en%
% Bar count 1
\pnotes{2.83}\isu0{'b}{.8}\isu1c{.8}\qu c\qu a\qu b\tslur1{`e}\qu e%
\isu1{'b}{.8}\bigfl b\qu b\ts0{`d}{-.8}\qu e\isd0{'b}{.8}\qu a%
\tslur1{`c}\qu c\islurd1g\bigsh g\qu g\qu e\bigna g\qu g\tslur1{'c}%
\ts0d{-.8}\qu c\en%
\Endpiece
\vfill\eject\endmuflex
\bye
}

All that is still required is someone cleverer than me to write
example1.tex which redefines \isu, \isd, \tslur, \ts
(have I missed any?) to draw beams instead of slurs.
-------------------------------
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

Reply via email to