Atom lilypond mode

2019-01-13 Thread Andrew Bernard
Does anybody use the lilypond mode for the Atom editor? Is it any good? I'd
be interested to hear opinions.

I'm a long term emacs user, but Atom seems to be progressing nicely.

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


Re: Ambitus per voice and Ez_numbers_engraver

2019-01-13 Thread Gloops
Thomas Morley-2 wrote
> Am Fr., 11. Jan. 2019 um 10:04 Uhr schrieb Gloops <

> yagloops@

> >:
>>
>> Hello Harm
>> Thank you for this correction ...
>> Is there any way to engrave the ambitus directly without going through
>> "note-head :: brew-ez-stencil" in order to avoid the head of the note?
>> Gilles
> 
> Not sure what you mean.
> Probably, set details.ez-numbers #f or easier comment \easyAmbitusHeadsOn
> Then Ambitus_engraver is not affected by Ez_numbers_engraver_harm
> 
> Cheers,
>   Harm
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user


Hello Harm!
Sorry, I did not express myself well!
I want to go through "Ez_numbers_engraver_harm"
to convert NoteHead to a number and display AmbitusNoteHead directly.
I do not want (if possible) to go through "brew-ez-stencil" ...
Gilles

 

 



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Ambitus per voice and Ez_numbers_engraver

2019-01-13 Thread Gloops
Bonjour Valentin !
Je connais la liste française mais je n'ai rien trouvé concernant ce sujet,
c'est pourquoi j'ai posté ici...
En tout cas merci de l'avoir suggérer!
Peut être à bientôt sur la liste française...
Gilles



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
Hi,

I like the lilypond package and I decided to dive into for my guitar
playing book.

Unfortunately I stumble over two problems which can be seen in the
example attached.

- First there is the German umlauts. As you can see in the example, it
  is correct encoded in UTF-8 but the umlauts are encoded as "??".
  I did already try to use no bomb or even in latin1 encoding. But
  nothing helped.

