Re: [Tex-music] PMX Directory separator (was RE: Lyrics and Chord Symbols)

2015-01-14 Thread peter
| In my Windows 7 system, this example works if I change ".\" to "./" as I
| suspected it would.
|
| 1. Does anyone know of any existing windows systems where this would not
| work?
|
| 2. What if PMX were to internally replace all "\" in path strings with "/"?

Yes, that will certainly work.
The Windows file system API supports both "/" and "\" as directory separator.

Only on the application level, where "/" already may have a different meaning
(e.g., the command line interface) and in Windows Explorer, a "/" is not
recognized as such. But I've never had problems with the "/" recognition when
I e.g. pass command line arguments with file names to Windows programs
(including Microsoft programs).

--  Peter Vanroose,
Leuven, Belgium.

---
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] PMX Directory separator (was RE: Lyrics and Chord Symbols)

2015-01-14 Thread Don Simons
In my Windows 7 system, this example works if I change ".\" to "./" as I
suspected it would. 

1. Does anyone know of any existing windows systems where this would not
work?

2. What if PMX were to internally replace all "\" in path strings with "/"?

--Don 

> -Original Message-
> From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Dirk
> Laurie
> Sent: Wednesday, January 14, 2015 8:36 AM
> To: Werner Icking Music Archive
> Subject: Re: [Tex-music] Lyrics and Chord Symbols
> 
> 2015-01-14 18:07 GMT+02:00 Don Simons :
> 
> > But I will mention that the last note came out with lyrics "???". I'm
> > guessing that for some reason my setup thinks there are one too few
> > syllables in the text. Can anyone else reproduce this behavior? Or
> > maybe my musixlyr is out of date? I don't know this piece and I hardly
> > ever do any lyrics, so I can't easily analyze the problem.
> 
> The melisma on the first "examine" is one note too short: it should be
"e-xa-
> mi__-ne".
> 
> On my non-Windows machine I had to change the path on line 20 from ".\" to
> "./". Don, is there a way you could make the directory separator portable?
> ---
> 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] Lyrics and Chord Symbols

2015-01-14 Thread Dieter
Sorry, in my previous mail I picked up some older version of "Ave 
verum.pmx".


You can now try to sing this one.

MusixLyr has been originally developed for MusixTex.
The fact that it works seamlessly with PMX shows how well Rainer and Don 
have crafted their software.


Have a look at Rainer's documentation. It is a pleasure to read.

Regards,
Dieter

Am 14.01.2015 um 17:41 schrieb Bodo Meissner:

Zitat von Don Simons :


But I will mention that the last note came out with lyrics "???". I'm
guessing that for some reason my setup thinks there are one too few
syllables in the text. Can anyone else reproduce this behavior?


Dieter's attached PDF file has the same "???", so it seems to be a 
problem in the PMX source.
I guess there is a missing '_' in the lyrics or something wrong with 
the notes (missing tie?) at "na-tum". Compare with
http://imslp.org/wiki/Ave_verum_corpus,_K.618_%28Mozart,_Wolfgang_Amadeus%29 




Bodo



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





--

---
\input musixtex
\input pmx
\input musixlyr
\setlyrics{sopran}{A-ve_ a_-ve ve_-rum_ cor_-pus na-tum de Ma-ri-a vir_-gi-ne 
ve-re pas_-sum im_-mo-la_-tum  in cru__-ce
 pro ho_-mi-ne cu-ius la_-tus per_-fo_-ra_-tum un-da flu_-xit et san__-gui-ne 
es-to no_-bis_ prae-gus-ta_-tum
in mor__-tis e-xa-mi_-ne in mor_-tis e-xa_-mi-ne }
---
% In the Mood
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
  3  2  4   4   0  5
% npickup nkeys
   0 +2
% npages nsystems musicsize fracindent
 2  8  16 0.12
Piano
Gesang
btt
.\
% Body
% Header
Tc
Wolfgang Amadeus Mozart
Tt
Ave verum corpus
%h

