RE: repeats and alternatives

2010-12-29 Thread James Lowe
Hello,




From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Mark 
Polesky [markpole...@yahoo.com]
Sent: 04 December 2010 23:03
To: James Bailey; Neil Puttock
Cc: lilypond-user Mailinglist
Subject: Re: repeats and alternatives

Neil Puttock wrote:
 In your first example, LilyPond sees three blocks of music
 inside \alternative since there's an isolated barcheck
 between the two music parts.

This is a very easy mistake to make (and an annoying one to
have to figure out on your own).  Can someone mention this
in the docs?

- Mark
-


This has now been pushed as commit 066c166dd12014c596ebf557d23bbb728a318934.

Thanks

James

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


RE: \remove Note_heads_engraver =gt;no notes at all

2010-12-29 Thread James Lowe
Hello,




From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Benjamin 
Peterson [benja...@python.org]
Sent: 25 August 2010 15:17
To: lilypond-user@gnu.org
Subject: Re: \remove Note_heads_engraver =gt;no notes at all

alexandros 706mq1xf at googlemail.com writes:


 Hello!

 Either I do not understand Note_heads_engraver correctly or I do
 something wrong. In the following code I removed the Note_heads_engraver
 and I expected to see only the stems and the beams. Instead of this,
 stems and beams disappeared. Could you point the problem to me please?

The stem and beam engravers attach their objects to note heads, so when no note
heads are produced, there's nothing for them to hang notes on.




A note has been added to the Documentation in the Learning Manual (2.13.44-1)

Commit: 066c166dd12014c596ebf557d23bbb728a318934.

Thanks

James

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


RE: centering the new Lyrics

2010-12-29 Thread James Lowe
Hello,


From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Phil 
Holmes [m...@philholmes.net]
Sent: 29 December 2010 12:26
To: lilypond-user@gnu.org; Keith OHara
Subject: Re: centering the new Lyrics

- Original Message -
From: Keith OHara k-ohara5...@oco.net
To: lilypond-user@gnu.org
Sent: Tuesday, December 28, 2010 7:08 AM
Subject: centering the new Lyrics


 Dear engravers of lyrics,

 The next version of LilyPond will handle empty spaces within lyrics
 differently.

 If we have some adjacent lines of lyrics, version 2.12 collapses any empty
 sections, so the set of lines collapses to the minimum vertical height.

 The new system by default preserves the space for the empty sections[*],
 so that the lines remain consistently spaced.   So far I have heard people
 want to do two things:
 (1) let interrupted lyrics collapse to a single line,
 (2) perfectly center a line of lyrics between two staves.
 The new system is very flexible, so we can do these things (attached). But
 the new system is complicated, so I always forget and need to relearn how
 to use it.

 I want to make a new snippet(s), or a shortcut command(s).  Do people
 really want to do such things? What else? Is the attached .ly
 self-explanatory?
 --
 Keith

 note[*] except between one line of Lyrics attached to the next staff #UP
 and another line attached to the next staff #DOWN.  In this case LilyPond
 tries to let the lyrics collapse, but there is a bug (issue 1309) that
 sometimes prevents them from lining up perfectly.

I'd appreciate a snippet in the LSR to explain this.




Actually if this is changing default behaviour I'd like text in the NR proper 
than a snippet.

james

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


Re: Irregular beat grouping (7/8-beat etc.)

2010-12-29 Thread Xavier Scheuer
On 29 December 2010 14:40, Akira i.love.the.pika...@gmail.com wrote:

 Lilypond version 2.13 does not accept this:

\overrideBeamSettings #'Score #'(7 . 8) #'end#'((* . (2 2 3)))
\overrideBeamSettings #'Score #'(9 . 8) #'end#'((* . (2 3 2 2)))%}

 So, I can get only the example of right, which confuses me.
 Please tell me how to solve this and get the example of left.

Which 2.13 do you use?
Please update to the latest (2.13.44) and then use

\overrideTimeSignatureSettings
#'(7 . 8)  % timeSignatureFraction
#'(1 . 8)  % baseMomentFraction
#'(2 2 3)% beatStructure
#'()   % beamExceptions
  \time 7/8

or simply

\time 7/8
\set Timing.beatStructure = #'(2 2 3)