- The second problem is about aligning the text with the notes. As you
  can see, it never get aligned correctly. I put it in the file in two
  versions. The first is without any hint and the second is with all
  hints. None of them has the proper aligning (Starting with "Roter"
  over two notes, then "Mond" over one and the next note without text.
  After that, "überm" over two notes and "Silbersee" over three and so
  on.

Do you have any hint how to solve that two problems?

Later on I plan to include that in LaTeX document but at the moment I
just try to get my music in a beautiful setup.

Regards
   Klaus
-- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
\version "2.19.80"
\language "deutsch"
\include "predefined-guitar-fretboards.ly"

global = { \time 2/4 }
%liedchords = { \chordmode { e1:m d e:m d \break \repeat volta 2 { g d c e } }}
liedchords = { \transpose a e \chordmode { a1:m g a:m g \break \repeat volta 2 { c g d:m a } }}

<<
   \new ChordNames { \global \liedchords }
   \new FretBoards { \global \liedchords }
   \new Staff { \global \liedchords }
   \new Staff { \clef treble \global \relative {
  a4 a | a2( | a4) h8 c | h a g4 | a a a2( | a4) h8 c | h a g4 \break
  \repeat volta 2 { e'4 e | e2( | e4) d8 e | d4. c8 | d4 d8 c | d4 d8 c | a4 a8 g | a2 }
}}
   \new Lyrics { \lyricmode { Roter Mond überm Silbersee, Feuerglut wärmt den kalten Tee. Kiefernwald in der Nacht und noch ist der neue Tag nicht erwacht. }}
>>
<<
   \new ChordNames { \global \liedchords }
   \new FretBoards { \global \liedchords }
   \new Staff { \global \liedchords }
   \new Staff { \clef treble \global \relative {
  a4 a | a2( | a4) h8 c | h a g4 | a a a2( | a4) h8 c | h a g4
  \repeat volta 2 { e'4 e | e2( | e4) d8 e | d4. c8 | d4 d8 c | d4 d8 c | a4 a8 g | a2 }
}}
   \new Lyrics { \lyricmode { Ro -- ter Mond _ ü -- berm Sil -- ber -- see, Feu -- er -- glut _ wärmt den kal -- ten Tee. Kie -- fern -- wald _ in der Nacht und noch ist der neue Tag nicht erwacht. }}
>>


signature.asc
Description: PGP signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread N. Andrew Walsh
Hi Klaus,

On Sun, Jan 13, 2019 at 2:50 PM Klaus Ethgen 
wrote:

>
> - First there is the German umlauts. As you can see in the example, it
>   is correct encoded in UTF-8 but the umlauts are encoded as "??".
>   I did already try to use no bomb or even in latin1 encoding. But
>   nothing helped.
>

They encode fine on my side. You need to set up Lily to use the right
fonts. See: http://lilypond.org/doc/v2.19/Documentation/notation/fonts. I
find that Linux Libertine looks superb in a wide range of applications.


>
> - The second problem is about aligning the text with the notes. As you
>   can see, it never get aligned correctly. I put it in the file in two
>   versions. The first is without any hint and the second is with all
>   hints. None of them has the proper aligning (Starting with "Roter"
>   over two notes, then "Mond" over one and the next note without text.
>   After that, "überm" over two notes and "Silbersee" over three and so
>   on.
>

looks like you're having problems with spacing. See here:
http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics#placing-syllables-horizontally


Cheers,

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Lukas-Fabian Moser

Hi Klaus,

Am 13.01.19 um 13:42 schrieb Klaus Ethgen:

- First there is the German umlauts. As you can see in the example, it
   is correct encoded in UTF-8 but the umlauts are encoded as "??".
   I did already try to use no bomb or even in latin1 encoding. But
   nothing helped.


This is strange, because I can't reproduce the problem here. On my 
(Linux Mint) machine, the German umlauts are displayed fine without any 
change in your document.



- The second problem is about aligning the text with the notes. As you
   can see, it never get aligned correctly. I put it in the file in two
   versions. The first is without any hint and the second is with all
   hints. None of them has the proper aligning (Starting with "Roter"
   over two notes, then "Mond" over one and the next note without text.
   After that, "überm" over two notes and "Silbersee" over three and so
   on.


Here I can help: First of all, only your second version can be expected 
to work at all (ro -- ter) because otherwise Lilypond has no way of 
guessing which part of a word is a "syllable".


What's missing is the link between the 'voice' (containing the actual 
notes) and the lyrics line. There are various ways:


- Immediately after the music, you can write \addlyrics:

 \new Staff { \relative {   a4 a | a2( | a4) h8 c }
\addlyrics { Ro -- ter Mond ü -- berm  }}

(This is not the most flexible solution; personally I only use it for 
very simple or quick'n'dirty scores.)


- Explicitly connecting the lyrics line to the melody:

\new Staff \new Voice = "arbitraryName" { \clef treble \global \relative {
  a4 a | a2( | a4) h8 c | h a g4 | a a a2( | a4) h8 c | h a g4 \break
  \repeat volta 2 { e'4 e | e2( | e4) d8 e | d4. c8 | d4 d8 c | d4 
d8 c | a4 a8 g | a2 }

}}
   \new Lyrics \lyricsto "arbitraryName" { Ro -- ter Mond ü -- berm 
Silbersee, Feuerglut wärmt den kalten Tee. Kiefernwald in der Nacht und 
noch ist der neue Tag nicht erwacht. }


Note that \lyricsto implicitly starts \lyricmode. (Also I'd recommend 
writing Mond __ if the note with the syllable "Mond" has a tie.)


Best
Lukas


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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Malte Meyn




Am 13.01.19 um 13:42 schrieb Klaus Ethgen:

- First there is the German umlauts. As you can see in the example, it
   is correct encoded in UTF-8 but the umlauts are encoded as "??".
   I did already try to use no bomb or even in latin1 encoding. But
   nothing helped.


Cannot reproduce. Which LilyPond version are you using? And which 
operating system?



- The second problem is about aligning the text with the notes. As you
   can see, it never get aligned correctly. I put it in the file in two
   versions. The first is without any hint and the second is with all
   hints. None of them has the proper aligning (Starting with "Roter"
   over two notes, then "Mond" over one and the next note without text.
   After that, "überm" over two notes and "Silbersee" over three and so
   on.
Using only \new Lyrics \lyricmode … every syllable gets the same 
duration; in your case that’s a half note because your last note before 
the lyrics is an “a2”. You can either assign the correct durations yourself


\new Lyrics \lyricmode { Ro4 -- ter Mond2. ü8 -- berm Sil -- ber see4 … 
}

or use \lyricsto or \addlyrics:

\addlyrics { Ro -- ter Mond ü -- berm Sil -- ber -- see … }

Have a look at the Notation Reference about lyrics for how to use these 
functions exactly.


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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Lukas,

Am So den 13. Jan 2019 um 15:01 schrieb Lukas-Fabian Moser:
[Charset problem]
> This is strange, because I can't reproduce the problem here. On my (Linux
> Mint) machine, the German umlauts are displayed fine without any change in
> your document.

Hmm.. I just installed it on Gentoo linux and the posts before suggests
something about missing fonts.

I have to follow the links to see if they help.

[Aligning lyrics to notes]
> Here I can help:

Great. Thanks in advance.

[...]
> - Explicitly connecting the lyrics line to the melody:
> 
> \new Staff \new Voice = "arbitraryName" { \clef treble \global \relative {
>   a4 a | a2( | a4) h8 c | h a g4 | a a a2( | a4) h8 c | h a g4 \break
>   \repeat volta 2 { e'4 e | e2( | e4) d8 e | d4. c8 | d4 d8 c | d4 d8 c
> | a4 a8 g | a2 }
> }}
>    \new Lyrics \lyricsto "arbitraryName" { Ro -- ter Mond ü -- berm
> Silbersee, Feuerglut wärmt den kalten Tee. Kiefernwald in der Nacht und noch
> ist der neue Tag nicht erwacht. }

That helps indeed.

> Note that \lyricsto implicitly starts \lyricmode. (Also I'd recommend
> writing Mond __ if the note with the syllable "Mond" has a tie.)

That one is a bit tricky.

It is a half and a quarter note that should sound like a dotted half
note. But the "Mond" should be sung only on the half note and the
quarter note should be silent.

So my "Mond _" consumes the "b" after the compound note which should be
the "ü". from "überm".

So is it possible to have the syllable just on the first note even if
they are bound together?

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw7SmoACgkQpnwKsYAZ
9qwiXAwAxBbteRRJtSC956Dl3mXtXKBpLNrIQ9lztYfPaCQkMBtbCAQ2YiyEgn7D
Guqj5ioxMNj0W0zLAlvHlm1EnSnNuUmKUPtq8mx9xq3jrjYPmoZmofHn4C+v999c
1Qmtu9DBIb+Jnc1GIa/7fOZl8LTTWaqDZvLlAJX/ypXdNYy4J4FbGk3w6z86AIsM
6pSQoYRoCYxk+kdlrLih2Xh36Pxaro6pw5Zl/wnze/3B0G+nY/4NPna2V3fx9t8Z
SS5Wmqbt5JTx94kcTylbjEXmkp24vXaMMng5P7G66iX56O5FNcV9VnSTFOob2crl
U5OBOqWghACH/d+mBDezhP+sVDo19340FbYz8k799NmoxMOMsktipLHGGl7r3nY/
7BPkrf9hIG0jh8cylp/nzEgjEA4FSBtAuf+jHw3fK0eL9knKpCOZlUT/Lcbx3szI
rRWA7j08ruBJ0VJKdahkAxWIVzuMnptfb+E6xAedTTUi4USCqeGqz+ZUSXpLeZ3z
S95Dc0jh
=zvRG
-END PGP SIGNATURE-

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Lukas-Fabian Moser

Hi Klaus,


Note that \lyricsto implicitly starts \lyricmode. (Also I'd recommend
writing Mond __ if the note with the syllable "Mond" has a tie.)

That one is a bit tricky.

It is a half and a quarter note that should sound like a dotted half
note. But the "Mond" should be sung only on the half note and the
quarter note should be silent.

So my "Mond _" consumes the "b" after the compound note which should be
the "ü". from "überm".

So is it possible to have the syllable just on the first note even if
they are bound together?


I'm afraid I don't quite understand. If the quartet note should be 
silent, I think you'd better write be a rest. But probably you just want 
to say that there is no new syllable on the tied note?


Anyway, it's important to have __ (two _, not just one). Then the result 
using Ro -- ter Mond __ ü -- berm is


which, to me, looks fine.

Best
Lukas

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Thomas Morley
Am So., 13. Jan. 2019 um 15:41 Uhr schrieb Klaus Ethgen
:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi Lukas,
>
> Am So den 13. Jan 2019 um 15:01 schrieb Lukas-Fabian Moser:
> [Charset problem]
> > This is strange, because I can't reproduce the problem here. On my (Linux
> > Mint) machine, the German umlauts are displayed fine without any change in
> > your document.
>
> Hmm.. I just installed it on Gentoo linux and the posts before suggests
> something about missing fonts.
>

Please enter in terminal:
lilypond scheme-sandbox

A guile-prompt will open, then do there:
(version)

Please post what you get.

I have a certain suspect...

Cheers,
  Harm

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Andrew,

Am So den 13. Jan 2019 um 14:57 schrieb N. Andrew Walsh:
> On Sun, Jan 13, 2019 at 2:50 PM Klaus Ethgen 
> wrote:
> > - First there is the German umlauts. As you can see in the example, it
> >   is correct encoded in UTF-8 but the umlauts are encoded as "??".
> >   I did already try to use no bomb or even in latin1 encoding. But
> >   nothing helped.
> They encode fine on my side. You need to set up Lily to use the right
> fonts. See: http://lilypond.org/doc/v2.19/Documentation/notation/fonts. I
> find that Linux Libertine looks superb in a wide range of applications.

I also tried to use Libertine (what was not installed) and looking at
the Font shapes, it is used.

Unfortunately the German umlauts gets still encoded with "??".

I just test it under debian system and found it working.

Is there any global settings that could prevent the correct encoding?

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw7VzQACgkQpnwKsYAZ
9qyrHQwAlXZbRYKl89SIEhYwDWeIXEX+MVNGuXML7dgFyz5mxrNFxYMuaUGClhU6
v6CbprPD6FydXFpvgMkbZ5uEeevQ3s+vz0u2jCQSYvedo4uXdmMR8GIqV8r4ROUE
bAfpV+TlU5PdlMsVTDXlP90SHEoRkEjVLS6u6xidylvKHgb5NJcbnepLWkwDv5p+
EQFVel3fOUBj+HYkpVuJ6Gom7TTMejZ14ff6Mbvr2E/d4NrI8oQoz6tTtc6RCy63
Q3Rhawi2su9kNjMoi9nm7JblP3zNbd4xkPngmZdiLFiM0CaIJmS3NDB9NlpUp6JP
6Rlsoce3nhmVvC/xASrWwbfyv+Z/Pw/wYaaXb5Oix3r00mzUJB5WKP/fn1Yq/lZL
/l7bCM5xFt6epKLOCbmJ1BgzziKub4TSfqwaKroBuSWHyPgDXKfliNVtFgGbj2I5
8orkMgtdQvUVe4kK9oong2Ebi8jyN4NL4GNDuyMWg2jjrWa8x1wP56j+mlqeEsr5
vSP+2K1u
=JkEC
-END PGP SIGNATURE-

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Thomas Morley
Sending this again, because google or firefox or whatever buggy
program messed up the mail-adress

Am So., 13. Jan. 2019 um 16:10 Uhr schrieb Thomas Morley
:
>
> Am So., 13. Jan. 2019 um 15:41 Uhr schrieb Klaus Ethgen

see:

> :
> >
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA512
> >
> > Hi Lukas,
> >
> > Am So den 13. Jan 2019 um 15:01 schrieb Lukas-Fabian Moser:
> > [Charset problem]
> > > This is strange, because I can't reproduce the problem here. On my (Linux
> > > Mint) machine, the German umlauts are displayed fine without any change in
> > > your document.
> >
> > Hmm.. I just installed it on Gentoo linux and the posts before suggests
> > something about missing fonts.
> >
>
> Please enter in terminal:
> lilypond scheme-sandbox
>
> A guile-prompt will open, then do there:
> (version)
>
> Please post what you get.
>
> I have a certain suspect...
>
> Cheers,
>   Harm

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread David Kastrup
Klaus Ethgen  writes:

> Hi,
>
> I like the lilypond package and I decided to dive into for my guitar
> playing book.
>
> Unfortunately I stumble over two problems which can be seen in the
> example attached.
>
> - First there is the German umlauts. As you can see in the example, it
>   is correct encoded in UTF-8 but the umlauts are encoded as "??".
>   I did already try to use no bomb or even in latin1 encoding. But
>   nothing helped.

For stuff like encoding problems it is _absolutely_ necessary that you
specify the operating system you use, the LilyPond version you use, and
whether you used the distributed installer or something else.

-- 
David Kastrup

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

Am So den 13. Jan 2019 um 17:02 schrieb David Kastrup:
> For stuff like encoding problems it is _absolutely_ necessary that you
> specify the operating system you use, the LilyPond version you use, and
> whether you used the distributed installer or something else.

Sorry, you are right.

It is Gentoo.
   [IP-] [  ] media-sound/lilypond-2.19.80-r1:0

As I wrote before, I do not see the problem on debian linux. But that is
even a lower version.

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw7asoACgkQpnwKsYAZ
9qxRkwv/amcCEnIlMJRgk6ahZ+DVAf5RD8VM2GfN6Gr9OsSi+tIgG+FmVhoR9KQ8
HIUWfMuAgLNuNJqIpCfEoAbxCjnUb4xc+qjzuGh/HL0U5HZaZ7W9DMY/nrPikMWe
7PCySv/SMvy8c90tXSsP06Fgs85S73qghqt2KmI/XE+TMJckj9EhK5QzdcgcWI5D
0FNKNcEZ116BGAM7zl02U7qxrFit/6Nt3aW49vFu4dx4M9BaWpuGFMtSTDWfjsW8
Khj1cQNggnAH3QqZUw7reZYJMw5xeC4iIEFl0jMgX8C61GcC8QYTfySbL55R70By
P2p8e9+ddPCaj51kdqHRPvY8wAc9I8mbqsY0uIJNj14TUo34tz5cXx4WIxdQd1bO
0RQOO9Kn/ZXHxOILPxEwWp34NWEABqp4Qd2PCR2PaH+CrzUoLVjJCZ6T6SAO6iij
Cv1yClZWfHgq7PBy535WtSdd9cInsS7DQpyAl0U+GtwWiGXQKe/CvBxyzHbNhjAu
qul8XSWN
=a3gb
-END PGP SIGNATURE-

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Thomas,

Am So den 13. Jan 2019 um 16:10 schrieb Thomas Morley:
> Please enter in terminal:
> lilypond scheme-sandbox
> 
> A guile-prompt will open, then do there:
> (version)
> 
> Please post what you get.

> lilypond scheme-sandbox

   GNU LilyPond 2.19.80
   »/usr/share/lilypond/2.19.80/ly/scheme-sandbox.ly« wird verarbeitet
   Analysieren...
   GNU Guile 2.0.14
   Copyright (C) 1995-2016 Free Software Foundation, Inc.

   Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
   This program is free software, and you are welcome to redistribute it
   under certain conditions; type `,show c' for details.

   Enter `,help' for help.
   scheme@(#{ g1033}#)> (version)
   $1 = "2.0.14"
   scheme@(#{ g1033}#)> 

> I have a certain suspect...

... Hope that helps.

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw7aiAACgkQpnwKsYAZ
9qyIqQwAozqN2K12of3H5pGwp3j7Yk61beaNMFECQpUriNAVJi8fq9iNY9esJ/4i
rMmizC/+bVJMXVcSYrMqwCCoGbLshhps1rnStNb6m7lkfXO9Ih9bZyOH+ugDiS3w
E/n9kpKPwbb/aeRK1RhB3DGMKQU78A8SMgtqD/Edu5xlXh0r1YF+ZkATOzg0FXqz
IsCobG+fUD3FAQ8NN3pDjwX0XAhSkRF34JHBxYc1nCMVH/PpBGyr7Xsoag88+i33
RH3w+2YLRrggkVKvCK3OlliOblh2o0qOy2iQykJ9C0xLlqsP5FT7UDiDmAaiV246
d9IZMS4mIlmP7dxeluUq6yiuYrtZnK8WGqkoUp0B5Gb0kLLr/d4wxhfJxxyov7/X
gUgG3WIvYoFzgGNoSEByPJ5VtNgBeuAzqNIWOc35Zi+oS8MREubPLZnB1Qr5Ba8F
2GX8ct0q2ORA5G6CI22BnCyoATv0nDD+4lWqi5fkkfYZhuJ4l8X5uGqg0Lg7CBkJ
fneyZyaA
=iDeS
-END PGP SIGNATURE-

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Thomas Morley
Am So., 13. Jan. 2019 um 17:48 Uhr schrieb Klaus Ethgen
:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> Hi Thomas,
>
> Am So den 13. Jan 2019 um 16:10 schrieb Thomas Morley:
> > Please enter in terminal:
> > lilypond scheme-sandbox
> >
> > A guile-prompt will open, then do there:
> > (version)
> >
> > Please post what you get.
>
> > lilypond scheme-sandbox
>
>GNU LilyPond 2.19.80
>»/usr/share/lilypond/2.19.80/ly/scheme-sandbox.ly« wird verarbeitet
>Analysieren...
>GNU Guile 2.0.14
>Copyright (C) 1995-2016 Free Software Foundation, Inc.
>
>Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
>This program is free software, and you are welcome to redistribute it
>under certain conditions; type `,show c' for details.
>
>Enter `,help' for help.
>scheme@(#{ g1033}#)> (version)
>$1 = "2.0.14"
>scheme@(#{ g1033}#)>
>
> > I have a certain suspect...
>
> ... Hope that helps.


Well, it helps me to analyse the problem:
LilyPond 2.19.80 is in _no_ regard prepared to work with guile
versions higher than guile-1.8.8

Best you can do is to install LilyPond from our precompiled installer.

OTOH, it _is_ possible to compile LilyPond with guilev2, but you'll
experience a heavy slow down and probably undected bugs.
Don't rely on such a compilation for serious work.
Any help for the guilev2 migration is highly welcome, though!
If you consider doing so, I could demonstrate how to get started.

Cheers,
  Harm

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread David Kastrup
Klaus Ethgen  writes:

> Hi Thomas,
>
> Am So den 13. Jan 2019 um 16:10 schrieb Thomas Morley:
>> Please enter in terminal:
>> lilypond scheme-sandbox
>> 
>> A guile-prompt will open, then do there:
>> (version)
>> 
>> Please post what you get.
>
>> lilypond scheme-sandbox
>
>GNU LilyPond 2.19.80
>»/usr/share/lilypond/2.19.80/ly/scheme-sandbox.ly« wird verarbeitet
>Analysieren...
>GNU Guile 2.0.14
>Copyright (C) 1995-2016 Free Software Foundation, Inc.
>
>Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
>This program is free software, and you are welcome to redistribute it
>under certain conditions; type `,show c' for details.
>
>Enter `,help' for help.
>scheme@(#{ g1033}#)> (version)
>$1 = "2.0.14"
>scheme@(#{ g1033}#)> 
>
>> I have a certain suspect...
>
> ... Hope that helps.

Yeah.  Somebody considered a good idea to override the defaults and
enable experimental Guile-2 support.  So you are being part of an
experiment.  Instead of having the touted 10% speed advantage of Gentoo,
that slows down your version of LilyPond by about 400%.  It also gives
you some pretty bad bugs.  But then you noticed.

-- 
David Kastrup

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

Am So den 13. Jan 2019 um 18:13 schrieb David Kastrup:
> Yeah.  Somebody considered a good idea to override the defaults and
> enable experimental Guile-2 support.

Grml, that overwrite was necessary as other systems pulled in that
guile2. And it seems to be that they are not be able to be installed in
parallel.

> So you are being part of an experiment.  Instead of having the touted
> 10% speed advantage of Gentoo, that slows down your version of
> LilyPond by about 400%.  It also gives you some pretty bad bugs.  But
> then you noticed.

Thanks for the hint. I did not know what guile is for until now.

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw7e2sACgkQpnwKsYAZ
9qxTiwv/dzoNiLZRmMs6gi3t9Edw+yc6cV3ZbLbDATr8mzKwZPKmTcl97MWuvT7H
p+K1xn3GgrB17Iz2QSs19GJS5O7tfHPyfOMOlUkrMJETAzi30mKTafzEnYEjrcjH
mas2kwW5SfqgRnpDezhMmN/qnLmjj5anf0iRbv7QAdMwlBRCC8wUHiby6TEEbLgI
zZTjHhkdqtLe/lrSkFKEzNnSAtjZ0DC6DACpzDAqYnR842VngvFFgekb8WW/h1+M
aNsm50dGGTE0sk6gYYBajmXFlucoZMftURq6nfxEWTauRct1EORh40YJaRWqXIcv
o9QdoHh8x+liqCznV/dBQkSFUoSOZb9agz21lUS/m20kf2Aj3tgrB8Wxj1HGahIj
ZX+UAkw4XeEtEwvhEXezy+yLG6xiuJ2UX3uhGBhmu14tbmt2UFVD9LTbNUckxhi0
aGQpZwRfpBph6YNWAtfbGrwsIRX2mlOz+2flSKcjz4IxIeIHElq5MBKq6JhYuhHD
Ztsc5tTn
=UG/G
-END PGP SIGNATURE-

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


Re: note collision when in a chord there is a second above or below an unison

2019-01-13 Thread Davide Bonetti

Hi Paolo,

your solution works but generates collision between the sharp and the 
time signature :)


I tried this:

\score {
  {
    1
  }
}

and there is no collision with time signature.

However, if the chord is  my code doesn't work well 
again.


I think that there is not an easy solution that fits all.

Thank you again, I learned something about \tweak and about extra-offset.

Cheers

Davide


Il 12/01/2019 23:22, Paolo Cantamessa ha scritto:

Hi David,
maybe this solution works but it is not really professional:

\score {
  {
    \once \override Accidental.extra-offset = #'(-1.5 . 0)
      1
  }
}

Good luck.

Paolo

Il sab 12 gen 2019, 22:00 Davide Bonetti > ha scritto:


Thank you Paolo,

it works well for whole note without alteration.

If the note is altered, however, there is a collision with the
alteration, as you can see with this code:

\score {
   1
}

Do you (or someone else) know where in the source code is handled
the position of the notes in a chord?

Cheers

Davide

Il 09/01/2019 13:18, Paolo Cantamessa ha scritto:


Hi Davide,
try this:
\score {
   1
}

Bye.

Paolo



Mailtrack


Sender notified by
Mailtrack


09/01/19, 13:18:35  


Il giorno mer 9 gen 2019 alle ore 12:43 Davide Bonetti
mailto:d...@davidebonetti.it>> ha scritto:

Hi Malte,

The output could be like in the attached image. I obtained it in
Musescore, manually moving the notes.

Cheers.

Davide

Il 08/01/2019 08:15, Malte Meyn ha scritto:
> Hi Davide,
>
> please tell us what output you expected.
Am 06.01.19 um 18:41 schrieb Malte Meyn:
>> Long answer: You can do almost anything in LilyPond. In
your case you
>> could try changing the output (f. e. extra-offset) or the
inpult (f.
>> e. use multiple voices). But you have to know what the
output should
>> look like. LilyPond cannot guess that ;)
>


---
Questa e-mail è stata controllata per individuare virus con
Avast antivirus.
https://www.avast.com/antivirus
___
lilypond-user mailing list
lilypond-user@gnu.org 
https://lists.gnu.org/mailman/listinfo/lilypond-user





Mail priva di virus. www.avast.com




<#m_3208058608710158921_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>




---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Atom lilypond mode

2019-01-13 Thread Federico Bruni




Il giorno dom 13 gen 2019 alle 9:15, Andrew Bernard 
 ha scritto:
Does anybody use the lilypond mode for the Atom editor? Is it any 
good? I'd be interested to hear opinions.


I'm a long term emacs user, but Atom seems to be progressing nicely.

Andrew



Hi Andrew

AFAIK, there's no "lilypond mode" for Atom. Just a few packages, mainly 
syntax highlighters.


I've used Atom (and VS Code) for LilyPond projects in the last months, 
just because it has support for triggering automatic builds (Make, 
etc.). Frescobaldi doesn't have it yet:

https://github.com/wbsoft/frescobaldi/issues/1069
https://github.com/wbsoft/frescobaldi/projects/4





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


Re: note collision when in a chord there is a second above or below an unison

2019-01-13 Thread Davide Bonetti

Il 13/01/2019 00:46, Carl Sorensen ha scritto:


I think that Lilypond does the right thing.


Thank you for your opinion, but I think a collision is not a right thing.


There should never be a unison and a second in a chord.


I know that is not a very common situation. I'll show you two examples.

The notes of the Dsus4 chord on a ukulele are, in absolute notation:  g' 
d' g' a'


The resulting chord is:  ; as you can see, is a chord with 
a second above an unison.


The Ebsus4 chord has the following notes: as' es' as' bes' ; a second 
above an unison, both with accidentals.


In the cluster of whole notes without a stem, it seems harmless enough 
to move the notehead.  But if this same chord had a stem (e.g., 
half-note or shorter), you’d see that moving the notehead away to 
eliminate the collision also takes it away from the stem, which is 
musically wrong.


To properly show the notes in your example in a half-note chord, you 
will need two stems, which means you need two voices.  And if it is 
needed for half notes, it is also needed for whole notes, at least in 
my opinion.



Take a look at this examples, in the snippets:

http://lilypond.org/doc/v2.18/Documentation/snippets/simultaneous-notes#simultaneous-notes-displaying-complex-chords

To get what you want, you can manually move the note head with its 
associated accidentals.  I believe that is the proper approach, since 
it is inconsistent with standard engraving techniques.


Yes, I have found the solution for now, moving the note head and its 
associated accidentals.


I'd like however to know where in the code is the placement of the note 
in a chord, just to experiment.


regards

Davide


Sincerely,

Carl




---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi David,

I was able to downgrade. It fixed the problem. Many thanks. (The other
tool was autogen that pulled this experimental version.)

Am So den 13. Jan 2019 um 18:13 schrieb David Kastrup:
> Instead of having the touted 10% speed advantage of Gentoo,
> that slows down your version of LilyPond by about 400%.

I am impressed how fast lilypond is now!

Regards
   Klaus
- -- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlw7hecACgkQpnwKsYAZ
9qwsHwv8CFLCpJAiiuFHLqs0rFPpSBaYpNQ5Uan3xKn4T3vueYHbPpxVW+vl5piT
N0YBc4WtlMv2Hrdn5Ypie9hgu6uYbk7nWNMhHcC1MxSQpPG7+HbuLQq1guJy2o7V
ro3A24EprmkwG5pJSqSjUNl7aOifeTG19XJthmxLxLzQ1NGZ4MRLwSyePwpD404G
j7c6/rjeEwXYJhoJIh24upM8fb+40bzMTbkGLZWhPNs348hSneF8VQgPElJ/kCK7
oWZNRArKo3D9ye5sBEuaym8+eYqEiwTiaiyweHU5iEW0L0kDKKuPtcEYDFWmWcYk
ODrO1V+ObiTz2jeCp1s24ZDe6B7M65TxEm4KDSa2FJ9ZRWXceTXe0Xr12Yfx/swG
bbsT+PCkpdJgarAQdGe9HCHzSTMvCfaY3VEBFbPsZ7wd9ecg9fgTjY3HS3LWvj8f
EJwdE9q3+6a9OWw7oeIseBFK5D9Dp5Z/e/RovBs/UtBSZUmEpvz1bEzhxTL6qdDT
wHZO7evL
=zMwq
-END PGP SIGNATURE-

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


Re: Problem with german umlauts and with mapping text to notes

2019-01-13 Thread David Kastrup
Klaus Ethgen  writes:

> Hi,
>
> Am So den 13. Jan 2019 um 18:13 schrieb David Kastrup:
>> Yeah.  Somebody considered a good idea to override the defaults and
>> enable experimental Guile-2 support.
>
> Grml, that overwrite was necessary as other systems pulled in that
> guile2. And it seems to be that they are not be able to be installed in
> parallel.

LilyPond can work fine with a private Guile-1.x compilation (configured
with something like --prefix=/opt/guile-1.8 which let's "make install"
put all the stuff there instead of in system directories) as long as you
give the proper GUILE_CONFIG=/opt/guile-1.8/bin/guile-config invocation
to LilyPond's configure run.

>> So you are being part of an experiment.  Instead of having the touted
>> 10% speed advantage of Gentoo, that slows down your version of
>> LilyPond by about 400%.  It also gives you some pretty bad bugs.  But
>> then you noticed.
>
> Thanks for the hint. I did not know what guile is for until now.

It's the Scheme subsystem for LilyPond.

-- 
David Kastrup

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


Re: Ambitus per voice and Ez_numbers_engraver

2019-01-13 Thread Thomas Morley
Well, I'm still confused what you're after...

Am So., 13. Jan. 2019 um 13:43 Uhr schrieb Gloops :

> Hello Harm!
> Sorry, I did not express myself well!
> I want to go through "Ez_numbers_engraver_harm"
> to convert NoteHead to a number and display AmbitusNoteHead directly.
> I do not want (if possible) to go through "brew-ez-stencil" ...
> Gilles
>
> 
>
> 

>From the images, something like below?

#(define-public (note-head::brew-ez-no-head-stencil grob)
  (let* ((pitch (ly:event-property (event-cause grob) 'pitch))
 (pitch-index (ly:pitch-notename pitch))
 (note-names (ly:grob-property grob 'note-names))
 (pitch-string (if (and (vector? note-names)
(> (vector-length note-names) pitch-index))
   (vector-ref note-names pitch-index)
   (string
(integer->char
 (+ (modulo (+ pitch-index 2) 7)
(char->integer #\A))
 (staff-space (ly:staff-symbol-staff-space grob))
 (line-thickness (ly:staff-symbol-line-thickness grob))
 (font-size (ly:grob-property grob 'font-size 0))
 (radius (* (magstep font-size) (/ (+ staff-space line-thickness) 2)))
 (letter
   (make-fontsize-markup
 font-size
 (make-center-align-markup (make-vcenter-markup pitch-string)

(ly:stencil-translate-axis
 (grob-interpret-markup grob letter)
 radius
 X)))


#(define Ez_numbers_engraver_harm
   (make-engraver
(acknowledgers
 ((note-head-interface engraver grob source-engraver)
  (let* ((context (ly:translator-context engraver))
 (tonic-pitch (ly:context-property context 'tonic))
 (tonic-name (ly:pitch-notename tonic-pitch)))
(if (grob::has-interface grob 'ambitus-interface)
(let* ((details (ly:grob-property grob 'details))
   (ez-numbers (assoc-get 'ez-numbers details #f)))
  (if ez-numbers
  (ly:grob-set-property! grob 'after-line-breaking
(lambda (grob)
  (let* ((grob-pitch
  (ly:event-property (event-cause grob) 'pitch))
 (grob-name (ly:pitch-notename grob-pitch))
 (delta (modulo (- grob-name tonic-name) 7))
 (note-names
  (make-vector 7 (number->string (1+ delta
 (stencil-proc
   (assoc-get
 'stencil-proc
 details
 ;; fall-back:
 note-head::brew-ez-stencil)))
(ly:grob-set-property! grob 'note-names note-names)
(ly:grob-set-property! grob 'font-family 'sans)
(ly:grob-set-property! grob 'font-series 'bold)
(ly:grob-set-property! grob 'stencil
  (if (procedure? stencil-proc)
  (stencil-proc grob)
  point-stencil)))

(let* ((grob-pitch
(ly:event-property (event-cause grob) 'pitch))
   (grob-name (ly:pitch-notename grob-pitch))
   (delta (modulo (- grob-name tonic-name) 7))
   (note-names
(make-vector 7 (number->string (1+ delta)
  (ly:grob-set-property! grob 'note-names note-names

easyAmbitusHeadsOn = \override AmbitusNoteHead.details.ez-numbers = ##t

\score {
  \new Staff <<
\new Voice \with {

} \relative c'' {
\key f \major
  \override Ambitus.X-offset = #2.0
  \voiceOne
  \easyHeadsOn
  c4 a d e
  f2
}
\new Voice \with {

} \relative c' {
  \voiceTwo
  \easyHeadsOn
  es4 f g  as
  b1
}
  >>
  \layout {
ragged-right = ##t
\context {
  \Voice
  \consists \Ez_numbers_engraver_harm
  \consists "Ambitus_engraver"
%% Choose the font-size
  \override AmbitusNoteHead.font-size = -3
%% Choose the procedure to create the "ez-stencil"
%% Possible is currently:
%% note-head::brew-ez-no-head-stencil
%% or
%% note-head::brew-ez-stencil
%% Which is the fall-back as well (if details.stencil-proc is unset/commented)
%% An unsuitable setting here will result in point-stencil
  \override AmbitusNoteHead.details.stencil-proc =
#note-head::brew-ez-no-head-stencil
  \easyAmbitusHeadsOn
}
  }
}

HTH,
  Harm

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


Re: The composition process doesn't get disrupted using Lily Pond?

2019-01-13 Thread Caio Barros
Happy 2019

My workflow is the good old "write first on paper and then use lilypond".
Many times i have to figure out how to expand lilypond to notate something
different or outside traditional notation (thanks to anyone that helped me
before). Often I write a very ugly draft that makes sense only to me and
them use lilypond for the final version. I find that sometimes lilypond
helps me to find a notation solution that is easier to understand to a
trained musician because is closer to the notation we are accostumed.

Cheers
Caio
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Bounds of this piece aren't breakable

2019-01-13 Thread Andrew Bernard
Here's an error that has suddenly arisen in my score. I have no idea what
the cause is.

Frescobaldi output:

Starting lilypond 2.19.82 [piece-90-101.ly]...
Processing `/home/andro/work/lilypond/sq1/piece-90-101.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Interpreting music...
Preprocessing graphical objects...
Calculating line breaks...
Drawing systems...
Finding the ideal number of pages...
Fitting music on 8 or 9 pages...
Drawing systems...
programming error: bounds of this piece aren't breakable.
continuing, cross fingers
Layout output to `/tmp/lilypond-AXriV8'...
Converting to `piece-90-101.pdf'...
Deleting `/tmp/lilypond-AXriV8'...
Success: compilation successfully completed
Completed successfully in 9.0".

Without wanting to sound like whining, I can hardly say this error message
is helpful. No line number or context given as far as I can see. Running
lilypond with the verbose option gives nothing further.

Is anybody able to give me even the tiniest clue here? I cannot provide a
MWE at this time because I don't know how to isolate this in my large score.


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