Re: Texte et Lilypond

2009-09-24 Thread Matthieu Jacquot
Le 24 septembre 2009 00:57, Valentin Villenave  a
écrit :

> 2009/9/23 Pierre-Yves Gousenbourger :
> > Je cherche un moyen de créer un document texte dans lequel j'insère des
> objets
> > Lilypond (des petites partitions/portées par-ci par-là).
> > J'ai trouvé sur la doc une partie qui parle de lilypond-book. Mais ça
> commence à
> > devenir incompréhensible quand ça parle de lignes de commandes.
>

Bonjour, le principe de lilypond-book est de créer un fichier .tex
compilable. J'avais pas trouvé cela évident au début, en gros :
votre fichier .lytex sera exactement comme  un code latex normal mais avec
en plus les balises pour appeler du code lilypond
vous compilez votre fichier avec la commande lilypond-book, il va alors
compiler le code lilypond, découper le résultat en petits fichiers .eps et
ensuite créer un fichier .tex appelant ces images.
 Vous compilez le fichier tex ainsi créé avec latex (comme d'habitude) et il
vous sort le ps pdf etc avec le texte et la musique.

Donc le plus simple c'est de regarder comment est appelé lilypond dans votre
éditeur (genre JEdit) et de copier la commande dans votre éditeur latex (il
y a souvent un champ "commande personnalisée" en remplaçant lilypond par
lilypond-book.

Voilà, j'espère que cela vous sera utile. Ca fait des années que je n'ai pas
utilisé windows alors je ne peux pas donner plus de détails pratiques.

Matthieu

-- 
The Shady Lane Publishing :
http://theshadylanepublishing.com
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Can't compile Mutopia file

2009-09-24 Thread Sávio M. Ramos
Can't compile the file below, mysteriouos commands:

1) \include "paper16.ly"

2) Treble = \notes \context Voice = $Treble {

3) Middle = \notes \context Voice = $Middle {

4) Bass = \notes \context Voice = $Bass {

5) GuitarStaff = \context Staff = GuitarStaff <
\property Staff.midiInstrument = "acoustic guitar (nylon)"
\property Staff.transposing = -12   




Any help?
Thanks.


The file BWV997, Bach:

\header{

title = "Suite in C Minor for Lute (trans. to A minor)";
subtitle = "3. Sarabande";
opus = "BWV 997";
composer = "Johann Sebastian Bach (1685-1750)";
instrument= "Guitar";

mutopiatitle = "Lute Suite BWV 997: 3. Sarabande";
mutopiacomposer = "J. S. Bach";
mutopiainstrument = "Lute, Guitar";
date = "ca.1740-41";
style = "Baroque";
copyright = "Public Domain";
filename = "bmv997-03sarabande.ly";
lastupdated = "2001/Feb/25";
tagline = "\\parbox{\hsize}{\\thefooter\\quad\\small This music is 
part of the Mutopia project, \\texttt{http://www.mutopiaproject.org/}It has 
been typeset and placed in the public domain by David 
Megginson.Unrestricted modification and redistribution is permitted and 
encouraged---copy this music and share it!}";
footer = "Mutopia-2001/02/25-52";



\include "paper16.ly"
Treble = \notes \context Voice = $Treble {
\property Staff.midiInstrument = "acoustic guitar (nylon)"
\time 3/4;
\key a \minor;
\clef treble;
\repeat "volta" 2 {
\stemUp a''8. b''32( )c''' b''8 a'' gis'' a'' |
d''2. |
d''16 f'' e'' d'' b''8. a''16 gis'' f'' e'' d'' |
c'' b' c'' b' a' e' a' b' c'' d'' e'' f'' |
%5
g'' e'' cis''8( )cis'' r r4 |
f'16 cis'' d'' gis'' a'' f' e' d' e' d'' cis'' gis'' |
a'' e' dis' cis' dis' fis' a' cis'' b' gis' a' fis'' |
  r |
c''16( d'' )e'' e'' e''( f'' )g'' g'' g''( a'' )bes'' bes'' |
%10
bes''( )g'' g''( )e'' e''( )c'' c''( )bes' bes'( a' )bes' g'' |
a'( bes' )c'' c'' c''( d'' )e'' e'' e''( f'' )g'' g'' |
g''( )e'' e''( )cis'' cis''( )a' a'( )g' g'( f' )g' e'' |
f' e' d' e' f' g' a' b' c'' b' a' c'' |
b' a' g' a' b' c'' d'' e'' f'' e'' d'' f'' |
%15
e'' g'' f'' a'' g'' c'' b' c'' f'' e'' d'' c'' |
} \alternative {{
 |
}{
 |
}}
\repeat "volta" 2 {
e''8. f''32 g'' f''8 e'' d'' c'' |
fis''2. |
g''8. a''32 b'' a''16 g'' fis'' e'' d'' b' c'' a'' |
%20
c'' b' c'' d'' b'4  |
  |
fis'' g''16 a'' c''4( )b' |
b'16 cis'' dis'' e'' fis'' a'' g'' fis'' g'' e'' fis'' dis'' |
e''4 g''2 |
%25
g''16( f'' )e'' e'' e''( d'' )cis'' cis'' cis''( b' )a' a' |
a'( )cis'' cis''( )e'' e''( )g'' g''( )bes'' a''( )g'' f''( )e'' |
f''( e'' )d'' d'' d'' c'' b' b' b'( a' )g' g' |
g'( )b' b'( )d'' d''( )f'' f''( )a'' g''( )f'' e''( )d'' |
e'' f''( e'' d'' c'' b' a' gis' )a' c'' e'' gis' |
%30
f' d'' e' c'' d' b' c' a' b gis' d'' f'' |
e'' gis'' a'' f'' dis'' e'' gis' a' d'' c'' b' a' |
} \alternative {{
 |
}{
 \bar "|.";
}}
}
Middle = \notes \context Voice = $Middle {
\property Staff.midiInstrument = "acoustic guitar (nylon)"
\time 3/4;
\key a \minor;
\clef treble;
\repeat "volta" 2 {
\stemBoth  d''8 c'' b' c'' |
 |
  r |
s s s |
%5
r8 g'( )g'16 bes' a' g' a' g' f' e' |
s4 s s |
s s s |
s s s |
s s s |
%10
s s s |
s s s |
s s s |
s s s |
s s s |
%15
s s s |
} \alternative {{
s s s |
}{
s s s |
}}
\repeat "volta" 2 {
 a'8 g' f' e' |
 |
 e'' r8 a' |
%20
 g' r |
s s s |
d''8 e'' a'2 |
r4 r r |
 r8 bes' bes' a' |
%25
 r r |
s s s |
s s s |
s s s |
s s s |
%30
s s s |
s s s |
} \alternative {{
s s s |
}{
s s s |
}}
}
Bass = \notes \context Voice = $Bass {
\property Staff.midiInstrument = "acoustic guitar (nylon)"
\time 3/4;
\key a \minor;
\clef treble;
\repeat "volta" 2 {
\stemDown c'4 a a |
a8. b32( )c' b8 a gis a |
g4 a a |
a r r |
%5
a a a |
a a a |
a a a |
e e'8 d' c' b |
a r g r f r |
%10
e4 r8 g' c' e' |
f' r e' r d' r |
cis'4 r8 e' a cis' |
d'4 r8 d' e' f' |
g'4 r8 g a b |
%15
c' b e f g g |
} \alternative {{
c' c' c'( )b b( )a |
}{
c'2. |
}}
\repeat "volta" 2 {
c'4 c' c' |
c'8. d'32 e' d'8 c' b a |
b4 c' d' |
%20
g4. b8 e' g' |
c'4 r r8 a' |
a' g' fis' e' dis' e'16 fis' |
g4 a b |
e8 e' e' d' d' cis' |
%25

Re: Can't compile Mutopia file

2009-09-24 Thread Peter Chubb
> "M. Ramos" == M. Ramos   writes:

M. Ramos> Can't compile the file below, mysteriouos commands: 

The file looks to be for quite an old version of LilyPond.

To fix, look in the `extra information' fields in the Mutopia website
for the piece, and find out which lilypond version it is for.  Then
add a line

\version "x.y.z"
(where x.y.z is the version it is for) and run convert-ly on the
result.  Then try again with LilyPond.

--
Dr Peter Chubb  www.nicta.com.aupeter DOT chubb AT nicta.com.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't compile Mutopia file

2009-09-24 Thread Xavier Scheuer

Peter Chubb a écrit :

The file looks to be for quite an old version of LilyPond.

To fix, look in the `extra information' fields in the Mutopia website
for the piece, and find out which lilypond version it is for.  Then
add a line

\version "x.y.z"
(where x.y.z is the version it is for) and run convert-ly on the
result.  Then try again with LilyPond.


According to Mutopia's website version is 1.3.130.

I ran convert-ly, corrected a few mistakes remaining and then I could 
compile it with lilypond.

See attached file for compilable result.


Sávio M. Ramos a écrit :
> Can't compile the file below, mysteriouos commands:
>
> 1) \include "paper16.ly"
becomes "#(set-global-staff-size 16)"

> 2) Treble = \notes \context Voice = $Treble {
Treble = \context Voice = "Treble"  %% or \new Voice = "Treble"

> 3) Middle = \notes \context Voice = $Middle {
> 4) Bass = \notes \context Voice = $Bass {
Idem.

> 5) GuitarStaff = \context Staff = GuitarStaff <
>\property Staff.midiInstrument = "acoustic guitar (nylon)"
>\property Staff.transposing = -12
GuitarStaff = \context Staff = "GuitarStaff" <<
\set Staff.midiInstrument = "acoustic guitar (nylon)"
\transposition c


> Any help?

Hope this helps.
Sincerely,


Xavier
\version "2.13.3"

\header{

title = "Suite in C Minor for Lute (trans. to A minor)"
subtitle = "3. Sarabande"
opus = "BWV 997"
composer = "Johann Sebastian Bach (1685-1750)"
instrument= "Guitar"

mutopiatitle = "Lute Suite BWV 997: 3. Sarabande"
mutopiacomposer = "J. S. Bach"
mutopiainstrument = "Lute, Guitar"
date = "ca.1740-41"
style = "Baroque"
copyright = "Public Domain"
filename = "bmv997-03sarabande.ly"
lastupdated = "2001/Feb/25"
tagline = "\\parbox{\paper-width}{\\thefooter\\quad\\small This music is part of the Mutopia project, \\texttt{http://www.mutopiaproject.org/}It has been typeset and placed in the public domain by David Megginson.Unrestricted modification and redistribution is permitted and encouraged---copy this music and share it!}"
footer = "Mutopia-2001/02/25-52"

}

#(set-global-staff-size 16)
Treble =  \context Voice = "Treble" {
\set Staff.midiInstrument = "acoustic guitar (nylon)"
\time 3/4
\key a \minor
\clef treble
\repeat "volta" 2 {
\stemUp a''8. b''32(  c''') b''8 a'' gis'' a'' |
d''2. |
d''16 f'' e'' d'' b''8. a''16 gis'' f'' e'' d'' |
c'' b' c'' b' a' e' a' b' c'' d'' e'' f'' |
%5
g'' e'' cis''8(  cis'') r r4 |
f'16 cis'' d'' gis'' a'' f' e' d' e' d'' cis'' gis'' |
a'' e' dis' cis' dis' fis' a' cis'' b' gis' a' fis'' |
4  r |
c''16( d''  e'') e'' e''( f''  g'') g'' g''( a''  bes'') bes'' |
%10
bes''(  g'') g''(  e'') e''(  c'') c''(  bes') bes'( a'  bes') g'' |
a'( bes'  c'') c'' c''( d''  e'') e'' e''( f''  g'') g'' |
g''(  e'') e''(  cis'') cis''(  a') a'(  g') g'( f'  g') e'' |
f' e' d' e' f' g' a' b' c'' b' a' c'' |
b' a' g' a' b' c'' d'' e'' f'' e'' d'' f'' |
%15
e'' g'' f'' a'' g'' c'' b' c'' f'' e'' d'' c'' |
} \alternative {{
2. |
}{
 |
}}
\repeat "volta" 2 {
e''8. f''32 g'' f''8 e'' d'' c'' |
fis''2. |
g''8. a''32 b'' a''16 g'' fis'' e'' d'' b' c'' a'' |
%20
c'' b' c'' d'' b'4  |
8  |
fis'' g''16 a'' c''4(  b') |
b'16 cis'' dis'' e'' fis'' a'' g'' fis'' g'' e'' fis'' dis'' |
e''4 g''2 |
%25
g''16( f''  e'') e'' e''( d''  cis'') cis'' cis''( b'  a') a' |
a'(  cis'') cis''(  e'') e''(  g'') g''(  bes'') a''(  g'') f''(  e'') |
f''( e''  d'') d'' d'' c'' b' b' b'( a'  g') g' |
g'(  b') b'(  d'') d''(  f'') f''(  a'') g''(  f'') e''(  d'') |
e'' f''( e'' d'' c'' b' a' gis'  a') c'' e'' gis' |
%30
f' d'' e' c'' d' b' c' a' b gis' d'' f'' |
e'' gis'' a'' f'' dis'' e'' gis' a' d'' c'' b' a' |
} \alternative {{
2. |
}{
 \bar "|."
}}
}
Middle =  \context Voice = "Middle" {
\set Staff.midiInstrument = "acoustic guitar (nylon)"
\time 3/4
\key a \minor
\clef treble
\repeat "volta" 2 {
\stemNeutral 4 d''8 c'' b' c'' |
2. |
4  r |
s s s |
%5
r8 g'(  g'16) bes' a' g' a' g' f' e' |
s4 s s |
s s s |
s s s |
s s s |
%10
s s s |
s s s |
s s s |
s s s |
s s s |
%15
s s s |
} \alternative {{
s s s |
}{
s s s |
}}
\repeat "volta" 2 {
 a'8 g' f' e' |
2. |
4 e'' r8 a' |
%20
4 g' r |
s s s |
d''8 e'' a'2 |
r4 r r |
 r8 bes' bes' a' |
%25
4 r r |
s s s |
s s s |
s s s |
s s s |
%30
s s s |
s s s |
} \alternative {{
s s s |
}{
s s s |
}}

Re: Texte et Lilypond

2009-09-24 Thread Valentin Villenave
2009/9/24 Matthieu Jacquot :
> Voilà, j'espère que cela vous sera utile. Ca fait des années que je n'ai pas
> utilisé windows alors je ne peux pas donner plus de détails pratiques.
> Matthieu

Nous poursuivons cette conversation sur
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr

[everybody: sorry for the (French) noise :-) ]

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Png image files are always 859x1111

2009-09-24 Thread Alexander Kobel

Wilbert Berendsen wrote:

You know you can have LilyPond transparent (alpha) PNGs directly by using
-dpixmap-format=pngalpha on the commandline, like:

lilypond -dresolution=300 -dpixmap-format=pngalpha --png file.ly

or by including these lines in your template:

#(ly:set-option 'pixmap-format "pngalpha")
#(ly:set-option 'resolution 300)


Does not work for me here in neither way. Do I have to specify a special 
version of GS or something?


But anyway, even if it worked, I think to remember that the default GS 
pgnalpha backend only does "binary" transparency, not "gradual" 
transparency - which means that on antialiased boundarys of objects 
which softly turn into white you'll see white shadows, right?
The correct way - at least IMHO - is to leave the foreground color as 
black for all "drawn" pixels and only adjust the alpha channel to what 
was the gray value before.



Cheers,
Alexander


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Png image files are always 859x1111

2009-09-24 Thread Alexander Kobel

Alexander Kobel wrote:

Wilbert Berendsen wrote:

You know you can have LilyPond transparent (alpha) PNGs directly by using
-dpixmap-format=pngalpha on the commandline, like:

lilypond -dresolution=300 -dpixmap-format=pngalpha --png file.ly

or by including these lines in your template:

#(ly:set-option 'pixmap-format "pngalpha")
#(ly:set-option 'resolution 300)


Does not work for me here in neither way. Do I have to specify a special 
version of GS or something?
Strange. It does work, however, if I don't specify the resolution. Same 
thing if I call gs by hand...


GPL Ghostscript 8.64 (2009-02-03):
gs -r300 -sDEVICE=pngalpha -sOutputFile=file.pdf file.pdf
 => no alpha
gs -sDEVICE=pngalpha -sOutputFile=file.pdf file.pdf
 => perfect alpha, but low resolution (basically as it's supposed to be)

But anyway, even if it worked, I think to remember that the default GS 
pgnalpha backend only does "binary" transparency
Forget about this, sorry about the noise. I'm wrong, pngalpha works just 
fine. As long as it works, i. e.



Cheers,
Alexander


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Transposing a whole book (pieces in different keys) by a given interval

2009-09-24 Thread Thomas Green

Yet another transposition question, for which I'd appreciate help.

I have a 'book' containing several scores. The scores are in different keys
- something like Air in C, March in F, and so on. Also, each piece (score)
is set for several instruments. And I have a Lilypond script that compiles
all the music files and generates score and parts. OK so far.

Now, for various reasons, I want to transpose the whole shebang by an
interval - for example, I might want a version for 3 recorders instead of 3
flutes. (That's a familiar baroque transposition.)

What I need, therefore, is an instruction that says "transpose this entire
music book by (say) a fourth". The key signatures all need to be transposed
and the note pitches changed.  (Please note that this is not the same as the
more common problem of scores in which individual parts have to be
transposed.)

I don't see how I can use the \transpose command to transpose the whole
book. First, it only works on a single score, as far as I can figure out.
That's bad enough, since it means adding a lot of \transpose commands to my
script; but I could do that with a smart text editor. The worse problem is
that each \transpose command has to take individual account of the key of
the current score, so for my example of a piece in C followed by a piece in
F, all to be transposed a fourth, I'd need the first command to be
\transpose c f and the second command to be \transpose f bes. 

Is there a Scheme function that will help? Or has somebody maybe written a
preprocessor that will do it? Or anything else? 

Or did I just miss the answer in the manuals and in the archives, in which
would please point me the right way and accept my apologies?

Many thanks

Thomas


-- 
View this message in context: 
http://www.nabble.com/Transposing-a-whole-book-%28pieces-in-different-keys%29-by-a-given-interval-tp25530686p25530686.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Figured Bass: Order of Digits

2009-09-24 Thread Franz-Rudolf Kuhnen
Hi,

I'm working on Couperin's 14. Concert from "Les Gouts reunis". I have a 
problem to determine the correct order of the digits in the figured bass.
The attatched picture shows the problem.

%%   Begin example%

\markup { \large "Bug in the horizontal order of the digits" }

\version "2.12.0"

\relative c <<
 \new Staff {
  \time 2/4
  \clef bass
  d8 g, a4 |
  d,2 | \bar "|."
 }

 \new FiguredBass \figuremode {
  \override FiguredBass.BassFigure #'font-size = # -3 
  \set useBassFigureExtenders = ##t
  s8 <3- 6 5> <6 3+> <7 3+> |
  s2 |
 }
>>

%%   End example%


Sorry for my bad english and thank You for Your help.

Best regards

Franz-Rudolf Kuhnen
http://www.kuhnen-musik.de
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Snow Leopard and Smultron

2009-09-24 Thread arl
I'm running 2.13.3-0 on my Mac under Leopard - it's wonderful to have  
a "proper" working version again on the Mac. Thanks to all who have  
produced this version.


I notice on the LilyPond page for the Mac that "The text editor  
Smultron does not work properly under Snow Leopard."
I looked up the Smultron page ( http://smultron.sourceforge.net/ ) and  
it appears that a beta version of Smultron for Snow Leopard (SL) now  
exists so the above comment may need revision. I haven't managed to  
check whether Smultron is OK under SL.


Over the weekend  I installed SL on my younger daughter's Mac and  
installed LilyPond (2.13.3-0) on it to check that it would work under  
SL. I saved the LilyPond test page and tried to compile it. LilyPond  
appeared to run OK (menus etc.) until you tried to compile a file -  
then it just sat there!


I value the facility to use LilyPond far more that being able to run  
my Mac under Snow Leopard so I won't be updating my own Mac to SL  
until LilyPond works under it. Is the reason for LilyPond not working  
under SL known or are more investigations necessary?


with best regards,
Arthur Lawrence___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Figured Bass: Order of Digits

2009-09-24 Thread Franz-Rudolf Kuhnen
Hi,

I'm working on Couperin's 14. Concert from "Les Gouts reunis". I have a 
problem to determine the correct order of the digits in the figured bass.
The attatched picture shows the problem.

%%   Begin example%

\markup { \large "Bug in the horizontal order of the digits" }

\version "2.12.0"

\relative c <<
 \new Staff {
  \time 2/4
  \clef bass
  d8 g, a4 |
  d,2 | \bar "|."
 }

 \new FiguredBass \figuremode {
  \override FiguredBass.BassFigure #'font-size = # -3 
  \set useBassFigureExtenders = ##t
  s8 <3- 6 5> <6 3+> <7 3+> |
  s2 |
 }
>>

%%   End example%


Sorry for my bad english and thank You for Your help.

Best regards

Franz-Rudolf Kuhnen
http://www.kuhnen-musik.de
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Texte et Lilypond

2009-09-24 Thread Xavier Scheuer
Dites vous aviez remarqué que vous étiez sur la mailing-list anglophone 
(lilypond-user@gnu.org) ?


Pierre-Yves, si tu veux poser tes questions en français (et que les 
autres utilisateurs francophones puissent te lire et te répondre, en 
français également), utilise plutôt la liste de diffusion francophone 
(lilypond-user...@gnu.org) avec le "-fr" après le "user".  ;-)


So let's go on lilypond-user...@gnu.org...



Pierre-Yves Gousenbourger a écrit :

Bonsoir.

Je cherche un moyen de créer un document texte dans lequel j'insère des objets 
Lilypond (des petites partitions/portées par-ci par-là).
J'ai trouvé sur la doc une partie qui parle de lilypond-book. Mais ça commence à 
devenir incompréhensible quand ça parle de lignes de commandes.


Sachant que j'ai Windows XP (et pas Linux, donc plus difficilement accès aux 
lignes de commande), et que je possède LaTeX... quelqu'un pourrait m'aider :( ? 
Siouplé...


Pierre-Yves



Valentin Villenave a écrit :

Bonsoir,

LilyPond-book est un outil extraordinaire mais relativement
complexe... il existe encore plus simple : si vous utilisez
OpenOffice, un plugin du nom de http://ooolilypond.sourceforge.net
peut vous permettre d'intégrer facilement des fragments de partition
dans votre document. (Il existe également la même chose pour Scribus.)

Cependant LilyPond-book fonctionne sans trop de mal sous Windows (mais
je laisserai quelqu'un d'autre vous renseigner, moi dès que je vois
deux lignes de laTeX je fuis en criant).

Cordialement,
Valentin Villenave.



Je me souviens avoir utilisé (il y a bien longtemps) lilypond-book sans 
trop de problème. Mais il me semble que c'était sous Linux (en général 
je fais du LaTeX sous Linux, avec Kile).


Pierre-Yves, tu utilises quoi pour LaTeX sous Windows ? MiKTeX ? 
TeXnicCenter ou un autre éditeur ?
Je vais y jeter un coup d'œil la prochaine fois que je boote sous 
Windows (dans les prochains jours).


Cordialement,


Xavier


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snow Leopard and Smultron

2009-09-24 Thread Graham Percival
On Tue, Sep 22, 2009 at 08:45:38PM +0100, a...@bflat.demon.co.uk wrote:
>I notice on the LilyPond page for the Mac that "The text editor Smultron
>does not work properly under Snow Leopard."

Which lilypond page is that?

>I value the facility to use LilyPond far more that being able to run my
>Mac under Snow Leopard so I won't be updating my own Mac to SL until
>LilyPond works under it. Is the reason for LilyPond not working under SL
>known or are more investigations necessary?

No clue.  None of the developers have snow leopard, so we'd need
somebody else to contribute the investigation and patches.

Cheers,
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Transposing a whole book (pieces in different keys) by a given interval

2009-09-24 Thread David Bobroff
I've put together some projects that I knew I wanted to be able to 
transpose easily.  What I did was to include a \transpose block for each 
score:


\transpose c c { stuff }

Then I would do a search/replace.  For going up a fourth I would replace 
"transpose c c" with "transpose c f".


That should take everything up a fourth and properly alter your key 
signatures.


-David

Thomas Green wrote:

Yet another transposition question, for which I'd appreciate help.

I have a 'book' containing several scores. The scores are in different keys
- something like Air in C, March in F, and so on. Also, each piece (score)
is set for several instruments. And I have a Lilypond script that compiles
all the music files and generates score and parts. OK so far.

Now, for various reasons, I want to transpose the whole shebang by an
interval - for example, I might want a version for 3 recorders instead of 3
flutes. (That's a familiar baroque transposition.)

What I need, therefore, is an instruction that says "transpose this entire
music book by (say) a fourth". The key signatures all need to be transposed
and the note pitches changed.  (Please note that this is not the same as the
more common problem of scores in which individual parts have to be
transposed.)

I don't see how I can use the \transpose command to transpose the whole
book. First, it only works on a single score, as far as I can figure out.
That's bad enough, since it means adding a lot of \transpose commands to my
script; but I could do that with a smart text editor. The worse problem is
that each \transpose command has to take individual account of the key of
the current score, so for my example of a piece in C followed by a piece in
F, all to be transposed a fourth, I'd need the first command to be
\transpose c f and the second command to be \transpose f bes. 


Is there a Scheme function that will help? Or has somebody maybe written a
preprocessor that will do it? Or anything else? 


Or did I just miss the answer in the manuals and in the archives, in which
would please point me the right way and accept my apologies?

Many thanks

Thomas






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Figured Bass: Order of Digits

2009-09-24 Thread Werner LEMBERG

> I'm working on Couperin's 14. Concert from "Les Gouts reunis".  I
> have a problem to determine the correct order of the digits in the
> figured bass.  The attatched picture shows the problem.

Looks like a bug.  Please register, Valentin.


Werner


PS: Auch Grüße aus Koblenz...
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: What's up with fill-line?

2009-09-24 Thread Carl Sorensen



On 9/24/09 7:40 AM, "Alexander Kobel"  wrote:

> Hi all,
> 
> 
> I think I have to bother you a bit more about fill-line; I don't
> understand docs and/or code of it.
> 
> 
> First of all, nested fill-lines don't seem to be a good thing, which may
> or may not be a Bad Thing (tm). In principle, that's easy to avoid; but
> it's an annoyance for the header and footer fields that implicitly use
> fill-line, such as tagline. For those you have to redefine the
> {even,odd}{Footer,Header}Markup commands to get things done correct,
> which is quite a bit more ugly than just stating tagline = \markup
> \fill-line { ... }.
> 
> This makes this issue actually interesting: I guess it's not only me who
> wants some copyright or tagline texts divided into both in the left and
> the right corner of the page.
> 
> 
> So, here's what I know:
> Nested fill-lines are shifted to the right by word-space per level.
> Overriding word-space to 0 in the default definitions of (e.g.)
> oddFooterMarkup does not work well, because it's inherited to the nested
> levels.
> Well, and even _if_ you override it, and _if_ you remember to switch it
> back accordingly in the nested levels, there remains a really tiny bit
> of offset. It's not visible in the PNG, but it's there (I think it's 1/2
> line-thickness, but I'm not sure).
> 
> Secondly, if you have a bunch of the same letters inside fill-line, the
> spacing of the first two and the last two is tighter than the spacing of
> the others. If you have a bunch of vertical lines, their distances seem
> to be perfectly equal.
> Why? Intended? I don't know.

If fill-line has one argument, it's centered.

If fill-line has two arguments, the first is left-aligned, the second is
right-aligned.

If fill-line has three or more arguments, the following rules apply:

The first argument to fill-line is left aligned.

The last argument to fill-line is right aligned

The remainder are centered on columns that are equally distributed.

The bars appear equally spaced because they are so thin you can't
distinguish between centered and left/right aligned.

If you eliminate one of the M's in your example file (so the number of M's
is the same as the number of bars) you'll see that the bars line up with the
centers of the M's for all "interior" M's, and with the left side for the
first M and the right side for the last M.


> 
> Last but not least, fill-line seems to be easily broken by arguments of
> very different length. (See the tagline in the attached example, which
> should perfectly fit into one line, and should have more distance
> between the red and the green block.)

It seems to me like your tagline here is exactly what you asked for:

fill the line  with three arguments:  a bar, a markup, and a bar.

The markup is the combination of a right-column with a left-column, which
glues the two columns together (the first is right aligned, the second is
left aligned).  The combined markup is centered in the tagline.

What is wrong with this output?


HTH,

Carl



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


The new Drummer's Gigsaw: first edition.

2009-09-24 Thread Philippe Hezaine

Hi all,

Here is the new Puzzle du Batteur-The Drummer's Gigsaw.
Published under GPLv3 or later Licence, at this time it's only available
for Linux.
Forget the old versions and first of all read the README.
Feedbacks, suggestions, criticisms are welcome, of course.

Download the tar.bz2 archive here:

http://philippe.hezaine.free.fr/spip.php?article46

Cheers.
--
  Phil.
Superbonus-Project (Site principal) 

Superbonus-Project (Plate-forme d'échange):





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: What's up with fill-line?

2009-09-24 Thread Alexander Kobel

Carl Sorensen wrote:

If fill-line has one argument, it's centered.

If fill-line has two arguments, the first is left-aligned, the second is
right-aligned.

If fill-line has three or more arguments, the following rules apply:
The first argument to fill-line is left aligned.
The last argument to fill-line is right aligned
The remainder are centered on columns that are equally distributed.
[...]
It seems to me like your tagline here is exactly what you asked for:

fill the line  with three arguments:  a bar, a markup, and a bar.

The markup is the combination of a right-column with a left-column, which
glues the two columns together (the first is right aligned, the second is
left aligned).  The combined markup is centered in the tagline.

What is wrong with this output?


Ah, well. It was a bad example, I guess. Actually, it's four columns, 
since the two in the middle are not combined, and I expected a gap of 
the same distance between each of the columns. But with your 
explanations from above (which are not at all what I expect from the 
documentation of fill-line, although I see the rationale behind) it 
makes sense. I still don't see why there is space "wasted" and the line 
exceeds the right boundary, though.
On the other hand, if I really want equal distribution in the sense of 
equal distance between _each_ two adjacent elements, regardless of their 
extent, is there a command to do so? Like an \hfill in LaTeX?



Besides, I mixed up two different problems in the tagline. Still open: 
How do I make a simple tagline, like

\fill-line { LilyPond-left   Author-right },
behave correct? Just stating tagline = ... is not enough, since then I 
run into the nested fill-line. Do I really have to override oddFooterMarkup?
As you said, a single fill-line argument should be centered, so there 
should not be a horizontal offset. Why is this not the case if it's 
again a fill-line command (or, I guess, any other markup taking the 
whole line width)?


To me, it looks like there is a \null element inserted at the beginning 
(and probably also at the end) if only one argument is given. Which 
would explain both the dependency of word-space and the remaining micro 
offset even if word-space = 0.


Well, with the fixed oddFooterMarkup, _I_'m fine for now, but it's not 
quite the most user-friendly way...



Thanks,
Alexander


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Transposing a whole book (pieces in different keys) by a given interval

2009-09-24 Thread Francisco Vila
2009/9/22 Thomas Green :
> The worse problem is
> that each \transpose command has to take individual account of the key of
> the current score, so for my example of a piece in C followed by a piece in
> F, all to be transposed a fourth, I'd need the first command to be
> \transpose c f and the second command to be \transpose f bes.

Are you sure? Try writing \transpose c f on both and maybe you'll get surprised.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org
www.csmbadajoz.com


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


lyrics with syllables associated to notes

2009-09-24 Thread Jatziri Valtierra
Hi!
I would like to do a melodic line with phrasing slur and use lyrics
with syllables associated to notes inside the phrasing slur.
I can't do it with lilypond, the only form I can do was using quote,
but I think this is not the form correct to do it.

Thanks,
Jatziri


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Vertical Spacing

2009-09-24 Thread Jonathan Wilkes
Hello,
 How do I say: "Hey Lilypond, use 
the following 'minimum-Y-extent for whatever system m. 2 ends up in."

I don't see anything in the LM about this, and NR 4.4.1 doesn't make it 
clear that the following override only sets the 'minimum-Y-extent at the 
beginning of the piece or in a \layout block.

-Jonathan

Snippet:

% Created on Wed Sep 23 22:27:52 EDT 2009
\version "2.13.3"

staffPiano = \new PianoStaff {
\set PianoStaff.midiInstrument = #"acoustic grand"
\set PianoStaff.instrumentName = #"Piano  "
\time 4/4
<<
\context Staff = "RH" { 
\clef treble
\key c \major
\relative c' {
c d e f
c d e f
c d e f
}
}
\context Staff = "LH" { 
\clef bass
\key c \major
\relative c {
c d e f
%   \break
\once \override Staff.VerticalAxisGroup 
#'minimum-Y-extent = #'(-4 . 10)
c d e f
c d e f
}
}
>>
}

\score {
<<
\staffPiano
>>
}


  


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Stefan Thomas
Dear Community,
I know that I am a little late in this discussion.
I wanted to try out theexample of Thorsten, I found at
http://lists.gnu.org/archive/html/lilypond-user/2009-09/msg00205.html
What I don't understand is: where do I have to have the files of the
HE-font?
And, is there a final version of the example code somewhere? I wasn't able
to find it!
Thank You
Stefan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Contemporary music required feature #1: chromatic transposition

2009-09-24 Thread Valentin Villenave
On Tue, Sep 22, 2009 at 3:00 PM, Carl Sorensen  wrote:
> If you get the chromatic transposition working properly, I'll commit to
> helping you get it embedded in LilyPond.

Carl, please consider yourself my personal beacon of light in such
discussions :-)

Could you give me a hint as to whether this needs a page in the
tracker, and how said page ought to be phrased?

Cheers,
Valentin


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Contemporary music required feature #1: chromatic transposition

2009-09-24 Thread Carl Sorensen



On 9/24/09 1:29 PM, "Valentin Villenave"  wrote:

> On Tue, Sep 22, 2009 at 3:00 PM, Carl Sorensen  wrote:
>> If you get the chromatic transposition working properly, I'll commit to
>> helping you get it embedded in LilyPond.
> 
> Carl, please consider yourself my personal beacon of light in such
> discussions :-)
> 
> Could you give me a hint as to whether this needs a page in the
> tracker, and how said page ought to be phrased?

I would guess that it needs a page, but I have no idea how it should be
phrased.  I only barely followed Joe's concerns.  He hasn't presented a
minimal example (or even a complex example, that I can remember) of how he'd
like things to behave differently.

But I do know that he's trying to find a different enharmonic equivalent of
a given note, and I'm positive that it's possible to add it to the base
LilyPond functionality once he's figured out how to do it.  So I agreed to
help.

Joe, can you come up with a short description and a minimal example, so
Valentin can add it to the tracker?

Thanks,

Carl



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Contemporary music required feature #1: chromatic transposition

2009-09-24 Thread Joseph Wakeling
Carl Sorensen wrote:
> Joe, can you come up with a short description and a minimal example, so
> Valentin can add it to the tracker?


Will do.  Sorry for not replying earlier to your kind offer of help --
I'm going through a bit of a busy patch -- but will get to work on this
ASAP. :-)