See NR 1.2.4 Beams  Setting automatic beam behavior
in the _latest_ version of the doc:
http://lilypond.org/doc/v2.13/Documentation/notation/beams.html#setting-automatic-beam-behavior

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Staff change in piano music � general approach?

2010-12-29 Thread Tobias Braun
Hello,

I am trying to typeset a Renaissance piece consisting of four voices
in a way that makes it easier to play the piece on the piano, i.e. put
the music into a PianoStaff. I have separated the individual voices and
stored them in variables in order to be able to also make a version
with four staff lines, one for each voice.

Sorry for not providing a minimal example, but I find it really hard to
make my point on this issue without the real music.

Now for my problem: when putting the four voices into a PianoStaff,
the beginning of the third voice creates many ledger lines, making
the music hard to read. What I'd like to do is move the first six bars
of the third voice from the second staff to the first staff. But my
attempt to do so, with the help of the manual, has caused quite a
mess, as you can see when uncommenting the commented lines in the 
example given below.

What would be the best general approach for moving part of the third
voice to the first staff? Apparently LilyPond doesn't want to combine the
voices, just printing one on top of the other instead.

A general question, as I've never really used a mailing list before: I sent
this message via the post.gmane.org form. How do you normally handle
mailing lists? Am I supposed to subscribe to the list rather than use the
gmane form? Should I use a separate e-mail address for the list, in
order to keep these mails out of my main inbox? Sorry for my lack of
knowledge regarding mailing lists, but so far, I have only been using
regular web forums.

Regards,
Tobias


% example file

\version 2.12.3

global = {
\time 2/2
\key d \minor
}

soprano = \relative c'' {
\clef treble

\repeat volta 2 {
g'4 g d4. e8 |
fis4 fis g d |
g g d4. e8 |
fis4 fis g2 |
}

g4 g g4. f8 |
g8 a bes4 f2 |
f4 f f4. e8 |
f8 d g4 d4. e8 |

\repeat volta 2 {
f g f es d4. c8 |
bes8 a bes c d4. e8 |
f g f es d4 c8 bes |
a g fis4 g2 |
}
}

alto = \relative c'' {
\clef treble

\repeat volta 2 {
% \stemUp
b4 c b4. c8 |
d4 d8 c b2 |
b4 c b4. c8 |
d4 d b2 |
}

b4 c b4. c8 |
d4 d d2 |
% \stemDown
d4 a bes2 |
bes4 g8 a bes2 |

\repeat volta 2 {
bes4 a bes4. a8 |
g f g a bes4. c8 |
d4 c bes g |
f8 e d c b2 |
}
}

tenor = \relative c' {
\clef treble_8

\repeat volta 2 {
% \change Staff = upper
% \stemDown
g'4 g g2 |
a4 a g2 |
g4 g g2 |
a4 a g2 |
}

g4 g g4. a8 |
bes4 bes bes2 |
% \change Staff = lower
% \stemUp
f4 f d2 |
d4 es d2 |

\repeat volta 2 {
d4 c d2 |
es2 d4 f |
f2 f4 e |
a,2 g |
}
}

bass = \relative c' {
\clef bass

\repeat volta 2 {
g4 c, g'2 |
d g |
g4 c, g'2 |
d g, |
}

g'4 c, g'2 |
g4 g bes2 |
bes,4 f' bes,2 |
bes4 es bes2 |

\repeat volta 2 {
bes4 f' bes,2 |
es bes |
bes4 f' bes, c |
d2 g, |
}
}

rightHand = {
\global
\clef treble
  \soprano \\ \alto   
}

leftHand = {
\global
\clef bass
  \tenor \\ \bass 
}

\score {
\new PianoStaff 
\new Staff = upper \rightHand
\new Staff = lower \leftHand

}



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


Re: Staff change in piano music â general approach?

2010-12-29 Thread Phil Holmes
- Original Message - 
From: Tobias Braun tob...@braun-oberkochen.de

To: lilypond-user@gnu.org
Sent: Wednesday, December 29, 2010 2:58 PM
Subject: Staff change in piano music â?? general approach?



Hello,

I am trying to typeset a Renaissance piece consisting of four voices
in a way that makes it easier to play the piece on the piano, i.e. put
the music into a PianoStaff. I have separated the individual voices and
stored them in variables in order to be able to also make a version
with four staff lines, one for each voice.