AbepI0.9
% Bars 1-3
\\\assignlyrics2{sopran}\
r0 | r0 |  d23 d | /
d44 a d e | d zf a- zd d zf e zg | a2- zf+ za a- zf+ | / 
r0 | r0 |  a24 d4 f- | /
% Bars 4-6
d2 d | c c | d d | /
b2- ze b ze | a- a | a a | //
e2 e | e4 g f e | e d d2 | /
a4 gs g2n | g4 b a g | g f f2 | /
% Bars 7-9
a2d a4 | d d c c | d2d d4 | /
a2d a4 | a a a a | a2d a4 | //
c2d c4 | d d e e | e2 d4 d | /
e2d e4 | f f g g | g2 f4 f | /
% Bars 10-12
a0 | a2d+ a4 | a b b2 | /
a0 | c2d c4 | c d d2 | //
c0 | e2d e4 | e2 e2e | /
e0 | e2d a4 | a gs g2 | /
% Bars 13-15
g2s e2 |  e4s f f2 | r2 b2- | /
b2 t0 ze t1 b4 t0 ze t1 d zgs | d4 zgs c- za+ c2- za+ | r2 d2- zgs | /
e4 g2s b4 | b a a a | d0 t |  /
% Bars 16-18
c2 d4 d | e2 t e4 t e | a0- | /
e2 za d4- zf c zf | b2- t0 ze t1 b4 t0 ze t1 b ze | c0 ze | /
d4 t c b a | a2 g4s g | a0 | / 
% Bars 19-21
a2d+ a4 | a gnc g2 | c2dn- c4 | /
c2d  c4  | c2  c4  cn  | c4n bf a g | //
e2d e4 | e2 e4 t e t | e2 t e4 t e | /
a2d a4 | a bf b2 | b4f d cn b | /
% Bars 22-24
cn fn f2 | f2dn f4 | e d csc a | /
g4 ze+ a- zfn+ a2- zf+ | b2d zd b4 zd  csc ze d zfn a- ze c ze | /
bf a a2 | g2d g4 | g bf a g | /
% Bars 25-27
b2f a4 gs | a2 r2 | r0 | /
c2 ze d8 zfn c ze b4 zd zf | c2 ze r2 | d2d d4 | /
g2 f8n e f4 | e2 r2 | f2dsc f4 | / 
% Bars 28-30
g2d+ zb g4 zb | g4 zb f za e zg a zc | a2d zc a4 zc | /
d4 c b e | e2d e4 | e d c f | /
f4 e d g | g2d g4 | g f e a |  /
% Bars 31-33
a4 zc g zb f za b zd | b2 a4 gs | a2 a2- | /
f2d f4 | d2 d4 d | a2d a4 | //
r0b | f4 g f er | d2 zf c4d ze d8 zf | /
a0 t | a4 t g a b | f2 e4d f8 | /
% Bars 34-36
b2 r2 | r2 a+ | bf a | /
g2 zd+ zg r2 | r2 c2n- zfsc | d2 zg cn- zfsc | /
g2 g | d0+ t | d2 t ds | /
% Bars 37-40
g0s | g2nc f4 b- | a2 a4 a | d0- | /
b4- d c b | a2d g4 | a2 g | f0 | //
e2 e2 | e4 d8 c d4 d zg | d2 zf c ze | a0- zd | /
e4 b c dnc | c b8 a d4 g- | f2 e4d e8 | d0 | /


aveverumcorr.pdf
Description: Adobe PDF document
---
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] Lyrics and Chord Symbols

2015-01-14 Thread Dieter
You are right. The problem is with the input. I goofed something up in 
the melismas. I will correct it.


Regards, Dieter

Am 14.01.2015 um 17:41 schrieb Bodo Meissner:

Zitat von Don Simons :


But I will mention that the last note came out with lyrics "???". I'm
guessing that for some reason my setup thinks there are one too few
syllables in the text. Can anyone else reproduce this behavior?


Dieter's attached PDF file has the same "???", so it seems to be a 
problem in the PMX source.
I guess there is a missing '_' in the lyrics or something wrong with 
the notes (missing tie?) at "na-tum". Compare with
http://imslp.org/wiki/Ave_verum_corpus,_K.618_%28Mozart,_Wolfgang_Amadeus%29 




Bodo



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





--

Dr. Dieter Glötzel
Im Rosengarten 27
64367 Mühltal
Tel.: 06151 / 360 82 72

---
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] Lyrics and Chord Symbols

2015-01-14 Thread Bodo Meissner

Zitat von Don Simons :


But I will mention that the last note came out with lyrics "???". I'm
guessing that for some reason my setup thinks there are one too few
syllables in the text. Can anyone else reproduce this behavior?


Dieter's attached PDF file has the same "???", so it seems to be a  
problem in the PMX source.
I guess there is a missing '_' in the lyrics or something wrong with  
the notes (missing tie?) at "na-tum". Compare with

http://imslp.org/wiki/Ave_verum_corpus,_K.618_%28Mozart,_Wolfgang_Amadeus%29


Bodo



---
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] Lyrics and Chord Symbols

2015-01-14 Thread Dirk Laurie
2015-01-14 18:07 GMT+02:00 Don Simons :

> But I will mention that the last note came out with lyrics "???". I'm
> guessing that for some reason my setup thinks there are one too few
> syllables in the text. Can anyone else reproduce this behavior? Or maybe my
> musixlyr is out of date? I don't know this piece and I hardly ever do any
> lyrics, so I can't easily analyze the problem.

The melisma on the first "examine" is one note too short: it should
be "e-xa-mi__-ne".