Best wishes,

-- Joe


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Graham Breed

Stefan Thomas wrote:

Dear Community,
I know that I am a little late in this discussion.
I wanted to try out theexample of Thorsten, I found at
http://lists.gnu.org/archive/html/lilypond-user/2009-09/msg00205.html
What I don't understand is: where do I have to have the files of the
HE-font?


You install them wherever fonts go on your system.  That may 
sound vague but, of course, it depends on your system.  I 
think there's a special folder LilyPond looks in as well but 
I'd have to check the documentation to find it, same as you.



And, is there a final version of the example code somewhere? I wasn't able
to find it!


Don't know, sorry.  Probably somewhere in this thread.


   Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Stefan Thomas
Dear Graham,
in the meantime I found out, where I have to install the font on my kubuntu
machine.
I was able to try out the example.
There is one not convincing for me:
The default accidental is an natural. But I would like to use fis and ges as
before.
Wouldnt it a possibilitie to define new pitch-names, like it has been done
in the makam.ly?
But how can this be done?

2009/9/25 Graham Breed 

> Stefan Thomas wrote:
>
>> Dear Community,
>> I know that I am a little late in this discussion.
>> I wanted to try out theexample of Thorsten, I found at
>> http://lists.gnu.org/archive/html/lilypond-user/2009-09/msg00205.html
>> What I don't understand is: where do I have to have the files of the
>> HE-font?
>>
>
> You install them wherever fonts go on your system.  That may sound vague
> but, of course, it depends on your system.  I think there's a special folder
> LilyPond looks in as well but I'd have to check the documentation to find
> it, same as you.
>
>  And, is there a final version of the example code somewhere? I wasn't able
>> to find it!
>>
>
> Don't know, sorry.  Probably somewhere in this thread.
>
>
>   Graham
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Graham Breed

