Hi,

I've just spent a weekend hacking at this and I've been
moderately successful. BUT...

I suppose that I should mention that I'm mostly using the standard
TeTeX install that came with SuSE 10.1 with updates. So, it's
the Linux version of things.

The output reported:

musixtex lesson-too-late.crd.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./lesson-too-late.crd.tex
MusiXTeX(c) T.99 <6 June 2000>
(/usr/share/texmf/tex/generic/musixtex/musixtex.tex)
(/usr/share/texmf/tex/generic/musixtex/musixcpt.tex)
(/usr/share/texmf/tex/generic/musixtex/musixsty.tex)
(/usr/share/texmf/tex/generic/musixtex/musixlyr.tex
MusiXLYRics 2.1c <June 10, 2003>
) (/usr/share/texmf/tex/generic/musixtex/musixgui.tex
MusiXGUItar 0.36 <1 March 1995>
) bar 1 bar 2 bar 3 bar 4 bar 5 bar 6 bar 7 bar 8 bar 9 bar 10 bar 11 bar 12
bar 13 bar 14 bar 15 bar 16 bar 17 bar 18 bar 19 bar 20 bar 21 bar 22 bar 23
bar 24 bar 25 bar 26 bar 27 bar 28 bar 29 bar 30 bar 31 bar 32 bar 33 bar 34
bar 35 [1] [2] )
Output written on lesson-too-late.crd.dvi (2 pages, 12632 bytes).
Transcript written on lesson-too-late.crd.log.

And musixflx:
musixflx lesson-too-late.crd.tex

 <<< musixflex 0.83/T.63dt+jh.2 >>>

 ... decoding command line
 ... open <lesson-too-late.mx1> for input
 ... testing versionnumber
 ... open <lesson-too-late.mx2> for output
 ... reading
 ... compute
 ... thats all, bye

I'm  including the musixtex source for two songs - Greensleeves
from Mel Bay "Mastering the Guitar" -- my instructor wanted
me to avoid using tabulature so I transcribed the tab to
normal music notation. It should be more or less public domain.
The problem was that I ended up with about 2 measures per line
when I used all \bar to terminate measures. I've used a
combination of \xbar and \alaligne to force a layout, but I 
thought that musixtex was supposed to do this "automagically".
It's still a bit ugly in spots. I need to change some \NOtes
to \NOTes or \NOTEs to sort out the spacing -- but again, I
thought this should be automatic.

This may mostly be the .mx[12] files remaining for new
runs, a problem that I discovered late.

The second is Last Thing on My Mind, I've got paid for copies of
this song. Please don't misappropriate it. But I sort of need
to post the source to get suggestions and help.

I used musixlyr and musixgui to add chord diagrams and the lyrics
and it has kinda-sorta worked, but again I've had to stuff around
a lot for the output. See comments about script below -- I suspect
that's the key.

1) Same problem with needing to force the measures per line and
   note to lyrics spacings more or less manually
2) the chord diagrams mostly went where they were supposed to, 
   I'm not particularly fussed that the only way to do the
   4th ending was to convert the whole note into two half notes
   so that I had a note to hang each chord on
3) It would have been nice if I could have worked out a way to
   reduce the inter-staff spacing for the chorus -- the musixlyr
   documentation seemed to suggest that using \rlap would fix this
   but either it only worked with the example provided or I've
   missed something. I did try \stoppiece - \contpiece but I
   was trying to put the chorus in a new lyric set -- I think
   I needed to use \resetlyrics, but I didn't realise this. I may
   try going back and having another try.
4) interestingly, using dvipdf on the above "lost" the title. To
   produce a title in a pdf file, I needed to use dvips and then
   ps2pdf.

Any suggestions that people can give me would be appreciated.
Hopefully I haven't violated any list etiquette by posting more
or less copyright material. -- Just remember, if you like it and
use it -- find a way for the artist to get some money from it.

Ummm... I used the wrong "From:" address and this did not
post at first, I tried a couple of things in the meantime
and discovered that deleting the .mx[12] file is essential 
to getting things to work. I knocked up a little script, 'cause
I'm lazy. For your enjoyment:
#!/bin/sh