Sorry for not providing a minimal example, but I find it really hard to
make my point on this issue without the real music.

Now for my problem: when putting the four voices into a PianoStaff,
the beginning of the third voice creates many ledger lines, making
the music hard to read. What I'd like to do is move the first six bars
of the third voice from the second staff to the first staff. But my
attempt to do so, with the help of the manual, has caused quite a
mess, as you can see when uncommenting the commented lines in the
example given below.

What would be the best general approach for moving part of the third
voice to the first staff? Apparently LilyPond doesn't want to combine the
voices, just printing one on top of the other instead.


Instead of using \stemUp and \stemDown, have a look at using voices to 
control the placement of notes.  See


http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Simultaneous-notes#Simultaneous-notes

for information on this.

A general question, as I've never really used a mailing list before: I 
sent

this message via the post.gmane.org form. How do you normally handle
mailing lists? Am I supposed to subscribe to the list rather than use the
gmane form? Should I use a separate e-mail address for the list, in
order to keep these mails out of my main inbox? Sorry for my lack of
knowledge regarding mailing lists, but so far, I have only been using
regular web forums.


It's up to you.  If you're going to use the list frequently, you'll probably 
find it easier to subscribe.  You may want to use an email address that's 
disposable, since you'll probably get more spam because of the email address 
being more widely visible.



--
Phil Holmes



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


Grace notes with fixed spacing

2010-12-29 Thread Sven Axelsson
Hi list.

Yes, I have rtfm, but I didn't find the answer, so here goes.

Is there some way to always render a group of notes (grace notes in
this case, but I guess this would be a general fix) with a fixed
spacing that is not affected by the layout process? In my case I need
it for typesetting Scottish Highland Bagpipe music, which has lots of
complex gracenotes and (generally) a requirement for a fixed number of
bars per line. This will often make the grace notes very uneven which
does not look so good. I would like to always render the grace note
groups with the same inter-note spacing and only have the layout
process add space between normal notes.

I've attached some examples of differences in spacing for the same note group.

Thanks a lot

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....
attachment: red_speckled_bull.pdf (page 2 of 3).pngattachment: red_speckled_bull.pdf (page 1 of 3).png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Grace notes with fixed spacing

2010-12-29 Thread James Lowe
Hello,




From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Sven 
Axelsson [sven.axels...@gmail.com]
Sent: 29 December 2010 15:17
To: lilypond-user@gnu.org
Subject: Grace notes with fixed spacing

Hi list.

Yes, I have rtfm, but I didn't find the answer, so here goes.

Is there some way to always render a group of notes (grace notes in
this case, but I guess this would be a general fix) with a fixed
spacing that is not affected by the layout process? In my case I need
it for typesetting Scottish Highland Bagpipe music, which has lots of
complex gracenotes and (generally) a requirement for a fixed number of
bars per line. This will often make the grace notes very uneven which
does not look so good. I would like to always render the grace note
groups with the same inter-note spacing and only have the layout
process add space between normal notes.

I've attached some examples of differences in spacing for the same note group.
---

Grace notes are handled differently from normal notes as the documentation says

However have you looked at this section


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


RE: Grace notes with fixed spacing

2010-12-29 Thread James Lowe
Hello, I' m sorry I'll type that again...


From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Sven 
Axelsson [sven.axels...@gmail.com]
Sent: 29 December 2010 15:17
To: lilypond-user@gnu.org
Subject: Grace notes with fixed spacing

Hi list.

Yes, I have rtfm, but I didn't find the answer, so here goes.

Is there some way to always render a group of notes (grace notes in
this case, but I guess this would be a general fix) with a fixed
spacing that is not affected by the layout process? In my case I need
it for typesetting Scottish Highland Bagpipe music, which has lots of
complex gracenotes and (generally) a requirement for a fixed number of
bars per line. This will often make the grace notes very uneven which
does not look so good. I would like to always render the grace note
groups with the same inter-note spacing and only have the layout
process add space between normal notes.

I've attached some examples of differences in spacing for the same note group.

---

Grace notes are handled differently from normal notes as the documentation says

However have you looked at this section



http://lilypond.org/doc/v2.13/Documentation/notation/changing-horizontal-spacing



This tells you how to alter the spacing to suit your needs.



You say you need a fixed number of measures/bars per line, well you can easily 
put in \break where you want or you can create a second voice within the same 
system and break it at every xth Bar.