Stefan Thomas wrote:

Dear Graham,
in the meantime I found out, where I have to install the font on my kubuntu
machine.


That's good.


I was able to try out the example.
There is one not convincing for me:
The default accidental is an natural. But I would like to use fis and ges as
before.


Aren't these two different problems?  You can use a 
different glyph for naturals by changing one of the tables.



Wouldnt it a possibilitie to define new pitch-names, like it has been done
in the makam.ly?
But how can this be done?


Yes, absolutely.  There should be a list of pitch names in 
the code you're using.  All you so is change them.




Graham




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Stefan Thomas
Dear Graham,
absolutely, I would like to define a list of notenames, for e.g. pitches
that are about 15cents lower, But I have no idea how to do it, when I use
the HE-font for the accidentals.
Off course, I had a look in makam.ly
and I found there
makamGlyphs = #`((1 . "accidentals.doublesharp")
   (8/9 . "accidentals.sharp.slashslashslash.stemstem")
  )
But how could I define a "Helmholtz-Glyph"?

2009/9/25 Graham Breed 

> Stefan Thomas wrote:
>
>> Dear Graham,
>> in the meantime I found out, where I have to install the font on my
>> kubuntu
>> machine.
>>
>
> That's good.
>
>  I was able to try out the example.
>> There is one not convincing for me:
>> The default accidental is an natural. But I would like to use fis and ges
>> as
>> before.
>>
>
> Aren't these two different problems?  You can use a different glyph for
> naturals by changing one of the tables.
>
>  Wouldnt it a possibilitie to define new pitch-names, like it has been done
>> in the makam.ly?
>> But how can this be done?
>>
>
> Yes, absolutely.  There should be a list of pitch names in the code you're
> using.  All you so is change them.
>
>
>
>Graham
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Graham Breed

