Re:Lilypond for blind musicians

2014-02-14 Thread Martin Tarenskeen



On Thu, 13 Feb 2014, Marc Sabatella wrote:

ABC worked pretty well for us.  LilyPond would have worked just as well I'm 
sure; I just thought ABC would be easier for my student to learn.  If you've 
already invested some effort in learning LilyPond and feel comfortable with 
it, that's great - it shouldn't be that hard to figure out a way to get this 
running with or without a GUI.


One other advantage of ABC is that there are abc/musicxml converters 
(abc2xml, xml2abc) available that both work reasonably well already today. 
These are available as separate commandline tools, but also integrated in 
EasyABC.


--

MT

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


Re: Lilypond for blind musicians

2014-02-14 Thread claudio garanzini
Hi all! Thanks for your suggestions! Could you please give mee an
example of how to create a lilypond file from a midi file? I've read
the page Federico suggested but it's a bit complicated for mee. So, if
I'm right, I would write, for example: midi2ly thenb the name of my
midi file. But I don't understand in what directory have I to be for
this operation!
Have I to specify a name for my converted file?
Sorry for all my questions, guys!
Thanks again for all your help!
Bye for now.

Claudio

2014-02-13 23:02 GMT+01:00, Federico Bruni fedel...@gmail.com:
 2014-02-13 13:46 GMT+01:00 Claudio Garanzini claudiogaranz...@gmail.com:

   Hi all!
 I have some little questiosn for you guys:
 Are there any  blind musician or composer that'' use lilypond regularly?


 I think there are a few in this list. It would be nice if they shared their
 experience here so we might add some tips to the documentation.


 Is there a software like Frescobaldi but more accessible using NVDA as my
 default screen reader?
 I've tryed Frescobaldi but simply can't use it because of it's complete
 inaccessibility, at least for me.


 I don't have any experience in this subject and I don't know how
 Frescobaldi could be improved to work better on a screen reader. I don't
 even know if it can work fine with any screen reader or operating system.
 You may try asking on frescobaldi group or opening an issue in the tracker:
 https://groups.google.com/forum/#!forum/frescobaldi
 https://github.com/wbsoft/frescobaldi/issues?state=open

 Have you ever considered trying Linux?
 Here you can find some information on Orca, the default screen reader of
 the Gnome desktop:
 https://wiki.gnome.org/Projects/Orca/FrequentlyAskedQuestions

 You may first try a live cd, to test it without installing:
 https://help.ubuntu.com/community/LiveCD



 Could you tell mee how to use midi2ly converter?
 Have I to put it in my midi folder for its use?


 You should use the command line. Please read this page and let us know if
 you have any problem:
 http://lilypond.org/doc/v2.19/Documentation/usage/invoking-midi2ly


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


Overriding staff-padding for MeasureCounter fails

2014-02-14 Thread Ed Gordijn

Hi,

I tried to align the numbers of the MeasureCounter engraver but the 
override doesn't have effect. Is this a bug or am I doing something 
wrong here?


Greetings, Ed


\version 2.18.0

{
  \override Staff.MeasureCounter.staff-padding = #4
  \startMeasureCount
  \repeat percent 4 { g''4 g'' g'' g'' }
  \stopMeasureCount
}

\layout {
  \context {
\Staff
\consists #Measure_counter_engraver
% \override MeasureCounter.staff-padding = #4  % doesn't work either
  }
}

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


Re: Lilypond for blind musicians

2014-02-14 Thread Martin Tarenskeen


On Fri, 14 Feb 2014, claudio garanzini wrote:


 Hi all! Thanks for your suggestions! Could you please give mee an
 example of how to create a lilypond file from a midi file? I've read
 the page Federico suggested but it's a bit complicated for mee. So, if
 I'm right, I would write, for example: midi2ly thenb the name of my
 midi file. But I don't understand in what directory have I to be for
 this operation!


midi2ly should be in a directory that is listed in your system's PATH 
environment variable. Then it will always be found wherever you are. (I am not 
a Windows user. Does the LilyPond installer for Windows take care of this 
automatically?)


your source file can be anywhere if you call it with a complete pathname, but 
easiest is when it is in your current directory where you can call it with just 
the filename. Even without .ly it will work.


you can provide an output name with the -o option

If you don't use the -o option, midi2ly will automatically generate a 
destination filename from the source file.


BTW: the most important commandline option to start with is probably -h.
Try
 midi2ly -h


--

MT

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


Re: Lilypond for blind musicians

2014-02-14 Thread Phil Holmes
- Original Message - 
From: Martin Tarenskeen m.tarensk...@zonnet.nl

To: lilypond-user mailinglist lilypond-user@gnu.org
Sent: Friday, February 14, 2014 11:14 AM
Subject: Re: Lilypond for blind musicians