On my non-Windows machine I had to change the path on line 20
from ".\" to "./". Don, is there a way you could make the directory
separator portable?
---
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] Lyrics and Chord Symbols

2015-01-14 Thread Don Simons
Dieter, thanks for this example! It make me smile to be able to run this
through my baby and have something legible come out the other end on the
first try.

But I will mention that the last note came out with lyrics "???". I'm
guessing that for some reason my setup thinks there are one too few
syllables in the text. Can anyone else reproduce this behavior? Or maybe my
musixlyr is out of date? I don't know this piece and I hardly ever do any
lyrics, so I can't easily analyze the problem.

--Don Simons

> -Original Message-
> From: TeX-Music [mailto:tex-music-boun...@tug.org] On Behalf Of Dieter
> Sent: Wednesday, January 14, 2015 6:24 AM
> To: tex-music@tug.org
> Subject: Re: [Tex-music] Lyrics and Chord Symbols
> 
> Hi Simon,
> 
> although your problem seems to be solved, I wonder why nobody
> mentioned the possibility to directly use MusiXLyr (from Rainer Dunker)
> together with PMX.
> Sample included.
> 
> Regards, Dieter
> 
> Am 12.01.2015 um 20:52 schrieb Simon Dreher:
> > Hi Simon,
> >
> >> after searching the WIMA for several days I understood so far, that
> >> the proper way of typesetting music including lyrics is using M-Tx.
> >> I did not find a way to add chord symbols to my sheet of music via
> >> M-Tx so far.
> > M-Tx is quite convenient for music with lyrics - but it is also not
> > too difficult to do the same stuff directly in pmx. You can just take
> > a piece written in M-Tx, compile it to pmx and see the few lines
> > defining the lyrics part (with musixlyr definitions - it is quite easy
> > to learn from the pmx file), if you already know and like pmx.
> >
> >> Is it possible to do so by M-Tx or do I have to write my music and
> >> lyrics in M-Tx, compile the *.mtx-file to *.pmx and add the chords
> >> "by hand" into the *.pmx-file (i.e. using pmxchord)?
> > Usually, you can use any pmx commands in M-Tx files - nearly all
> > commands that M-Tx doesn't understand are just passed to pmx. I like
> > the header parts and the lyrics definitions of M-Tx more than the ones
> > of pmx :-) But it's just a matter of taste...
> >
> > Best regards,
> > Simon
> > ---
> > 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
> >
> 
> 
> --
> 
> Dr. Dieter Glötzel
> Im Rosengarten 27
> 64367 Mühltal
> Tel.: 06151 / 360 82 72



---
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] Funny article about Word vs. LaTeX

2015-01-14 Thread Robin Fairbairns
Dirk Laurie  wrote:

> [...]
> 
> As far as music typesetting goes, the following sentence seems
> relevant to us:
> 
>LaTeX users, however, more often report enjoying using
>their respective software.
> 
> "Because it is there" …

istm that music typesetting is in a different league to text
typesetting; not least because the users of the typeset output aren't
used to being given printed material that's typeset in a crappy way.

my wife, when we married, had been using sibelius for several years, and
at that time (15 years ago) i couldn't produce anything from musixtex to
match sibelius' output.  back then i was working for a living, and major
undertakings, like typesetting multi-part choral music, seemed to need
more time than i had available.

now, i'm retired -- and might, in principle, extend musixtex as
required.  but she's had 15 years' _more_ experience using sibelius, and
i fear i have no chance of weaning her off it.  (despite it being taken
over by a company of corporate s).

i have a friend who uses a different
   
sort of program, and she too is loath to leave it ... and she's a
computer scientist and occasional latex user.

---
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] Lyrics and Chord Symbols

2015-01-14 Thread Dieter

Hi Simon,

although your problem seems to be solved, I wonder why nobody mentioned 
the possibility to directly use MusiXLyr (from Rainer Dunker) together 
with PMX.

Sample included.

Regards, Dieter

Am 12.01.2015 um 20:52 schrieb Simon Dreher:

Hi Simon,


after searching the WIMA for several days I
understood so far, that the proper way of
typesetting music including lyrics is using M-Tx.
I did not find a way to add chord symbols
to my sheet of music via M-Tx so far.

M-Tx is quite convenient for music with lyrics - but it is also not too
difficult to do the same stuff directly in pmx. You can just take a
piece written in M-Tx, compile it to pmx and see the few lines defining
the lyrics part (with musixlyr definitions - it is quite easy to learn
from the pmx file), if you already know and like pmx.


Is it possible to do so by M-Tx or do I have to
write my music and lyrics in M-Tx, compile the
*.mtx-file to *.pmx and add the chords
"by hand" into the *.pmx-file (i.e. using pmxchord)?