A very simple example



breaks = {

\repeat unfold 4 { s1 | s1 | s1 | s1 \break }

}

music = {

\repeat unfold 16 { a4 b c' d' }

}

\score {

\new Staff 

\new Voice { \music }

\new Voice { \breaks }



}



This will break 16 bars of music at every 4th bar.



Change the values to suit your time signature/number of bars per line.



Depending on your specific examples you may or may not get exactly what you 
need without much more manual tweaking of each measure.



James







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


Re: Grace notes with fixed spacing

2010-12-29 Thread Phil Holmes

Some further thoughts below

- Original Message - 
From: James Lowe james.l...@datacore.com

To: Sven Axelsson sven.axels...@gmail.com; lilypond-user@gnu.org
Sent: Wednesday, December 29, 2010 3:47 PM
Subject: RE: Grace notes with fixed spacing


Hello, I' m sorry I'll type that again...


From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Sven 
Axelsson [sven.axels...@gmail.com]

Sent: 29 December 2010 15:17
To: lilypond-user@gnu.org
Subject: Grace notes with fixed spacing

Hi list.

Yes, I have rtfm, but I didn't find the answer, so here goes.

Is there some way to always render a group of notes (grace notes in
this case, but I guess this would be a general fix) with a fixed
spacing that is not affected by the layout process? In my case I need
it for typesetting Scottish Highland Bagpipe music, which has lots of
complex gracenotes and (generally) a requirement for a fixed number of
bars per line. This will often make the grace notes very uneven which
does not look so good. I would like to always render the grace note
groups with the same inter-note spacing and only have the layout
process add space between normal notes.

I've attached some examples of differences in spacing for the same note 
group.


==

[snip James' thoughts]

You might also want to look at the information about proportional notation:

http://lilypond.org/doc/v2.13/Documentation/notation/proportional-notation

Also you could consider using small normal notes rather than grace notes - 
this way the time interval occupied by the note is maintained.


--
Phil Holmes






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


Re: centering the new Lyrics

2010-12-29 Thread Dmytro O. Redchuk
On Mon 27 Dec 2010, 23:08 Keith OHara wrote:
 Dear engravers of lyrics,
 
 I want to make a new snippet(s), or a shortcut command(s).  Do people really
 want to do such things? What else? Is the attached .ly self-explanatory?
Great. Thank you a lot.

I wonder how these lyrics contexts will behave across linebreaks and i am
sorry very much that i can not test it right now :-)

Thank you.

 --
 Keith
 
 note[*] except between one line of Lyrics attached to the next staff #UP and
 another line attached to the next staff #DOWN.  In this case LilyPond tries
 to let the lyrics collapse, but there is a bug (issue 1309) that sometimes
 prevents them from lining up perfectly.

-- 
  Dmytro O. Redchuk
  Bug Squad

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


Re: Grace notes with fixed spacing

2010-12-29 Thread Phil Holmes
- Original Message - 
From: Sven Axelsson sven.axels...@gmail.com

To: Phil Holmes m...@philholmes.net
Sent: Wednesday, December 29, 2010 4:17 PM
Subject: Re: Grace notes with fixed spacing



On 29 December 2010 17:00, Phil Holmes m...@philholmes.net wrote:


You might also want to look at the information about proportional 
notation:


http://lilypond.org/doc/v2.13/Documentation/notation/proportional-notation

Also you could consider using small normal notes rather than grace 
notes -

this way the time interval occupied by the note is maintained.


Yes, there are lots of interesting things you can do with Lilypond.
Proportional notation, however, is exactly the opposite of what I
want. I really need the grace notes to be spaced as tightly as
possible without any regard to their duration. I am currently playing
around with SpacingSpanner.spacing-increment for this. No luck so far
though.



Please reply-all, to keep any discussion on the newsgroup.

I was aware that you weren't trying to use proportional spacing, rather the 
opposite, but thought there might be some handy pointers there.


--
Phil Holmes



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


Re: Grace notes with fixed spacing

2010-12-29 Thread Sven Axelsson
OK, rtfm:ing and testing a bit further.

I created a music function like this:

pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \newSpacingSection
 \override Score.SpacingSpanner #'spacing-increment = #0.9
 % override Score.SpacingSpanner #'strict-grace-spacing = ##t
 \grace $notes
  #}
)