On Fri, 14 Feb 2014, claudio garanzini wrote:


 Hi all! Thanks for your suggestions! Could you please give mee an
 example of how to create a lilypond file from a midi file? I've read
 the page Federico suggested but it's a bit complicated for mee. So, if
 I'm right, I would write, for example: midi2ly thenb the name of my
 midi file. But I don't understand in what directory have I to be for
 this operation!


midi2ly should be in a directory that is listed in your system's PATH 
environment variable. Then it will always be found wherever you are. (I am 
not a Windows user. Does the LilyPond installer for Windows take care of 
this automatically?)


No - it used to, but this caused problems for users with multiple versions.

your source file can be anywhere if you call it with a complete pathname, 
but easiest is when it is in your current directory where you can call it 
with just the filename. Even without .ly it will work.


you can provide an output name with the -o option

If you don't use the -o option, midi2ly will automatically generate a 
destination filename from the source file.


BTW: the most important commandline option to start with is probably -h.
Try
 midi2ly -h


c:\Program Files (x86)\LilyPond\usr\bin\midi2ly

is likely to be the correct command line on a standatd windows install

--
Phil Holmes 



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


Re: Lilypond for blind musicians

2014-02-14 Thread Claudio Garanzini

Hi all!
Just to let you know that midi2ly seems not to work for mee.
When I try to invoche it I have a message saying midi2ly is not a valid 
command or an executable a batch file.

If someone uses windows7 and would like to help mee
Thanks a lot.
Bye for now!

-Messaggio originale- 
From: Martin Tarenskeen

Sent: Friday, February 14, 2014 12:13 PM
To: claudio garanzini
Subject: Re: Lilypond for blind musicians



On Fri, 14 Feb 2014, claudio garanzini wrote:


Hi all! Thanks for your suggestions! Could you please give mee an
example of how to create a lilypond file from a midi file? I've read
the page Federico suggested but it's a bit complicated for mee. So, if
I'm right, I would write, for example: midi2ly thenb the name of my
midi file. But I don't understand in what directory have I to be for
this operation!


midi2ly should be in a directory that is listed in your system's PATH
environment variable. Then it will always be found wherever you are. (I am
not a Windows user. Does the LilyPond installer for Windows take care of
this automatically?)

your source file can be anywhere if you call it with a complete pathname,
but easiest is when it is in your current directory where you can call it
with just the filename. Even without .ly it will work.

you can provide an output name with the -o option

If you don't use the -o option, midi2ly will automatically generate a
destination filename from the source file.

BTW: the most important commandline option to start with is probably -h.
Try
 midi2ly -h


--

MT 



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


Re: Lilypond for blind musicians

2014-02-14 Thread Phil Holmes
- Original Message - 
From: Claudio Garanzini claudiogaranz...@gmail.com

To: lilypond lilypond-user@gnu.org
Sent: Friday, February 14, 2014 12:21 PM
Subject: Re: Lilypond for blind musicians



Hi all!
Just to let you know that midi2ly seems not to work for mee.
When I try to invoche it I have a message saying midi2ly is not a valid 
command or an executable a batch file.

If someone uses windows7 and would like to help mee
Thanks a lot.
Bye for now!



Have you seen my earlier reply with a longer command line pointing to 
midi2ly?


--
Phil Holmes 



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


Re: Overriding staff-padding for MeasureCounter fails

2014-02-14 Thread David Nalesnik
Hi,


On Fri, Feb 14, 2014 at 3:33 AM, Ed Gordijn ed.klari...@gmail.com wrote:

 Hi,

 I tried to align the numbers of the MeasureCounter engraver but the
 override doesn't have effect. Is this a bug or am I doing something wrong
 here?

 Greetings, Ed


 \version 2.18.0

 {
   \override Staff.MeasureCounter.staff-padding = #4
   \startMeasureCount
   \repeat percent 4 { g''4 g'' g'' g'' }
   \stopMeasureCount
 }

 \layout {
   \context {
 \Staff
 \consists #Measure_counter_engraver
 % \override MeasureCounter.staff-padding = #4  % doesn't work either
   }
 }


Huh--that's strange.  This will involve some investigation to get at the
cause, determine if there's a bug.

Anyway, overriding outside-staff-padding instead should give you what you
want:

\override Staff.MeasureCounter.outside-staff-padding = #4

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


Re: Ottava

2014-02-14 Thread Ed Gordijn

Hi Joram,


Text positioning:
- \super does not look good, therefore \raise
- the raise value of 0.7 depends on the font, is there a way to align
   the top boundaries of the 8 and the va?


If you want it completely independent of the font I think you could use 
this:


\version 2.18.0


#(define-markup-command (TopAlign layout props arg)

(markup?)

(let* ((mol (interpret-markup layout props arg)))

(ly:stencil-aligned-to mol Y 1)))


\markup \huge \bold \concat {\TopAlign 8 \TopAlign \tiny va}