rm -f ${1}.mx1
rm -f ${1}.mx2
musixtex ${1}.tex
if [ $? -eq 0 ] ; then
   musixflx ${1}.tex
   if [ $? -eq 0 ] ; then
      musixtex ${1}.tex
   fi
fi

Now, "Last Thing..." is OK except that I've got a BIG black line at
the end. I guess I could live with that. The lyric spacing still is
a bit big, though.



-Don
-- 
Don Gingrich
[EMAIL PROTECTED]       School of CSIT, RMIT Melbourne, Au
[EMAIL PROTECTED]           [EMAIL PROTECTED]
http://www.cs.rmit.edu.au/~gingrich for gpg public key
% \input musixtex
% \input musixcpt
% \input musixsty
%
\parindent 0mm
%
\title{Greensleeves}
\fullauthor{English Traditional}
\shortauthor{trad.}
\maketitle
\tracingstats=1\relax
%
\bigskip
\def\nbinstruments{1}
\setstaffs1{1}
%
\generalsignature{0}%\relax % un bemol a la clef
\generalmeter{\meterfrac{6}{8}}
%
% \global\nbporteesi=1\relax
% \global\nbporteesii=1\relax

% \geometricskipscale
% \staffbotmarg=5\Interligne\stafftopmarg=1.5\Interligne
\startmuflex
\startpiece
\nostartrule
\nobarnumbers
\notes\cu h\enotes %
\xbar% 2 measure
\startrule
\notes\zq j\qu h\enotes
\notes\cl k\enotes
\Notes\ibl{1}{j}{1}\zq j\qb{1} l\zq{^m}\qb{1} k\tqb{1} l\enotes
\xbar% 3 measure
\notes\zq{i}\ql{k}\enotes
\notes\cl{i}\enotes
\notes\ibu{1}{i}{1}\zq{g}\qb{1}{e}\qb{1}{h}\tqh{1}{i}\enotes
\xbar% 4 measure
\notes\zq{j}\ql{h}\enotes
\notes\cu{h}\enotes
\notes\ibu{1}{h}{1}\zq{f}\qb{1}{h}\qb{1}{g}\tqh{1}{h}\enotes
\alaligne% 5 measure
\Notes\zq{g}\qu{i}\enotes
\Notes\cu{g}\qu{e}\enotes
\Notes\cu{h}\enotes
\xbar% 6 measure
\Notes\zq{j}\qu{h}\enotes
\Notes\cl{k}\enotes
\Notes\ibl{1}{j}{1}\zq{j}\qb{1}{l}\zq{^m}\qb{1}{k}\tqb{1}{l}\enotes
\xbar% 7 measure
\Notes\zq{i}\ql{k}\enotes
\Notes\cl{i}\enotes
\Notes\ibu{1}{i}{1}\zq{g}\qb{1}{e}\qb{1}{h}\tqh{1}{i}\enotes
\alaligne%8 measure
\Notes\ibu{1}{i}{1}\zq{h}\qb{1}{j}\qb{1}{i}\tqh{1}{h}\enotes
\Notes\ibu{1}{g}{1}\zq{e}\qb{1}{^g}\qb{1}{^f}\tqh{1}{g}\enotes
\xbar
\notes\pt{e}\zq{e}\pt{h}\qu{h}\enotes
\notes\pt{e}\zq{e}\pt{h}\qu{h}\enotes
\xbar% chorus 1
\Notes\pt{n}\zq{n}\pt{l}\ql{l}\enotes
\Notes\ibl{1}{l}{1}\zq{n}\qb{1}{l}\zq{^m}\qb{1}{k}\tbl{1}\zq{l}\qb{1}{j}\enotes
\xbar% chorus 2
\Notes\zq{i}\ql{k}\enotes
\Notes\zq{i}\cl{g}\enotes
\Notes\ibu{1}{i}{1}\zq{e}\qb{1}{g}\qb{1}{h}\tqh{1}{i}\enotes
\alaligne% chorus 3
\notes\zq{h}\ql{j}\enotes
\notes\cu{h}\enotes
\notes\ibu{1}{i}{1}\zq{f}\qb{1}{h}\qb{1}{g}\tqh{1}{h}\enotes
\xbar% chorus 4
\notes\zq{g}\qu{i}\enotes
\notes\cu{g}\enotes
\notes\pt{e}\qu{e}\enotes
\xbar% chorus 5
\notes\pt{l}\zq{l}\pt{n}\ql{n}\enotes
\notes\ibl{1}{l}{1}\zq{n}\qb{1}{l}\zq{^m}\qb{1}{k}\tbl{1}\zq{l}\qb{1}{j}\enotes
\xbar% chorus 6
\notes\zq{i}\ql{k}\enotes
\notes\zq{i}\cl{g}\enotes
\notes\ibu{1}{i}{1}\zq{e}\qb{1}{g}\qb{1}{h}\tqh{1}{i}\enotes
\alaligne% chorus 7
\notes\ibu{1}{i}{1}\zq{h}\qb{1}{j}\qb{1}{i}\tqh{1}{h}\enotes
\notes\ibu{1}{g}{1}\zq{e}\qb{1}{^g}\qb{1}{^f}\tqh{1}{g}\enotes
\xbar% chorus 8
\notes\pt{e}\zq{e}\pt{h}\qu{h}\enotes
\notes\qu{h}\enotes
\mulooseness 3%
\Stoppiece
% \medskip\rightline{\it le \aujourdhui\ \ \ \ }
\bye
\input musixtex
\input musixcpt
\input musixsty
%\input musixlyr
\input musixlyr.tex%
\input musixgui.tex
\parindent 0mm
\hoffset -17mm
\hsize 195mm
%
\title{The Last Thing on My Mind}
\fullauthor{Tom Paxton}
\shortauthor{Tom Paxton}
\maketitle
\tracingstats=1\relax
%
%\bigskip
\smallmusicsize
\def\nbinstruments{1}
\setstaffs11
\nobarnumbers
% \stafftopmarg10\Interligne
\raiseguitar{20}