in order to play around with different space settings.

I then have definintions like for instance

cad = { \pgrace { \small g32[ e8 d32] } }

that previously used plain grace instead of pgrace.

In the function above I've commented out strict-grace-spacing. That
setting does more or less what I want, but causes other spacing
problems as noted in the documentation. spacing-increment doesn't help
me much.

Does anyone here have a clue of what magic settings I could plug into
the music function to get the desired non-stretchable spacing? Or
maybe it isn't even possible?

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....

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


beamExceptions and shorter notes

2010-12-29 Thread Xavier Scheuer
Hi Carl, LilyPond users,

In the doc NR 1.2.4 Beams  Setting automatic beam behavior
(latest version: 2.13.44)
under How automatic beaming works, third point, it is said:

  • if a beam-ending rule is defined in  beamExceptions  for a longer
beam-type, use it to determined the valid places where beams may
end, otherwise
  [...]


This is _not_ true for default beaming (i.e. 4/4), right?

In 4/4, there is a  beamExceptions  for 8th notes that combines beats
1,2 and 3,4, but this does not affect beaming rules for shorter
beam-types (16th, ...) that are beamed according to  beamMoment
(1 . 4) .
How is it possible?

I ask this because we have a request on the French user mailing list
to beam *in 2/4*  8th by 4  but without affecting shorter beam-types.
And of course in this case if I use

  \time 2/4
  \set Timing.beamExceptions =
#'(
   (end .
(
 ((1 . 8) . (4))
)))

then the beaming of shorter notes is determined by this and that's not
what is wanted! (only 8th note should be beamed by measure, not shorter
notes that should be beamed according to  beamMoment  (1 . 4)
like in 4/4?!)

If you have another better solution to handle this situation, feel free!

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: beamExceptions and shorter notes

2010-12-29 Thread Carl Sorensen



On 12/29/10 10:29 AM, Xavier Scheuer x.sche...@gmail.com wrote:

 Hi Carl, LilyPond users,
 
 In the doc NR 1.2.4 Beams  Setting automatic beam behavior
 (latest version: 2.13.44)
 under How automatic beaming works, third point, it is said:
 
   ? if a beam-ending rule is defined in  beamExceptions  for a longer
 beam-type, use it to determined the valid places where beams may
 end, otherwise
   [...]
 
 
 This is _not_ true for default beaming (i.e. 4/4), right?
 
 In 4/4, there is a  beamExceptions  for 8th notes that combines beats
 1,2 and 3,4, but this does not affect beaming rules for shorter
 beam-types (16th, ...) that are beamed according to  beamMoment
 (1 . 4) .
 How is it possible?

If you look at the default beaming rules defined in
scm/time-signature-settings.scm, you'll see that there is a beam ending rule
for (1 . 8) (4 4) followed by a beam ending rule for (1 . 12) (3 3 3 3).

This makes the 1/8 beam ending rule apply only to 1/8; for all shorter
beams, the 1/12 beam ending rule applies.

 
 I ask this because we have a request on the French user mailing list
 to beam *in 2/4*  8th by 4  but without affecting shorter beam-types.
 And of course in this case if I use
 
   \time 2/4
   \set Timing.beamExceptions =
 #'(
(end .
 (
  ((1 . 8) . (4))
   ((1 . 12) . (3 3))
 )))
 
 then the beaming of shorter notes is determined by this and that's not
 what is wanted! (only 8th note should be beamed by measure, not shorter
 notes that should be beamed according to  beamMoment  (1 . 4)
 like in 4/4?!)
 
 If you have another better solution to handle this situation, feel free!
 

Whenever anybody has a question about setting beam rules, the first place to
look is probably scm/time-signature-settings.scm.

Thanks,

Carl


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


Re: beamExceptions and shorter notes

2010-12-29 Thread Xavier Scheuer
On 29 December 2010 18:34, Carl Sorensen c_soren...@byu.edu wrote:

 If you look at the default beaming rules defined in
 scm/time-signature-settings.scm, you'll see that there is a beam ending rule
 for (1 . 8) (4 4) followed by a beam ending rule for (1 . 12) (3 3 3 3).

 This makes the 1/8 beam ending rule apply only to 1/8; for all shorter
 beams, the 1/12 beam ending rule applies.

 [...]

 Whenever anybody has a question about setting beam rules, the first place to
 look is probably scm/time-signature-settings.scm.