Greetings, Ed
\version 2.18.0

#(define-markup-command (TopAlign layout props arg)
  (markup?)
  (let* ((mol (interpret-markup layout props arg)))
(ly:stencil-aligned-to mol Y 1)))

ottavaa = {
  \ottava 1
  \set Staff.ottavation = \markup \bold \concat {\TopAlign 8  \tiny \TopAlign
va }
}

ottavab = {
  \ottava -1
  \set Staff.ottavation = \markup \bold \concat{ 8 \tiny vb }
}

ottavac = {
  \ottava 2
  \set Staff.ottavation = \markup \bold \concat{\TopAlign 15 \tiny \TopAlign
ma }
}

ottavad = {
  \ottava -2
  \set Staff.ottavation = \markup \bold \concat{ 15 \tiny mb }
}

ottavae = {
  \ottava 3
  \set Staff.ottavation = \markup \bold \concat{\TopAlign 22 \tiny \TopAlign
ma }
}



  \new Staff \relative c''' {
\ottava #1 a a
\ottava #-1 a,, a
\ottava #2 a''' a
\ottava #-2 a a
\ottava #3 a' a
  }
  \new Staff \relative c''' {
\ottavaa a a
\ottavab a,, a
\ottavac a''' a
\ottavad a a
\ottavae a' a
  }

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


Re: Overriding staff-padding for MeasureCounter fails

2014-02-14 Thread Ed Gordijn

Hi David,

Huh--that's strange.  This will involve some investigation to get at 
the cause, determine if there's a bug.


Anyway, overriding outside-staff-padding instead should give you what 
you want:


\override Staff.MeasureCounter.outside-staff-padding = #4


This has effect but the numbers don't align. The padding is relative to 
the notes as well.


Greetings, Ed

attachment: bug measurecounter.png\version 2.18.0

{
  %\override Staff.MeasureCounter.staff-padding = #4  doesn't work
  \override Staff.MeasureCounter.outside-staff-padding = #2
  % \override Staff.MeasureCounter.count-from = #2 %this works
  \startMeasureCount
  \repeat percent 4 { g''4 g'' g'' g'' }
  \stopMeasureCount
}