Stefan Thomas wrote:

Dear Graham,
absolutely, I would like to define a list of notenames, for e.g. pitches
that are about 15cents lower, But I have no idea how to do it, when I use
the HE-font for the accidentals.


For the code I have, pitch names are defined as:

HEPitchNames = #`(
  (c . ,(ly:make-pitch -1 0 0))
  (g . ,(ly:make-pitch -1 4 10/1023))
  (edown . ,(ly:make-pitch -1 2 -75/1096))
  (bflatseven . ,(ly:make-pitch -1 6 -162/247))
  (d . ,(ly:make-pitch -1 1 20/1023))

and so on.

If you want more pitches, you add them.  The parameters are 
documented for ly:make-pitch under Scheme Functions.



Off course, I had a look in makam.ly
and I found there
makamGlyphs = #`((1 . "accidentals.doublesharp")
   (8/9 . "accidentals.sharp.slashslashslash.stemstem")
  )
But how could I define a "Helmholtz-Glyph"?


This table is different when you use an external font.  The 
relevant table, as I have it, starts like this:


HEStrings = #`(
(0  "\x6e" (0 . 1) (-0.5 . 0.5))
(10/1023  "\x6e" (0 . 0.6) (-0.5 . 0.5))
(-75/1096  "\x6d" (0 . 0.6) (-1.1 . 0.5))
(-162/247  "\x3c\x65" (-2 . 2) (-0.5 . 0.5))
(20/1023  "\x6e" (0 . 0.6) (-1.1 . 0.5))