Right!
Actually I was looking at  scm/time-signature-settings.scm  when I was
writing this message (and before also of course)!
But I did not think at the effect of this second rule.

It seems so obvious now that you mention it!

Thanks a lot for this quick and useful answer!

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Grace notes with fixed spacing

2010-12-29 Thread James Bailey

On Dec 29, 2010, at 6:10 PM, Sven Axelsson wrote:

 OK, rtfm:ing and testing a bit further.
 
 I created a music function like this:
 
 pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \newSpacingSection
 \override Score.SpacingSpanner #'spacing-increment = #0.9
 % override Score.SpacingSpanner #'strict-grace-spacing = ##t
 \grace $notes
  #}
 )
 
 in order to play around with different space settings.
 
 I then have definintions like for instance
 
 cad = { \pgrace { \small g32[ e8 d32] } }
 
 that previously used plain grace instead of pgrace.
 
 In the function above I've commented out strict-grace-spacing. That
 setting does more or less what I want, but causes other spacing
 problems as noted in the documentation. spacing-increment doesn't help
 me much.
 
 Does anyone here have a clue of what magic settings I could plug into
 the music function to get the desired non-stretchable spacing? Or
 maybe it isn't even possible?

Maybe the bagpipe settings will help you. 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bagpipes#Bagpipes
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Grace notes with fixed spacing

2010-12-29 Thread Sven Axelsson
On 29 December 2010 19:04, James Bailey derhindem...@googlemail.com wrote:

 On Dec 29, 2010, at 6:10 PM, Sven Axelsson wrote:

 OK, rtfm:ing and testing a bit further.

 I created a music function like this:

 pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \newSpacingSection
     \override Score.SpacingSpanner #'spacing-increment = #0.9
     % override Score.SpacingSpanner #'strict-grace-spacing = ##t
     \grace $notes
  #}
 )

 in order to play around with different space settings.

 I then have definintions like for instance

 cad = { \pgrace { \small g32[ e8 d32] } }

 that previously used plain grace instead of pgrace.

 In the function above I've commented out strict-grace-spacing. That
 setting does more or less what I want, but causes other spacing
 problems as noted in the documentation. spacing-increment doesn't help
 me much.

 Does anyone here have a clue of what magic settings I could plug into
 the music function to get the desired non-stretchable spacing? Or
 maybe it isn't even possible?

 Maybe the bagpipe settings will help you. 
 http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bagpipes#Bagpipes

Well, no not really. I am the author of those and now trying to
improve them a bit. :)

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....

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


Re: centering the new Lyrics

2010-12-29 Thread Carl Sorensen