\layout {
  \context {
\Staff
\consists #Measure_counter_engraver
% \override MeasureCounter.staff-padding = #4  % doesn't work either
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Overriding staff-padding for MeasureCounter fails

2014-02-14 Thread David Nalesnik
Hi Ed,


On Fri, Feb 14, 2014 at 8:05 AM, Ed Gordijn ed.klari...@gmail.com wrote:

 Hi David,


  Huh--that's strange.  This will involve some investigation to get at the
 cause, determine if there's a bug.

 Anyway, overriding outside-staff-padding instead should give you what you
 want:

 \override Staff.MeasureCounter.outside-staff-padding = #4


 This has effect but the numbers don't align. The padding is relative to
 the notes as well.


True.  In that case your best bet its to use a Dynamics context:



\version 2.18.0

 \layout {

  \context {

\Dynamics

\consists #Measure_counter_engraver

% to control the distance of the Dynamics context from the staff:

\override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #4

  }

}


 

  \new Dynamics {

\startMeasureCount

s1*4

\stopMeasureCount

  }

  \new Staff {

\repeat percent 4 { g''4 g'' g'' g'' }

  }







(Based on Centered measure numbers
http://www.lilypond.org/doc/v2.19/Documentation/snippets/repeats)


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


Re: \context \voice override previous \context voice

2014-02-14 Thread Eluze
MING TSANG wrote
 I try to combine two includes into one and I encounter the last \context
 \voice  override previous \context \voice.  

that's expected behavior.

 I am expecting soprano voice has EzNum encoded and alto voice has EzSol
 encoded.   Is is feasible to do this in lilypond?

you can use a specific engraver in each voice with

  \new Voice = sop \with { \consists \Ez_numbers-engraver }

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/context-voice-override-previous-context-voice-tp159286p159288.html
Sent from the User mailing list archive at Nabble.com.

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


Re: \context \voice override previous \context voice

2014-02-14 Thread MING TSANG
MING TSANG wrote
I try to combine two includes into one and I encounter the last \context 
\voice  override previous \context \voice.   that's expected behavior. I 
am expecting soprano voice has EzNum encoded and alto voice has EzSol 
encoded.   Is is feasible to do this in lilypond? you can use a specific 
engraver in each voice with   \new Voice = sop \with { \consists 
\Ez_numbers-engraver } Eluze 
It works. Thank you Eluze.
Is it possible to combine the 2 Ez-number-engraver % Ez_solfege-engraver into 
one?
Emmanuel,
Ming. 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypond-user Digest, Vol 135, Issue 60

2014-02-14 Thread Erik Linde
Hey David,

-danti-alias-factor looks great - thanks for the suggestion - but I believe
it won't work for (extremely) large, transparent images...  Unless
Ghostscript is called with the option -dMaxBitmap=2147483647 (or similar)
from within LilyPond. The reason is that without that option set,
Ghostscript will revert to the png16m device (rather than the pngalpha
device) for extremely large images, presumably because of memory reasons...
and with png16m instead of pngalpha I will loose the transparency, which I
don't want to...

If Ghostscript was run with this dMaxBitmap option automatically, then I
think it would work, or if I was able to specify this option somehow during
lilypond runtime? Is that possible?

Cheers,

Erik

PS: Pasting the previous discussion regarding GS / pngalpha / png16m for
reference.



Regarding how to create large, transparent scores:

When the images you output are reasonably small, 'lilypond... --png ...
-dpixmap-format=pngalpha ' successfully generates the transparent
images. Once the images surpass a certain size however, transparency seems
to fail, and the .png images come out with a white background.

If you run the following lilypond command: 'lilypond --png -dresolution=100
-dpixmap-format=pngalpha --ps --verbose x.ly'

and look at the bottom of the log, you can see the actual Ghostscript
command called by Lilypond used to create the .png. It is going to look
something like this:

gs  -dDEVICEWIDTHPOINTS=37533.99 -dDEVICEHEIGHTPOINTS=2160.00
-dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dNOPAUSE -sDEVICE=pngalpha
-sOutputFile=./x.png -r100 x.ps -c quit

As you can see it is correctly using the device 'pngalpha' in order to
generate the transparent image. The problem seems to be that - upon
inspecting the logs - Ghostscript reverts to the device png16m instead,
which is unable to generate a transparent image.

The way to fix this is to tweak the memory usage options for Ghostscript,
specifically by adding the option '-dMaxBitmap=2147483647' to the
Ghostscript command, as in the following snippet:

gs  -dDEVICEWIDTHPOINTS=37533.99 -dDEVICEHEIGHTPOINTS=2160.00 -dMaxBitmap=
2147483647 -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dNOPAUSE
-sDEVICE=pngalpha -sOutputFile=./x.png -r100 x.ps -c quit

This allocates more memory to Ghostscript and makes it correctly use the
pngalpha device, and thus correctly output a transparent image. If you have
a 64 bit machine perhaps you can extend it further. It should also be
possible to rebuild lilypond from source and compile it with this option
baked in, but I haven't tried that

Perhaps this information helps someone trying to create large, transparent
images in LilyPond!

On Fri, Feb 14, 2014 at 1:38 AM, David Kastrup d...@gnu.org wrote:

 Erik Linde erik.li...@gmail.com writes:

  Hey Chris / David,
 
  Adding the --png option when you run your lilypond command works fine (as
  David stated)... Also, you may want to set the -dresolution parameter to
  something high like 300 (DPI) to get a good resolution. Or even set it to
  600, and then shrink it to 300DPI using some image processing software
 such
  as Photoshop or ImageMagick / GraphicMagick to achieve an even better
  anti-aliasing effect.

 Why would you do that manually rather than using the
 -danti-alias-factor=2 option?

 --
 David Kastrup

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


Re: Horizontalized scores

2014-02-14 Thread Janek Warchoł
2014-02-14 1:43 GMT+01:00 Chris Crossen ch...@crossen.net:

 What's wrong with lilypond --png here?

 I can't get good looking images from --png. I may not have found the right
 combination of parameters yet.

I suggest to try strokeadjust option if you haven't already.

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


RE: Horizontalized scores

2014-02-14 Thread Chris Crossen
 From: Janek Warchoł [mailto:janek.lilyp...@gmail.com]
 Sent: Friday, February 14, 2014 9:47
 To: Chris Crossen
 Cc: David Kastrup; Chris Crossen; LilyPond Users
 Subject: Re: Horizontalized scores
 
 2014-02-14 1:43 GMT+01:00 Chris Crossen ch...@crossen.net:
 
  What's wrong with lilypond --png here?
 
  I can't get good looking images from --png. I may not have found the
  right combination of parameters yet.
 
 I suggest to try strokeadjust option if you haven't already.

Could someone suggest a good set of options for generating .png files that I 
can use as a starting point for experimentation?



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


Re: Best practice for dynamics position on SATB hymn with chords

2014-02-14 Thread Yann
My usual layout when typesetting hymns is a ChoirStaff, with SA-TB
voices, main lyrics printed between staves, ...
I was wondering, what is the best practice for positioning the
dynamics ? Above or below the staves ? Should them be printed only
once for all the ChoirStaff, or for each staff?

 Gould says (p 465, under Choral writing):
 _Dynamics, expression marks and technical instructions_: place these
 above each individual stave so that each singer can see them
 immediately (avoid a single instruction above the top stave, as this
 will most certainly be overlooked).

 and (p 468):
 Two-stave SATB layout
 Place dynamics and expression marks above the treble stave and below
 the bass stave, to apply to both voices on each stave.

 Brian Barker

Thank you for your detailed and documented answer. I guess the first
case is for 4 staves choral layout, so the dynamics don't collide or
interfere with lyrics.

I was thinking of doing something similar to what is described in the
second case. For the bass staff, I can place dynamics below, and hope
it won't be a problem if there are some echo lyrics (that will go
below the staff as well).
For the treble staff, I was wondering, won't it be confusing, as there
are chord names above it as well ?
Would it be enough if I put dynamics only once below the ChoirStaff ?

Yann

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


Re: Best practice for dynamics position on SATB hymn with chords

2014-02-14 Thread Phil Holmes
- Original Message - 
From: Yann yann@free.fr

To: Lilypond-User Mailing List lilypond-user@gnu.org
Sent: Friday, February 14, 2014 6:16 PM
Subject: Re: Best practice for dynamics position on SATB hymn with chords



My usual layout when typesetting hymns is a ChoirStaff, with SA-TB
voices, main lyrics printed between staves, ...
I was wondering, what is the best practice for positioning the
dynamics ? Above or below the staves ? Should them be printed only
once for all the ChoirStaff, or for each staff?


Gould says (p 465, under Choral writing):
_Dynamics, expression marks and technical instructions_: place these
above each individual stave so that each singer can see them
immediately (avoid a single instruction above the top stave, as this
will most certainly be overlooked).

and (p 468):
Two-stave SATB layout
Place dynamics and expression marks above the treble stave and below
the bass stave, to apply to both voices on each stave.

Brian Barker


Thank you for your detailed and documented answer. I guess the first
case is for 4 staves choral layout, so the dynamics don't collide or
interfere with lyrics.

I was thinking of doing something similar to what is described in the
second case. For the bass staff, I can place dynamics below, and hope
it won't be a problem if there are some echo lyrics (that will go
below the staff as well).
For the treble staff, I was wondering, won't it be confusing, as there
are chord names above it as well ?
Would it be enough if I put dynamics only once below the ChoirStaff ?

Yann



Why are there chord names above the vocal score?  As a singer, I would find 
that very unhelpful.  Why not just lose them for the vocal part?


--
Phil Holmes 



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


Re: Horizontalized scores

2014-02-14 Thread Noeck
 What's wrong with lilypond --png here?

 I can't get good looking images from --png. I may not have found the
 right combination of parameters yet.

 I suggest to try strokeadjust option if you haven't already.
 
 Could someone suggest a good set of options for generating .png files that I 
 can use as a starting point for experimentation?

I was quite happy with:

lilypond --png -danti-alias-factor=10 -dresolution=300 file.ly

An anti-alias-factor of 2 is not enough, IMHO. I don’t know other
options. “strokeadjust” that Janek mentions is only documented for
version 2.19 usage manual:
http://www.lilypond.org/doc/v2.19/Documentation/usage/command_002dline-usage.html

Cheers,
Joram


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


Lines and Ties and Slurs oh my!

2014-02-14 Thread steve

 Howdy!

  It is well known that Ties and Slurs are problematic in LilyPond
2.18.0. As can be seen by
a simple example from my project Goldberg Variations for Guitar Ensemble
variation 22

 http://www.gooeytar.com/projects/BWV-988/test/test.orig.pdf

 Notice that Ties in bar 1 are different than Ties in bar 2 or bar
4 or bar 7. Termination
 of the Tie is not consistent.

  So first we need to ask the question: How should Ties be drawn?
Specifically
where should the Tie terminate relative to the notehead?

  Ties in bar 1 and bar 3 terminates at the inside upper corner
of the notehead. Ties in
bar 4 and 7, terminate above / below and in the middle of the notehead.
Which is
correct?

 My understanding is that the Ties in bar 1 and 3 are correct.
Slurs should
terminate in the middle of the note to distinguish between Ties. Is that the
consensus with Lilypond users / dev?

 Is there a general fix for this across the broad section of
examples?

One solution is to use \shape to fix individual Ties. If I define
a couple of
macros

 * to fix ties in bar 4, 13  (TieDown_stemsUpUp)
TDUUa = \shape #'((0.6 . 0.4)(0 . 0.6)(0 . 0.6)(-0.6 . 0.4)) Tie

* to fix ties in bar 7 (TieUp_stemsDownDown)
TUDDa =  \shape #'((0.6 . -0.2)(0 . -0.3)(0 . -0.3)(-0.6 . -0.2)) Tie


   The results of the above can be seen here

http://www.gooeytar.com/projects/BWV-988/test/test.pdf

   Are they correct now? Is there another better way to deal with this?

   It is certainly possible to go through the 100+ or so bad Ties
manually and I expect
that there are simple fixes like the above that will correct common
categories
of bad Ties; for example all Ties between notes that are on upper ledger
lines with
stems down are drawn incorrectly with termination in the middle of the
notehead (like a slur).
Some preliminary testing has led me to conclude that the same fix (like
above) may typically
fix the same situation regardless of the length of the Tie or the value of
the notes

   Is there a way to integrate this heuristic into the main code so
that most manual
tweaking is not needed?

  Or is there another better approach that can be used for issue?

  thanx - steve






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


Goldberg Variations for Guitar Ensemble

2014-02-14 Thread steve
Howdy!

As per Janek's suggestion, I would like to announce my LilyPond
project, the transcription and engraving of J. S. Bach's  Goldberg
Variations  BWV 988 for
Guitar Ensemble.

http://www.gooeytar.com/projects/BWV-988/

   The basics are mostly finished, and what remains is the fixing up
of a few lilypond issues,
fixing ties etc or whatever suggestions for improvement this forum and
its experience can provide.

  I have an idea of how to approach the issue of ties and will
elaborate in
another post.

-steve







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


Re: Best practice for dynamics position on SATB hymn with chords

2014-02-14 Thread Yann
 Why are there chord names above the vocal score?  As a singer, I would find
 that very unhelpful.  Why not just lose them for the vocal part?

 --
 Phil Holmes

This is for a hymn book project; the hymns are harmonised 4 voices,
but a requirement is that chords should appear as well, so guitar
players that are used to it can play an accompaniment for the
assembly. So eventhough I produce a lead sheet (melody, lyrics and
chords) as well, I think it is a good thing to have the chords also on
the assembly score.

Yann

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


Re: Lines and Ties and Slurs oh my!

2014-02-14 Thread Urs Liska

Am 14.02.2014 22:01, schrieb st...@linuxsuite.org:


  Howdy!

   It is well known that Ties and Slurs are problematic in LilyPond
2.18.0. As can be seen by
a simple example from my project Goldberg Variations for Guitar Ensemble
variation 22

  http://www.gooeytar.com/projects/BWV-988/test/test.orig.pdf

  Notice that Ties in bar 1 are different than Ties in bar 2 or bar
4 or bar 7. Termination
  of the Tie is not consistent.

   So first we need to ask the question: How should Ties be drawn?
Specifically
where should the Tie terminate relative to the notehead?

   Ties in bar 1 and bar 3 terminates at the inside upper corner
of the notehead. Ties in
bar 4 and 7, terminate above / below and in the middle of the notehead.
Which is
correct?

  My understanding is that the Ties in bar 1 and 3 are correct.
Slurs should
terminate in the middle of the note to distinguish between Ties. Is that the
consensus with Lilypond users / dev?

  Is there a general fix for this across the broad section of
examples?

 One solution is to use \shape to fix individual Ties. If I define
a couple of
macros

  * to fix ties in bar 4, 13  (TieDown_stemsUpUp)
TDUUa = \shape #'((0.6 . 0.4)(0 . 0.6)(0 . 0.6)(-0.6 . 0.4)) Tie

 * to fix ties in bar 7 (TieUp_stemsDownDown)
TUDDa =  \shape #'((0.6 . -0.2)(0 . -0.3)(0 . -0.3)(-0.6 . -0.2)) Tie


The results of the above can be seen here

http://www.gooeytar.com/projects/BWV-988/test/test.pdf

Are they correct now? Is there another better way to deal with this?

It is certainly possible to go through the 100+ or so bad Ties
manually and I expect
that there are simple fixes like the above that will correct common
categories
of bad Ties; for example all Ties between notes that are on upper ledger
lines with
stems down are drawn incorrectly with termination in the middle of the
notehead (like a slur).
Some preliminary testing has led me to conclude that the same fix (like
above) may typically
fix the same situation regardless of the length of the Tie or the value of
the notes

Is there a way to integrate this heuristic into the main code so
that most manual
tweaking is not needed?

   Or is there another better approach that can be used for issue?

   thanx - steve


This is at least something:

http://lilypondblog.org/2014/01/engraving-statistics-slurs-and-ties/
http://lilypondblog.org/2013/11/engraving-challenges-slurs-and-ties/
http://lilypondblog.org/2013/08/tie-crusade-round-2/
http://lilypondblog.org/2013/07/lilypond-tie-crusade/

HTH
Urs








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




--
Urs Liska
www.openlilylib.org

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


Re: Goldberg Variations for Guitar Ensemble

2014-02-14 Thread Pierre Perol-Schneider
Steve this absolutely wonderfull news !
What a great job !!
Many thanks for posting,

Pierre


2014-02-14 20:52 GMT+01:00 st...@linuxsuite.org:

 Howdy!

 As per Janek's suggestion, I would like to announce my LilyPond
 project, the transcription and engraving of J. S. Bach's  Goldberg
 Variations  BWV 988 for
 Guitar Ensemble.

 http://www.gooeytar.com/projects/BWV-988/

The basics are mostly finished, and what remains is the fixing up
 of a few lilypond issues,
 fixing ties etc or whatever suggestions for improvement this forum and
 its experience can provide.

   I have an idea of how to approach the issue of ties and will
 elaborate in
 another post.

 -steve







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

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


Re: frescobaldi macports broken after update

2014-02-14 Thread Tim McNamara
Updating proceeded normally and double-clicking a .ly file in the Finder 
launches Frescobaldi and loads the file, so that bug seems squashed.  
Unfortunately now I no longer have the side-by-side view of the .ly file and 
the .pdf file.  I can’t for the life of me figure out how that happened or how 
to get it back.



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


Re: Goldberg Variations for Guitar Ensemble

2014-02-14 Thread Noeck


Am 14.02.2014 20:52, schrieb st...@linuxsuite.org:
 Howdy!
 
 As per Janek's suggestion, I would like to announce my LilyPond
 project, the transcription and engraving of J. S. Bach's  Goldberg
 Variations  BWV 988 for
 Guitar Ensemble.
 
 http://www.gooeytar.com/projects/BWV-988/

Hi Steve,

that’s very nice. Depending on your personal taste, you might consider
these tweaks for the octavated treble clefs:

\override Staff.ClefModifier.extra-offset = #'(-0.3 . 0.07)
\override Staff.ClefModifier.font-series = #'bold

Cheers,
Joram

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


Re: frescobaldi macports broken after update

2014-02-14 Thread Davide Liessi
Dear Tim,

2014-02-14 23:35 GMT+01:00 Tim McNamara tim...@bitstream.net:
 Unfortunately now I no longer have the side-by-side view of the .ly file and 
 the .pdf file.  I can’t for the life of me figure out how that happened or 
 how to get it back.

Maybe you just need to enable Music View in the Tools menu.
However I don't know why it could have been deactivated.

Let me know if you need further help.
Best wishes.
Davide

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


Re: Lines and Ties and Slurs oh my!

2014-02-14 Thread Eluze
steve-166 wrote
 Howdy!
 
   It is well known that Ties and Slurs are problematic in LilyPond
 2.18.0. As can be seen by
 a simple example from my project Goldberg Variations for Guitar Ensemble
 variation 22

hi steve!

can you please point to the problematic tie or slur directly in the sense of
a tiny example!?

thanks!
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Lines-and-Ties-and-Slurs-oh-my-tp159306p159315.html
Sent from the User mailing list archive at Nabble.com.

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


warning: no heads for arpeggio found?

2014-02-14 Thread MING TSANG
I compile the following lily code:
\version 2.19.2
left= \relative c''{ \clef treble a2.\arpeggio }

\new Staff = left \with {
} { \clef bass \left } 


And I got warning message and no arpeggio shown on pdf.

Starting lilypond-windows.exe 2.19.2 [test_no-head-arpeggio.ly]...
Processing 
`C:/Users/Tsang/Dropbox/Lyndon/LiLy/jesus-love-you/test_no-head-arpeggio.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
C:/Users/Tsang/Dropbox/Lyndon/LiLy/jesus-love-you/test_no-head-arpeggio.ly:4:42:
 warning: no heads for arpeggio found?
left= \relative c''{ \clef treble a2.
\arpeggio }
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test_no-head-arpeggio.ps'...
Converting to `./test_no-head-arpeggio.pdf'...
Success: compilation successfully completed
Completed successfully in 1.2.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: warning: no heads for arpeggio found?

2014-02-14 Thread Kieren MacMillan
Hi Ming,

Arpeggios require chords.
It is sufficient to make it a one-note chord: a2.\arpeggio

Hope this helps!
Kieren.

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


Re: combine codes

2014-02-14 Thread David Nalesnik
Hi Ming,


On Fri, Feb 14, 2014 at 4:09 PM, MING TSANG tsan...@rogers.com wrote:

 As the sample from David Nalesnik that combine three set of variables into
 one, I try to do the same to combine two sets into one.  I have problem to
 let the combine code to recognize a list that is to be passed to the
 variable.


See attached.

HTH,
David
\version 2.18


#(define solfege (circular-list d r m f s l t))
#(define numbers (circular-list 1 2 3 4 5 6 7))


#(define (Ez_noteheads-engraver lst )

   (list
(cons 'acknowledgers
  (list
   (cons 'note-head-interface
 (lambda (engraver grob source-engraver)
   (let* ((context (ly:translator-context engraver))
  (tonic-pitch (ly:context-property context 'tonic))
  (tonic-name (ly:pitch-notename tonic-pitch))
  (delta (- 7 tonic-name))
  (solfege-base lst)
  (solfege (take (drop solfege-base delta) 7))
  (note-names (apply vector solfege)))
 ; (display solfege)(newline)
 (ly:grob-set-property! grob 'note-names
   note-names



EzON = {
  \easyHeadsOn
  \override Staff.StaffSymbol.staff-space = #1.5  
  \override Staff.StaffSymbol.line-thickness = #1.5  
  \override Staff.NoteHead.font-size = #+3.25  
  \override Staff.Clef.font-size = #+1.35  
  \override Staff.TimeSignature.font-size = #+1.35  
  \override Staff.Accidental.font-size = #+1.35  
  \override Voice.NoteHead.font-size = #-5.25  
}


EzNum = \with { \consists #(Ez_noteheads-engraver numbers ) }

EzSol = \with { \consists #(Ez_noteheads-engraver solfege   )  } 
  

% {

global = {  \key c\major \time 4/4 }

muxI = \relative c'' { \global  
 c1 d2 e2 f4 g4 a8 b8 r4 \break
 \key f\major f1 g2 a2 b4 c4 d8 e8 r4  
}

muxII = \relative c'  { \global  
 c1 d2 e f4 g a8 b8 r4 
 \key f\major f1 g2 a  b4 c  d8 e8 r4 

}


\score {
   
  \new Staff 

 \new Voice = sop \EzNum
 { \voiceOne \EzON  \muxI }
 \new Voice = alt \EzSol
 { \voiceTwo \EzON  \muxII }

  \layout {  }
}
%}


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


Re: warning: no heads for arpeggio found?

2014-02-14 Thread MING TSANG
rpeggio.ly:4:46: warning: no heads for arpeggio found?
left= \relative c''{ \clef treble  a 2.
\arpeggio }

I got the same warning message and no arprggio on pdf.
Emmanuel,
Ming



On Friday, February 14, 2014 9:26:06 PM, Kieren MacMillan 
kieren_macmil...@sympatico.ca wrote:
 
Hi Ming,

Arpeggios require chords.
It is sufficient to make it a one-note chord: a2.\arpeggio

Hope this helps!
Kieren.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: combine codes

2014-02-14 Thread MING TSANG
David,
Wonderfull! Thank you very much.
Emmanuel,
Ming



On Friday, February 14, 2014 9:44:31 PM, David Nalesnik 
david.nales...@gmail.com wrote:
 
Hi Ming,



On Fri, Feb 14, 2014 at 4:09 PM, MING TSANG tsan...@rogers.com wrote:

As the sample from David Nalesnik that combine three set of variables into one, 
I try to do the same to combine two sets into one.  I have problem to let the 
combine code to recognize a list that is to be passed to the variable.  

See attached.

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


Re: warning: no heads for arpeggio found?

2014-02-14 Thread Shane Brandes
The arpeggio has to arpeggiate to something else Kieren's suggestion
will only help if there are multiple voice that get arpeggiated
together. I hope that makes sense to you. In any event it is not
possible to arpeggiate just a single tone.

Shane

On Fri, Feb 14, 2014 at 9:56 PM, MING TSANG tsan...@rogers.com wrote:
 rpeggio.ly:4:46: warning: no heads for arpeggio found?
 left = \relative c''{ \clef treble  a 2.
 \arpeggio }

 I got the same warning message and no arprggio on pdf.
 Emmanuel,
 Ming


 On Friday, February 14, 2014 9:26:06 PM, Kieren MacMillan
 kieren_macmil...@sympatico.ca wrote:
 Hi Ming,

 Arpeggios require chords.
 It is sufficient to make it a one-note chord: a2.\arpeggio

 Hope this helps!
 Kieren.




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


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


Re: Overriding staff-padding for MeasureCounter fails

2014-02-14 Thread Keith OHara
David Nalesnik david.nalesnik at gmail.com writes:

 On Fri, Feb 14, 2014 at 3:33 AM, Ed Gordijn ed.klarinet at gmail.com 
wrote:Hi,
     % \override MeasureCounter.staff-padding = #4  % doesn't work either
 
 Huh--that's strange.  This will involve some investigation to get at the 
cause, determine if there's a bug.

The code that implements staff-padding is used only when requested with

 \override MeasureCounter #'Y-offset = 
   #side-position-interface::y-aligned-side



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


Re: frescobaldi macports broken after update

2014-02-14 Thread Tim McNamara

On Feb 14, 2014, at 5:36 PM, Davide Liessi davide.lie...@gmail.com wrote:

 Dear Tim,
 
 2014-02-14 23:35 GMT+01:00 Tim McNamara tim...@bitstream.net:
 Unfortunately now I no longer have the side-by-side view of the .ly file and 
 the .pdf file.  I can’t for the life of me figure out how that happened or 
 how to get it back.
 
 Maybe you just need to enable Music View in the Tools menu.
 However I don't know why it could have been deactivated.

That produces a new full-screen window with the music in it, floating over the 
window with the .ly file in it.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user