\def\Gmaj{\guitar G{}--ooo-\gdot13\gdot22\gdot63}
\def\Cmaj{\guitar C{}x--o-o\gdot23\gdot32\gdot51}
\def\Dmaj{\guitar D{}xxo---\gdot42\gdot53\gdot62}
\def\Dsev{\guitar {D$^7$}{}xxo---\gdot42\gdot51\gdot62}

%
\generalsignature{1}\relax % un bemol a la clef
\generalmeter\allabreve
%\check
%
\global\nbporteesi=1\relax
\global\nbporteesii=1\relax


\geometricskipscale
\staffbotmarg=6\Interligne\stafftopmarg=18\Interligne
\resetlyrics
 \generalmeter{\allabreve}
 \scale{0.9}
 \setlyrics{lesson1}
           {\llap{1.} It's a less-on too late for the learn-ing, \empty{} Made of sand, \empty{} made of sand. \empty{}  In the wink of an eye my soul is turn-ing, \empty{} In your hand, \empty{} in your hand \empty{}\rlap{} Are you go-ing a-way with no word of fare-well? Will there be not a trace left be-hind? \empty{} Well, I could have loved you bet-ter, did-n't mean to be un-kind. You know that was the last thing on my mind. \empty{} You've got mind \empty{} \empty{} \rlap{} }
 \setlyrics{lesson2}
           {\llap{2.} \empty{}  \empty{} rea-sons a-plen-ty for go-ing, \empty{}  This I know, \empty{} This I know. \empty{}  For the weeds have been stead  - i-ly grow-ing. \empty{}  Please don't go, \empty{} please don't go. \empty{}\rlap{} \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{} \empty{} \empty{} As we  \empty{} \empty{} \empty{}  }
 \setlyrics{lesson3}{\llap{3.} \empty{}  \empty{}  walk, all my thoughts keep a tumbl-ing, \empty{} 'Round and 'round, \empty{} 'round and 'round. \empty{} Un-der-neath our feet the \empty{}  sub-way's rumb-lin' \empty{} Un-der-ground, \empty{} un-der-ground. \empty{}\rlap{} \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{} \empty{} \empty{} As I \empty{} \empty{} \rlap{}  }
 \setlyrics{lesson4}{\llap{4.} \empty{}  \empty{}  lie in my bed in the morn-ing, \empty{} With-out you, \empty{} With-out you. \empty{}  Each song in my breast dies \empty{} a \empty{}  born-ing, \empty{}  With-out you, \empty{} With-out you. \empty{}\rlap{} \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}  \empty{}   \empty{} \empty{} \empty{} \empty{} \empty{}  \empty{} \empty{} \rlap{}  }
 \assignlyrics1{lesson1,lesson2,lesson3,lesson4}
 \setsongraise1{-6mm}