On 12/29/10 5:41 AM, James Lowe james.l...@datacore.com wrote:

 Hello,
 
 
 From: lilypond-user-bounces+james.lowe=datacore@gnu.org
 [lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of Phil
 Holmes [m...@philholmes.net]
 Sent: 29 December 2010 12:26
 To: lilypond-user@gnu.org; Keith OHara
 Subject: Re: centering the new Lyrics
 
 - Original Message -
 From: Keith OHara k-ohara5...@oco.net
 To: lilypond-user@gnu.org
 Sent: Tuesday, December 28, 2010 7:08 AM
 Subject: centering the new Lyrics
 
 
 Dear engravers of lyrics,
 
 The next version of LilyPond will handle empty spaces within lyrics
 differently.
 
 If we have some adjacent lines of lyrics, version 2.12 collapses any empty
 sections, so the set of lines collapses to the minimum vertical height.
 
 The new system by default preserves the space for the empty sections[*],
 so that the lines remain consistently spaced.   So far I have heard people
 want to do two things:
 (1) let interrupted lyrics collapse to a single line,
 (2) perfectly center a line of lyrics between two staves.
 The new system is very flexible, so we can do these things (attached). But
 the new system is complicated, so I always forget and need to relearn how
 to use it.
 
 I want to make a new snippet(s), or a shortcut command(s).  Do people
 really want to do such things? What else? Is the attached .ly
 self-explanatory?
 --
 Keith
 
 note[*] except between one line of Lyrics attached to the next staff #UP
 and another line attached to the next staff #DOWN.  In this case LilyPond
 tries to let the lyrics collapse, but there is a bug (issue 1309) that
 sometimes prevents them from lining up perfectly.
 
 I'd appreciate a snippet in the LSR to explain this.
 
 
 
 
 Actually if this is changing default behaviour I'd like text in the NR proper
 than a snippet.

Because it requires \override, it will need to be a snippet in
Documentation/snippets/new, which will eventually become part of the LSR.

Thanks,

Carl


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


Re: Irregular beat grouping (7/8-beat etc.)

2010-12-29 Thread Carl Sorensen

On 12/29/10 6:40 AM, Akira i.love.the.pika...@gmail.com wrote:

 Lilypond version 2.13 does not accept this:
 
 \overrideBeamSettings #'Score #'(7 . 8) #'end#'((* . (2 2 3)))
 \overrideBeamSettings #'Score #'(9 . 8) #'end#'((* . (2 3 2 2)))%}
 
 So, I can get only the example of right, which confuses me.
 Please tell me how to solve this and get the example of left.


Please review the notation reference, section 1.2 Setting automatic beam
behavior.

\set Score.BeatStructure = #'(2 2 3)


If you are going to mix your music between 7/8 and 9/8, you'll probably want
to refer to Notation Reference 1.1 Time signatures.  You'll want to use

\overrideTimeSignatureSettings
   #'(7 . 8)  % timeSignatureFraction
   #'(1 . 8)  % baseMomentFraction
   #'(2 2 3)% beatStructure
   #'()   % beamExceptions
  

\overrideTimeSignatureSettings
   #'(9 . 8)  % timeSignatureFraction
   #'(1 . 8)  % baseMomentFraction
   #'(2 3 2 2)% beatStructure
   #'()   % beamExceptions
  

Then, when you change the time signature to 7/8 and 9/8, you'll
automatically get the beaming you want.

HTH,

Carl


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


Re: Grace notes with fixed spacing

2010-12-29 Thread Xavier Scheuer
On 29 December 2010 18:10, Sven Axelsson sven.axels...@gmail.com wrote:

 OK, rtfm:ing and testing a bit further.

 I created a music function like this:

 pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \newSpacingSection
 \override Score.SpacingSpanner #'spacing-increment = #0.9
 % override Score.SpacingSpanner #'strict-grace-spacing = ##t
 \grace $notes
  #}
 )

Just a hint.
Instead of defining your own music function you could change the default
behaviour of grace notes by redefining the variables startGraceMusic,
stopGraceMusic (defined in the file  ly/grace-init.ly ) to include this
 \override  within the definition of  \grace .
In this way you can continue using normal  \grace  command without
having to call your function every time.

BTW I think you should consider  Score.GraceSpacing  instead of
 Score.SpacingSpanner  (just an idea).
http://lilypond.org/doc/v2.13/Documentation/internals/gracespacing


 Does anyone here have a clue of what magic settings I could plug into
 the music function to get the desired non-stretchable spacing? Or
 maybe it isn't even possible?

Hope that helps.

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: Grace notes with fixed spacing

2010-12-29 Thread Sven Axelsson
On 29 December 2010 22:20, Xavier Scheuer x.sche...@gmail.com wrote:
 On 29 December 2010 18:10, Sven Axelsson sven.axels...@gmail.com wrote:

 OK, rtfm:ing and testing a bit further.

 I created a music function like this:

 pgrace = #(define-music-function (parser location notes) (ly:music?)
  #{ \newSpacingSection
     \override Score.SpacingSpanner #'spacing-increment = #0.9
     % override Score.SpacingSpanner #'strict-grace-spacing = ##t
     \grace $notes
  #}
 )

 Just a hint.
 Instead of defining your own music function you could change the default
 behaviour of grace notes by redefining the variables startGraceMusic,
 stopGraceMusic (defined in the file  ly/grace-init.ly ) to include this
  \override  within the definition of  \grace .
 In this way you can continue using normal  \grace  command without
 having to call your function every time.

In fact I prefer to have a special function for this, because that
lets me use both normal \grace and special behavior \pgrace in the
same score. In some cases, for instance, I want to be able to remove
all (special) grace notes from the output just by setting a variable,
and that is easy using the \pgrace function.

 BTW I think you should consider  Score.GraceSpacing  instead of
  Score.SpacingSpanner  (just an idea).
 http://lilypond.org/doc/v2.13/Documentation/internals/gracespacing

