Dieter-

 

Here's an example of how to use inline TeX to do what you did in
musixper_test. You could enhance macros /startper and /endper to include all
the other kinds of notes; you could make alternate macros for the other
kinds of percussion symbols, and you could include them all in a single tex
file which you could input from within the PMX source. The \global
declarations aren't necessary when you use these as type 3 inline tex (at
the start of a PMX input block, as in the example), but they also allow you
to use them as type 1 inline tex (within an input block, for example for one
note at a time)

 

--Don

 

% 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

 

\\input musixper\

\\let\qbt\qb\let\qut\qu\

\\def\startper{\global\let\qb\dcqb\global\let\qu\dcqu}\

\\def\endper{\global\let\qb\qbt\global\let\qu\qut}\

% 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 | /

\\\startper\

g4  g8 g8 g8 g8 | /

\\\endper\

g4  g8 g8 g8 g8 | /

 

 

From: TeX-Music [mailto:[email protected]] On Behalf Of Dieter
Sent: Tuesday, March 10, 2015 10:23 AM
To: [email protected]
Subject: Re: [Tex-music] Fwd: percussion notes with PMX and musixper

 

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:[email protected]] 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

 

 






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






 
-------------------------------
[email protected] 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