\mulooseness=-2
\startmuflex
\startpiece\bigaccid
  \znotes\llyr\lyroffset{-2}%    make the numbers stand off to the left
         \lyr%                   post the numbers
  \en
\NOTEs\Gmaj\qu b\qu c\en
\leftrepeat
\NOTEs\qu d\hu d\qu d\en
\bar
\NOTEs\Cmaj\hu g\qup e\cu g\en
\bar
\NOTEs\Gmaj\qu e\islurd0d\hup d\en
\bar
\NOTEs\tslur0d\hu d\Cmaj\cu c\cup c\en
\bar
\NOTEs\Gmaj\islurd0b\wh b\en
\bar
\NOTEs\tslur0b\hu b\Dmaj\cu a\qup a\en
\bar
\NOTEs\Gmaj\islurd0N\wh N\en
\bar
\NOTEs\tslur0N\hu N\qu b\qu c\en
\bar
\NOTEs\hu d\qu d\qu d\en
\bar
\NOTEs\Cmaj\qu g\qu g\qu d\qu g\en
\bar
\NOTEs\Gmaj\qu e\islurd0d\hup d\en
\bar
\NOTEs\tslur0d\hu d\Cmaj\cu c\qup c\en
\bar
\NOTEs\Gmaj\islurd0b\wh b\en
\bar
\NOTEs\tslur0b\hu b\Dmaj\cu a\qup a\en
\bar
\NOTEs\Gmaj\islurd0N\wh N\en
\bar
\NOTes\tslur0N\hu N\en% chorus
\NOTEs\qu f\qu g\en
\bar
\NOTEs\Dmaj\hu h\qup h\Dsev\cu i\en
\bar
\NOTEs\hu h\qu g\qu f\en
\bar
\NOTEs\Cmaj\hu g\qu g\qu e\en
\bar
\NOTEs\hu d\qu e\Gmaj\qu f\en
\bar
\NOTEs\hu g\qu f \qu e\en
\bar
\NOTEs\hu d\qu c\qu b\en
\bar
\NOTEs\Dmaj\islurd0a\wh a\en
\bar
\NOTEs\Dsev\tslur0a\hu a\qu e\qu f\en
\bar
\NOTEs\Gmaj\qu g\qu g\qup g\cu a\en
\bar
\NOTEs\Cmaj\cu g\qup g\cu f\qup e\en
\bar
\NOTEs\Gmaj\qup d\cu d\qu d\qu e\en
\bar
\NOTEs\hu d\qu b\Dmaj\qu c\en
\bar
\NOTEs\ds\qup d\qup d\cu e\en
\bar
\NOTEs\Dsev\qu d\qu c\qu b\qu a\en\setvolta{1.-3} 
\bar
\raiseguitar{30}
\NOTEs\Gmaj\islurd0N\wh N\en
\bar
\NOTEs\tslur0N\hu N\qu d\qu d\en\setvolta4\rightrepeat
\NOTEs\multnoteskip{1.5}\Gmaj\islurd0N\hu N\Cmaj\hu N\en
\bar
\NOTEs\tslur0N\Gmaj\hup N\multnoteskip{.75}\qp\en
\Endpiece
\bye
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://mailman.daimi.au.dk/mailman/listinfo/tex-music

Reply via email to