Usually, you can use any pmx commands in M-Tx files - nearly all
commands that M-Tx doesn't understand are just passed to pmx. I like the
header parts and the lyrics definitions of M-Tx more than the ones of
pmx :-) But it's just a matter of taste...

Best regards,
Simon
---
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




--

Dr. Dieter Glötzel
Im Rosengarten 27
64367 Mühltal
Tel.: 06151 / 360 82 72

---
\input musixtex
\input pmx
\input musixlyr
\setlyrics{sopran}{A-ve_ a_-ve ve_-rum_ cor_-pus na-tum de Ma-ri-a vir_-gi-ne 
ve-re pas_-sum im_-mo-la_-tum  in cru__-ce
 pro ho_-mi-ne cu-ius la_-tus per_-fo_-ra_-tum un-da flu_-xit et san__-gui-ne 
es-to no_-bis_ prae-gus-ta_-tum
in mor__-tis e-xa-mi_-ne in mor_-tis e-xa-mi_-ne }
---
% In the Mood
% PREAMBLE
% nstaves ninstr mtrnuml mtrdenl mtrnump mtrdenp
  3  2  4   4   0  5
% npickup nkeys
   0 +2
% npages nsystems musicsize fracindent
 2  8  16 0.12
Piano
Gesang
btt
.\
% Body
% Header
Tc
Wolfgang Amadeus Mozart
Tt
Ave verum corpus
%h

AbepI0.9
% Bars 1-3
\\\assignlyrics2{sopran}\
r0 | r0 |  d23 d | /
d44 a d e | d zf a- zd d zf e zg | a2- zf+ za a- zf+ | / 
r0 | r0 |  a24 d4 f- | /
% Bars 4-6
d2 d | c c | d d | /
b2- ze b ze | a- a | a a | //
e2 e | e4 g f e | e d d2 | /
a4 gs g2n | g4 b a g | g f f2 | /
% Bars 7-9
a2 a4 a | d d c c | d2d d4 | /
a2 a4 a | a a a a | a2d a4 | //
c2 c4 c | d d e e | e2 d4 d | /
e2 e4 e | f f g g | g2 f4 f | /
% Bars 10-12
a0 | a2d+ a4 | a b b2 | /
a0 | c2d c4 | c d d2 | //
c0 | e2d e4 | e2 e2e | /
e0 | e2d a4 | a gs g2 | /
% Bars 13-15
g2s e2 |  e4s f f2 | r2 b2- | /
b2 t0 ze t1 b4 t0 ze t1 d zgs | d4 zgs c- za+ c2- za+ | r2 d2- zgs | /
e4 g2s b4 | b a a a | d0 t |  /
% Bars 16-18
c2 d4 d | e2 t e4 t e | a0- | /
e2 za d4- zf c zf | b2- t0 ze t1 b4 t0 ze t1 b ze | c0 ze | /
d4 t c b a | a2 g4s g | a0 | / 
% Bars 19-21
a2d+ a4 | a gnc g2 | c2dn- c4 | /
c2d  c4  | c2  c4  cn  | c4n bf a g | //
e2d e4 | e2 e4 t e t | e2 t e4 t e | /
a2d a4 | a bf b2 | b4f d cn b | /
% Bars 22-24
cn fn f2 | f2dn f4 | e d csc a | /
g4 ze+ a- zfn+ a2- zf+ | b2d zd b4 zd  csc ze d zfn a- ze c ze | /
bf a a2 | g2d g4 | g bf a g | /
% Bars 25-27
b2f a4 gs | a2 r2 | r0 | /
c2 ze d8 zfn c ze b4 zd zf | c2 ze r2 | d2d d4 | /
g2 f8n e f4 | e2 r2 | f2dsc f4 | / 
% Bars 28-30
g2d+ zb g4 zb | g4 zb f za e zg a zc | a2d zc a4 zc | /
d4 c b e | e2d e4 | e d c f | /
f4 e d g | g2d g4 | g f e a |  /
% Bars 31-33
a4 zc g zb f za b zd | b2 a4 gs | a2 a2- | /
f2d f4 | d2 d4 d | a2d a4 | //
r0b | f4 g f er | d2 zf c4d ze d8 zf | /
a0 t | a4 t g a b | f2 e4d f8 | /
% Bars 34-36
b2 r2 | r2 a+ | bf a | /
g2 zd+ zg r2 | r2 c2n- zfsc | d2 zg cn- zfsc | /
g2 g | d0+ t | d2 t ds | /
% Bars 37-40
g0s | g2nc f4 b- | a2 a4 a | d0- | /
b4- d c b | a2d g4 | a2 g | f0 | //
e2 e2 | e4 d8 c d4 d zg | d2 zf c ze | a0- zd | /
e4 b c dnc | c b8 a d4 g- | f2 e4d e8 | d0 | /


aveverum.pdf
Description: Adobe PDF document
---
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