In each of those lists, the first entry is the alteration in 
whole tones (1/1 = 200 cents).  The second entry is the 
UTF-8 encoded string to display.  The other two pairs are 
the X- and Y-extents that determine how much space LilyPond 
allows for the accidentals.  We currently don't know how to 
make sensible guesses for these so they have to be hard coded.


The alteration for very accidental in the first table has to 
match a row in the second one.



Graham



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Snow Leopard and Smultron

2009-09-24 Thread Andrew Tucker


On Sep 24, 2009, at 10:10 AM, Graham Percival wrote:


On Tue, Sep 22, 2009 at 08:45:38PM +0100, a...@bflat.demon.co.uk wrote:
  I notice on the LilyPond page for the Mac that "The text editor  
Smultron

  does not work properly under Snow Leopard."


Which lilypond page is that?


I think he means
http://ivo.bouwmans.name/lilypondleopard/
(linked from the lilypond "download" page)

  I value the facility to use LilyPond far more that being able to  
run my
  Mac under Snow Leopard so I won't be updating my own Mac to SL  
until
  LilyPond works under it. Is the reason for LilyPond not working  
under SL

  known or are more investigations necessary?


No clue.  None of the developers have snow leopard, so we'd need
somebody else to contribute the investigation and patches.

Cheers,
- Graham



