Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-11 Thread Don Simons
Error messages can be difficult to program, because it’s hard for the
programmer to anticipate everything that could go wrong. In this case, PMX
doesn’t check anything about the next line after Ti; it just accepts it.
Then when “\\input musixper\  ” was used as an
argument in the TeX macro \titles (from pmx.tex) something unanticipated
went haywire. This sort of thing happens all the time; you just have to get
used to it.

 

--Don Simons

 

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

 

Don-

there is no reason for this "Ti" statement. It has survived some copy and
paste operation and escaped my attention. In my first test of your code I
erroneously removed the blank line after "Ti". But still I find this error
message  kind off misleading. Anyhow, thanks again.

Dieter

Am 11.03.2015 um 15:50 schrieb Don Simons:

Dieter—

 

This is very strange! When initially working out the solution, I had gotten
EXACTLY the same error:

 

Runaway argument?

{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes \ETC.

 

The problem was basically caused by your having used “Ti” and then leaving
the next line blank. When I first copied your original source into WinVi,
for some reason the blank line had disappeared, and the next line after “Ti”
was \\input musixper\   . I fixed it by
restoring the blank line after “Ti”, so that it contained a single blank
space. Maybe that won’t work for you, but why in the world did you put in
“Ti” with no instrument name? Why not just get rid of the “Ti”??

 

--Don

 

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

 

Don,

thanks for your rapid solution. This would solve my problem. But for some
reason or other it does not work on my Computer (Windows7 ,64 bit). I
include the PMX file and error message. 
=
 This is PMX, Version 2.7  , 3 Apr 13
 Opening donexample.pmx
 Starting first PMX pass
  Bar 1  Bar 2  Bar 3
 Done with first pass
 Starting second PMX pass
 WARNING
   In a title block, you have specified instrument and/or
   composer but no title for the piece.
  Bar 1  Bar 2  Bar 3
 Writing .\donexample.tex
 Done with second PMX pass.
D:\MUSIX\Jonah>if errorlevel 1 goto pmxerr
D:\MUSIX\Jonah>if exist donexample.pml del donexample.pml
D:\MUSIX\Jonah>if exist donexample.mx2 del donexample.mx2
D:\MUSIX\Jonah>if exist donexample.mx1 del donexample.mx1
D:\MUSIX\Jonah>Call "C:\miktex2.9\miktex\bin\etex" donexample
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
entering extended mode
(D:\MUSIX\Jonah\donexample.tex
(c:\miktex2.9\tex\generic\musixtex\musixtex.tex
MusiXTeX(c) 1.15 <3 April 2011>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6) (c:\miktex2.9\tex\generic\pmx\pmx.tex
PMX, a Preprocessor for MusiXTeX, Version 2.7a <3 April 13>
) maxslurs=24
Normal \dimen register pool exhausted, switching to extended pool.
maxinstruments=24 (c:\miktex2.9\tex\generic\musixtex\musixps.tex
MusiXPS PostScript slurs, ties and crescendos 0.92 (12.5.2002)
Normal \count register pool exhausted, switching to extended pool.)
Runaway argument?
{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes \ETC.
! Forbidden control sequence found while scanning use of \C@ch.

\par

   \bye
l.52 \bye

?
===
What did I do wrong? Do you have an idea?

Thanks! Dieter

Am 11.03.2015 um 03:41 schrieb Don Simons:

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

% equalize

Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-11 Thread Dieter

Don-

there is no reason for this "Ti" statement. It has survived some copy 
and paste operation and escaped my attention. In my first test of your 
code I erroneously removed the blank line after "Ti". But still I find 
this error message  kind off misleading. Anyhow, thanks again.


Dieter

Am 11.03.2015 um 15:50 schrieb Don Simons:


Dieter—

This is very strange! When initially working out the solution, I had 
gotten EXACTLY the same error:


Runaway argument?

{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes 
\ETC.


The problem was basically caused by your having used “Ti” and then 
leaving the next line blank. When I first copied your original source 
into WinVi, for some reason the blank line had disappeared, and the 
next line after “Ti” was \\input musixper\ 
 . I fixed it by restoring the 
blank line after “Ti”, so that it contained a single blank space. 
Maybe that won’t work for you, but why in the world did you put in 
“Ti” with no instrument name? Why not just get rid of the “Ti”??


--Don

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

Don,

thanks for your rapid solution. This would solve my problem. But for 
some reason or other it does not work on my Computer (Windows7 ,64 
bit). I include the PMX file and error message.

=
 This is PMX, Version 2.7  , 3 Apr 13
 Opening donexample.pmx
 Starting first PMX pass
  Bar 1  Bar 2  Bar 3
 Done with first pass
 Starting second PMX pass
 WARNING
   In a title block, you have specified instrument and/or
   composer but no title for the piece.
  Bar 1  Bar 2  Bar 3
 Writing .\donexample.tex
 Done with second PMX pass.
D:\MUSIX\Jonah>if errorlevel 1 goto pmxerr
D:\MUSIX\Jonah>if exist donexample.pml del donexample.pml
D:\MUSIX\Jonah>if exist donexample.mx2 del donexample.mx2
D:\MUSIX\Jonah>if exist donexample.mx1 del donexample.mx1
D:\MUSIX\Jonah>Call "C:\miktex2.9\miktex\bin\etex" donexample
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
entering extended mode
(D:\MUSIX\Jonah\donexample.tex 
(c:\miktex2.9\tex\generic\musixtex\musixtex.tex

MusiXTeX(c) 1.15 <3 April 2011>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6) (c:\miktex2.9\tex\generic\pmx\pmx.tex
PMX, a Preprocessor for MusiXTeX, Version 2.7a <3 April 13>
) maxslurs=24
Normal \dimen register pool exhausted, switching to extended pool.
maxinstruments=24 (c:\miktex2.9\tex\generic\musixtex\musixps.tex
MusiXPS PostScript slurs, ties and crescendos 0.92 (12.5.2002)
Normal \count register pool exhausted, switching to extended pool.)
Runaway argument?
{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes 
\ETC.

! Forbidden control sequence found while scanning use of \C@ch.

\par

   \bye
l.52 \bye

?
===
What did I do wrong? Do you have an idea?

Thanks! Dieter

Am 11.03.2015 um 03:41 schrieb Don Simons:

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:tex-music-boun...@tug.org] *On Behalf Of
*Dieter
*Sent:* Tuesday, March 10, 2015 10:23 AM
*To:* tex-music@tug.org <mailto:tex-music@tug.org>
    *Subject:* Re: [Tex-music] Fwd: percussion notes with PMX and musixper

Hi Don,

please fi

Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-11 Thread Don Simons
Dieter—

 

This is very strange! When initially working out the solution, I had gotten
EXACTLY the same error:

 

Runaway argument?

{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes \ETC.

 

The problem was basically caused by your having used “Ti” and then leaving
the next line blank. When I first copied your original source into WinVi,
for some reason the blank line had disappeared, and the next line after “Ti”
was \\input musixper\   . I fixed it by
restoring the blank line after “Ti”, so that it contained a single blank
space. Maybe that won’t work for you, but why in the world did you put in
“Ti” with no instrument name? Why not just get rid of the “Ti”??

 

--Don

 

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

 

Don,

thanks for your rapid solution. This would solve my problem. But for some
reason or other it does not work on my Computer (Windows7 ,64 bit). I
include the PMX file and error message. 
=
 This is PMX, Version 2.7  , 3 Apr 13
 Opening donexample.pmx
 Starting first PMX pass
  Bar 1  Bar 2  Bar 3
 Done with first pass
 Starting second PMX pass
 WARNING
   In a title block, you have specified instrument and/or
   composer but no title for the piece.
  Bar 1  Bar 2  Bar 3
 Writing .\donexample.tex
 Done with second PMX pass.
D:\MUSIX\Jonah>if errorlevel 1 goto pmxerr
D:\MUSIX\Jonah>if exist donexample.pml del donexample.pml
D:\MUSIX\Jonah>if exist donexample.mx2 del donexample.mx2
D:\MUSIX\Jonah>if exist donexample.mx1 del donexample.mx1
D:\MUSIX\Jonah>Call "C:\miktex2.9\miktex\bin\etex" donexample
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
entering extended mode
(D:\MUSIX\Jonah\donexample.tex
(c:\miktex2.9\tex\generic\musixtex\musixtex.tex
MusiXTeX(c) 1.15 <3 April 2011>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6) (c:\miktex2.9\tex\generic\pmx\pmx.tex
PMX, a Preprocessor for MusiXTeX, Version 2.7a <3 April 13>
) maxslurs=24
Normal \dimen register pool exhausted, switching to extended pool.
maxinstruments=24 (c:\miktex2.9\tex\generic\musixtex\musixps.tex
MusiXPS PostScript slurs, ties and crescendos 0.92 (12.5.2002)
Normal \count register pool exhausted, switching to extended pool.)
Runaway argument?
{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes \ETC.
! Forbidden control sequence found while scanning use of \C@ch.

\par

   \bye
l.52 \bye

?
===
What did I do wrong? Do you have an idea?

Thanks! Dieter

Am 11.03.2015 um 03:41 schrieb Don Simons:

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:tex-music-boun...@tug.org] On Behalf Of Dieter
Sent: Tuesday, March 10, 2015 10:23 AM
To: tex-music@tug.org <mailto:tex-music@tug.org> 
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 

Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-11 Thread Dieter

Don,

thanks for your rapid solution. This would solve my problem. But for 
some reason or other it does not work on my Computer (Windows7 ,64 bit). 
I include the PMX file and error message.

=
 This is PMX, Version 2.7  , 3 Apr 13
 Opening donexample.pmx
 Starting first PMX pass
  Bar 1  Bar 2  Bar 3
 Done with first pass
 Starting second PMX pass
 WARNING
   In a title block, you have specified instrument and/or
   composer but no title for the piece.
  Bar 1  Bar 2  Bar 3
 Writing .\donexample.tex
 Done with second PMX pass.
D:\MUSIX\Jonah>if errorlevel 1 goto pmxerr
D:\MUSIX\Jonah>if exist donexample.pml del donexample.pml
D:\MUSIX\Jonah>if exist donexample.mx2 del donexample.mx2
D:\MUSIX\Jonah>if exist donexample.mx1 del donexample.mx1
D:\MUSIX\Jonah>Call "C:\miktex2.9\miktex\bin\etex" donexample
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
entering extended mode
(D:\MUSIX\Jonah\donexample.tex 
(c:\miktex2.9\tex\generic\musixtex\musixtex.tex

MusiXTeX(c) 1.15 <3 April 2011>
maxinstruments=6 max128beams=6 maxgroups=3 maxslurs=6 maxtrills=6
maxoctlines=6) (c:\miktex2.9\tex\generic\pmx\pmx.tex
PMX, a Preprocessor for MusiXTeX, Version 2.7a <3 April 13>
) maxslurs=24
Normal \dimen register pool exhausted, switching to extended pool.
maxinstruments=24 (c:\miktex2.9\tex\generic\musixtex\musixps.tex
MusiXPS PostScript slurs, ties and crescendos 0.92 (12.5.2002)
Normal \count register pool exhausted, switching to extended pool.)
Runaway argument?
{\titles {2.0}{\\input musixper\}{2.0}{}{2.0}{}{0}}\en \endeq \pnotes \ETC.
! Forbidden control sequence found while scanning use of \C@ch.

\par

   \bye
l.52 \bye

?
===
What did I do wrong? Do you have an idea?

Thanks! Dieter

Am 11.03.2015 um 03:41 schrieb Don Simons:


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:tex-music-boun...@tug.org] *On Behalf Of *Dieter
*Sent:* Tuesday, March 10, 2015 10:23 AM
*To:* tex-music@tug.org
*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: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 

Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-10 Thread Don Simons
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:tex-music-boun...@tug.org] On Behalf Of Dieter
Sent: Tuesday, March 10, 2015 10:23 AM
To: tex-music@tug.org
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: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 <mailto: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






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


Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-10 Thread Dieter

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


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


Re: [Tex-music] Fwd: percussion notes with PMX and musixper

2015-03-10 Thread 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