Considered, tested, and working! Using \override Score.GraceSpacing
#'spacing-increment = #0 gives exactly the output I want. Thank you
for that.

It appears like the value of spacing-increment is multiplied with the
spring value from the layout routine, so using zero, or a small value
(up to 0.25 seems to work) will make the grace note group in effect
unstretchable. This is great, but I would not have guessed it worked
that way just from reading the manual.

 Hope that helps.

It did indeed.

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....

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


Changing the length of partial beams

2010-12-29 Thread Sven Axelsson
Since having great success in getting an answer for my last question
to the list, here's another:

In a grace note sequence such as \grace { \small g32[ e8 d32] }, the
gap between the stem of the e8 and the beams of the 32 notes is very
small. Is there a tweak to increase this gap somewhat?

I already tried the obvious \override Score.Beam #'gap, but it appears
like that is only used for tremolo beams. Or perhaps it doesn't work
with grace notes.

Thanks a lot

-- 
Sven Axelsson
++[+
-].+..+.+.-.+...
+++.-.++..++.++....
attachment: red_speckled_bull.pdf (page 1 of 3).png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Bug in 2.13.44-1?

2010-12-29 Thread Tim McNamara
Is this a bug?

Interpreting music... 
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/chord-ignatzek-names.scm:208:9:
 In procedure chord-name-pop-markup in expression (name-root root 
lowercase-root?):
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/chord-ignatzek-names.scm:208:9:
 Wrong number of arguments to #procedure chord-name-pop-markup (pitch)

Compilation exited abnormally with code 1 at Wed Dec 29 20:48:49
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Invitation to connect on LinkedIn

2010-12-29 Thread Michael Dykes
LinkedIn


   
I'd like to add you to my professional network on LinkedIn.

- Michael

Michael Dykes
Student at Georgia College and State University
Macon, Georgia Area

Confirm that you know Michael Dykes
https://www.linkedin.com/e/-n369qb-gib5bg5w-32/isd/2071971615/07w6YY0R/


 
-- 
(c) 2010, LinkedIn Corporation___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ANN: Frescobaldi 1.2.0

2010-12-29 Thread Andrew Hawryluk
On Tue, Dec 28, 2010 at 2:02 AM, Wilbert Berendsen lily...@xs4all.nl wrote:
...
 There will also be a custom PDF preview with two-way point and click
 integration: moving the text cursor highlights objects in the PDF and objects
 in the PDF can directly be manipulated because the built-in parser knows that
 type of object they represent. The parser is already quite good and also
 provides the highlighting. Plan is also to integrate MIDI input so that rumor
 is not needed anymore. But this needs a MIDI backend and that is not yet done.

Have you found a Python MIDI module that you would use to replace
rumor? I'm curious how much work it would be to create a simple MIDI
chord-entry functionality (in which a MIDI chord appears directly in
the text area and no rhythms are parsed), because I helped write
something similar for LilyPondTool. At least for me, writing it in
Python would be way more fun than Java!

Andrew

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


Re: Bug in 2.13.44-1?

2010-12-29 Thread James Bailey

On Dec 30, 2010, at 3:52 AM, Tim McNamara wrote:

 Is this a bug?
 
 Interpreting music... 
 /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/chord-ignatzek-names.scm:208:9:
  In procedure chord-name-pop-markup in expression (name-root root 
 lowercase-root?):
 /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/chord-ignatzek-names.scm:208:9:
  Wrong number of arguments to #procedure chord-name-pop-markup (pitch)
 
 Compilation exited abnormally with code 1 at Wed Dec 29 20:48:49

Can you provide a tiny example which generates this error?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Invitation to connect on LinkedIn

2010-12-29 Thread David Kastrup
Michael Dykes thedoctor81...@gmail.com writes:

 +---+
 |   |
 |LinkedIn   |
 |   |
 |I'd like to add you to my professional network on LinkedIn.|
 |   |
 |- Michael  |
 |   |
 |++ |
 ||Michael Dykes   | |
 ||Student at Georgia College and State University | |
 ||Macon, Georgia Area | |
 |++ |

What's up with the recent bout of social networking address
harvesters?  Are there real persons stupid enough to send invitations
to all their contacts including mailing lists?  If so, one really should
pull their internet licenses.

-- 
David Kastrup


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