Hi Don,

please find attached a simple example. The pmx generated Tex file is "musixper_test_nodrum.tex" and the modified Tex-file is "musixper_test.tex". The differences are the input command for "musixper.tex" and a decoration of the concerned notes with "dc" after the backslash. There exists a variety of percussion fonts, please see in the musixtex documentation on page 96 (section 2.23.18) .

Regards,
Dieter

Am 10.03.2015 um 15:09 schrieb Don Simons:

Hi, Dieter—

Please make a sample available, including both the PMX file and the altered TeX file. I will consider this, but I cannot make any promises.

I’m guessing there may be ways to do most if not everything you need within the PMX file, using inline TeX. I realize that’s not as slick as having PMX commands, but it is a lot better than having to edit the TeX file. So that will be the first thing I explore.

--Don Simons

*From:*TeX-Music [mailto:tex-music-boun...@tug.org] *On Behalf Of *Dieter
*Sent:* Tuesday, March 10, 2015 1:23 AM
*To:* Werner Icking Music Archive
*Subject:* [Tex-music] Fwd: percussion notes with PMX and musixper


        

        

        

        

Hi,
finally (after an interruption of several years ) I managed to produce
percussion notes with PMX and musixper, following an advice by Philipp Neukel.
This is great, but it requires to manually change the "final" PMX generated TeX
-version.
And if this version is not 100 % final, then I have to do this more than
once.
Would it not be beautiful to have PMX-commands for bracketing a group
of percussion notes and  to include this information in the PMX file?
Maybe with such a mechanism one could give other formatting hints to a
group of notes.
What do you think, Don? 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


% Test musixper
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
    1
    1
    3
    4
    3
    4
% npickup nkeys
 0
    0
% npages nsystems musicsize fracindent
    0
    4
   20
 0.05
Drum
t
.\
Ti

% Body
% Header
AbepI1.0
% Av
% space before first note of bar
% big accidentals
% equalizes interstaff spacing
% type K slurs
%\\setclef2{\treble}\settrebleclefsymbol{2}\treblelowoct\
% Bars 1
g4  g8 g8 g8 g8 | /
g4  g8 g8 g8 g8 | /
g4  g8 g8 g8 g8 | /

%%%%%%%%%%%%%%%%%
%
% musixper_test.tex
%
%%%%%%%%%%%%%%%%
\input musixper
\input musixtex
\input pmx
\setmaxslurs{24}\setmaxinstruments{24}%
\input musixps
\normalmusicsize%
\nopagenumbers
\tracingstats=2\relax
\hsize=524pt
\vsize740pt
\def\nbinstruments{1}
\setstaffs11
\setclef10
\setname1{Drum}
\generalsignature{ 0}%
\generalmeter{\meterfrac{3}{4}}%
\parindent 26pt
\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
\nostartrule
\readmod{musixper_test}
\startmuflex\startpiece\addspace\afterruleskip%
\bigaccid%
\global\parskip 0pt plus 12\Interligne minus 99\Interligne%
\def\upstrut{\znotes&\zcharnote{\upamt}{~}\en}%
\Nosluradjust\Notieadjust\nohalfties
\znotes\zcharnote{16}{\titles{2.0}{}{0}{}{0}{}{0}}\en%
% Bar count 1
\endeq%
\pnotes{2.83}\qu{`g}\en%
\pnotes{2.00}\ibu1b0\qb1{`g}\qb1g\qb1g\tbu1\qb1g\en%
% Bar count 2
\xbar
\pnotes{2.83}\dcqu{`g}\en%
\pnotes{2.00}\ibu1b0\dcqb1{`g}\dcqb1g\dcqb1g\tbu1\dcqb1g\en%
% Bar count 3
\xbar
\pnotes{2.83}\qu{`g}\en%
\pnotes{2.00}\ibu1b0\qb1{`g}\qb1g\qb1g\tbu1\qb1g\en%
\Endpiece
\vfill\eject\endmuflex
\bye

Attachment: musixper_test.ps
Description: PostScript document

%%%%%%%%%%%%%%%%%
%
% musixper_test_nodrum.tex
%
%%%%%%%%%%%%%%%%
\input musixtex
\input pmx
\setmaxslurs{24}\setmaxinstruments{24}%
\input musixps
\normalmusicsize%
\nopagenumbers
\tracingstats=2\relax
\hsize=524pt
\vsize740pt
\def\nbinstruments{1}
\setstaffs11
\setclef10
\setname1{Drum}
\generalsignature{ 0}%
\generalmeter{\meterfrac{3}{4}}%
\parindent 26pt
\elemskip1pt\afterruleskip1.000pt\beforeruleskip0pt\relax
\stafftopmarg0pt\staffbotmarg5\Interligne\interstaff{10}\relax
\nostartrule
\readmod{musixper_test_nodrum}
\startmuflex\startpiece\addspace\afterruleskip%
\bigaccid%
\global\parskip 0pt plus 12\Interligne minus 99\Interligne%
\def\upstrut{\znotes&\zcharnote{\upamt}{~}\en}%
\Nosluradjust\Notieadjust\nohalfties
\znotes\zcharnote{16}{\titles{2.0}{}{0}{}{0}{}{0}}\en%
% Bar count 1
\endeq%
\pnotes{2.83}\qu{`g}\en%
\pnotes{2.00}\ibu1b0\qb1{`g}\qb1g\qb1g\tbu1\qb1g\en%
% Bar count 2
\xbar
\pnotes{2.83}\qu{`g}\en%
\pnotes{2.00}\ibu1b0\qb1{`g}\qb1g\qb1g\tbu1\qb1g\en%
% Bar count 3
\xbar
\pnotes{2.83}\qu{`g}\en%
\pnotes{2.00}\ibu1b0\qb1{`g}\qb1g\qb1g\tbu1\qb1g\en%
\Endpiece
\vfill\eject\endmuflex
\bye
-------------------------------
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