Though things seemed broken the first few days under Snow Leopard,  
I've had success using both Smultron and LilyPond since then - maybe  
some Apple updates helped?


I've run LilyPond 2.13.3-0 and 2.13.4-1 alone, as well as calling each  
from Smultron 3.5.1 using Ivo Bouwmans' instructions (except for which  
versions of each program to get...) under Mac OSX 10.6.1


Here's hoping personal experience can trump superior knowledge - seems  
like things are working fine for me.


all the best,
   Andy Tucker



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Microtonal Helmholtz-Ellis notation in Lilypond: fine-tuning

2009-09-24 Thread Stefan Thomas
Dear Graham,
thanks very much!
It doesn't seem to be very easy for my, but I guess, I will be able to do
it.

2009/9/25 Graham Breed 

> Stefan Thomas wrote:
>
>> Dear Graham,
>> absolutely, I would like to define a list of notenames, for e.g. pitches
>> that are about 15cents lower, But I have no idea how to do it, when I use
>> the HE-font for the accidentals.
>>
>
> For the code I have, pitch names are defined as:
>
> HEPitchNames = #`(
>  (c . ,(ly:make-pitch -1 0 0))
>  (g . ,(ly:make-pitch -1 4 10/1023))
>  (edown . ,(ly:make-pitch -1 2 -75/1096))
>  (bflatseven . ,(ly:make-pitch -1 6 -162/247))
>  (d . ,(ly:make-pitch -1 1 20/1023))
>
> and so on.
>
> If you want more pitches, you add them.  The parameters are documented for
> ly:make-pitch under Scheme Functions.
>
>  Off course, I had a look in makam.ly
>> and I found there
>> makamGlyphs = #`((1 . "accidentals.doublesharp")
>>   (8/9 . "accidentals.sharp.slashslashslash.stemstem")
>>  )
>> But how could I define a "Helmholtz-Glyph"?
>>
>
> This table is different when you use an external font.  The relevant table,
> as I have it, starts like this:
>
> HEStrings = #`(
>(0  "\x6e" (0 . 1) (-0.5 . 0.5))
>(10/1023  "\x6e" (0 . 0.6) (-0.5 . 0.5))
>(-75/1096  "\x6d" (0 . 0.6) (-1.1 . 0.5))
>(-162/247  "\x3c\x65" (-2 . 2) (-0.5 . 0.5))
>(20/1023  "\x6e" (0 . 0.6) (-1.1 . 0.5))
>
> In each of those lists, the first entry is the alteration in whole tones
> (1/1 = 200 cents).  The second entry is the UTF-8 encoded string to display.
>  The other two pairs are the X- and Y-extents that determine how much space
> LilyPond allows for the accidentals.  We currently don't know how to make
> sensible guesses for these so they have to be hard coded.
>
> The alteration for very accidental in the first table has to match a row in
> the second one.
>
>
>Graham
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user