Re: markup dynamics wrong size

2008-08-08 Thread Mats Bengtsson



Reinhold Kainhofer wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Freitag, 8. August 2008 schrieb Mats Bengtsson:
  

Mats Bengtsson wrote:


Yes, it would be very nice to be able to specify the alignment point
of a markup in a more convenient way.
  

I just realized that it indeed is possible to specify the horizontal
alignment point to be between two parts of a markup:
beforeaftermarkup = \markup {\right-align before \left-align after }
but it's too late at night right now for me to figure out how to set it
to be centered on a symbol (like the f in f molto).



We already had that discussion a while back (the 'Aligning sempre pp 
with p...' tread starting on Feb 10) and I summarized all suggestions in 
the LSR snippets I quoted in my earlier Mail.
  
Yes, when I was writing my answer, it suddenly felt very familiar but 
since it was late at night,
my brain didn't realize to look for the email thread or possible LSR 
entry. Thanks for the link.
Just a comment on the LSR entry: I wouldn't expect many people to be 
able to understand
exactly how the different methods work, since there's no mention on how 
the default alignment
is done. Also, it doesn't mention the obvious drawbacks of Solutions 1, 
2, 3 and 5, that you need

quite some trial and error to get the numbers right.

Does anybody know why this LSR entry isn't included in the Snippet List 
of the GDP
documentation. Since it only works under 2.11, it certainly would be 
more relevant to

have there than in LSR, for the moment.

   /Mats



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


Re: markup dynamics wrong size

2008-08-08 Thread Graham Percival
On Fri, 08 Aug 2008 10:33:34 +0200
Mats Bengtsson [EMAIL PROTECTED] wrote:

 Does anybody know why this LSR entry isn't included in the Snippet
 List of the GDP
 documentation. 

Because it isn't tagged with docs.  I think there's still a lot
of snippets that could/should be included in the Snippet Lists,
but:
1)  somebody needs to identify them
2)  somebody needs to make sure those snippets work and have good
style
3)  the only two volunteers for LSR are doing more useful stuff
(Neil as general fixit man, and Valentin slowly doing NR 1.8)


*shrug*

The technical side is quite simple: a trusted LSR editor only
needs to click something like 3-5 times make a snippet
automagically appear in the docs.  The problem is simply finding
volunteers.

And no, I'm not going to be involved in training and weeding out
people for this task.  And I don't suggest that Neil do it;
there's too many technical problems that require his know-how and
git access to solve.

*IF* anybody is willing to this, and *IF* Valentin has the
time/inclination to train them, all well and good.  If not, this
part fo the docs will continue to be not-so-good.

 Since it only works under 2.11, it certainly would be 
 more relevant to
 have there than in LSR, for the moment.

In this case, it should be removed from LSR and placed in
input/new/.

Cheers,
- Graham


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


Re: timing, lyrics, chords, melody

2008-08-08 Thread Grammostola Rosea

Patrick Horgan wrote:

Grammostola Rosea wrote:

Hi,

Trying to make my first lilypond song and put let it be on score but 
I can't make the timing of the lyrics fit with the melody... :

Try this:

\version 2.11.53

melody = \relative c' {
 \clef treble
 \key c \major
 \time 4/4
 \partial 4
 g8 a  c4 c d a  c  c  d  e  f  f  f e  e d  d2   e4  e  f  e  e  d2  
e4  d4 c2

}

harmony = \chordmode {
 r8 r c2 g a:min  f4:maj7f:6 c2  g f   c
}

text = \lyricmode {
 When I find my -- self  in times of trou -- ble,
 Moth -- er Ma -- ry comes  to me,
 Speak -- ing words of wis -- dom
 let it be.
}

\score {
 
   \new ChordNames {
   \harmony
   } 
   \new Staff{

 \new Voice=thesong\melody
   }
   \context Lyrics \lyricsto thesong \text
 
 \layout { }
 \midi { }
}


Ok, thanks.




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


Augmentation dot problem in 2.11.55

2008-08-08 Thread Peter Johnson

I'm on an Intel Mac, OS 10.5.4 using the PPC download.

Augmentation dot placement seems to have broken between v2.11.54 and
v2.11.55-2.  In the latest version, dots are only placed on staff lines, as
in the attached example.  I ran both versions on the same file (and others).

Has anyone seen this on different set-ups?

Thanks.

Peter

%% tested input file
\relative c'' {
\clef treble
\time 3/4
g2. a4. b c8. d e d c4. b a2. g 
}
%% ends
http://www.nabble.com/file/p1613/test-2.11.54.jpg 
http://www.nabble.com/file/p1613/test-2.11.55-2.jpg 


-- 
View this message in context: 
http://www.nabble.com/Augmentation-dot-problem-in-2.11.55-tp1613p1613.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Augmentation dot problem in 2.11.55

2008-08-08 Thread David Bobroff
I just tried it on XP and Fedora 8.  Looks fine here.  Dots are *not* on 
staff lines.


-David

Peter Johnson wrote:

I'm on an Intel Mac, OS 10.5.4 using the PPC download.

Augmentation dot placement seems to have broken between v2.11.54 and
v2.11.55-2.  In the latest version, dots are only placed on staff lines, as
in the attached example.  I ran both versions on the same file (and others).

Has anyone seen this on different set-ups?

Thanks.

Peter

%% tested input file
\relative c'' {
\clef treble
\time 3/4
	g2. a4. b c8. d e d c4. b a2. g 
}

%% ends
http://www.nabble.com/file/p1613/test-2.11.54.jpg 
http://www.nabble.com/file/p1613/test-2.11.55-2.jpg 







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


Re: Augmentation dot problem in 2.11.55

2008-08-08 Thread Mats Bengtsson



David Bobroff wrote:
I just tried it on XP and Fedora 8.  Looks fine here.  Dots are *not* 
on staff lines.
Are you sure that you used exactly the same version (2.11.55-2)? These 
things shouldn't
differ between platforms. I can repeat the problem on Linux and it's 
clearly a bug.


   /Mats


-David

Peter Johnson wrote:

I'm on an Intel Mac, OS 10.5.4 using the PPC download.

Augmentation dot placement seems to have broken between v2.11.54 and
v2.11.55-2.  In the latest version, dots are only placed on staff 
lines, as
in the attached example.  I ran both versions on the same file (and 
others).


Has anyone seen this on different set-ups?

Thanks.

Peter

%% tested input file
\relative c'' {
\clef treble
\time 3/4
g2. a4. b c8. d e d c4. b a2. g }
%% ends
http://www.nabble.com/file/p1613/test-2.11.54.jpg 
http://www.nabble.com/file/p1613/test-2.11.55-2.jpg






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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Augmentation dot problem in 2.11.55

2008-08-08 Thread David Bobroff

No, sorry; it was 2.11.55-1.

-David

Mats Bengtsson wrote:



David Bobroff wrote:
I just tried it on XP and Fedora 8.  Looks fine here.  Dots are *not* 
on staff lines.
Are you sure that you used exactly the same version (2.11.55-2)? These 
things shouldn't
differ between platforms. I can repeat the problem on Linux and it's 
clearly a bug.


   /Mats


-David

Peter Johnson wrote:

I'm on an Intel Mac, OS 10.5.4 using the PPC download.

Augmentation dot placement seems to have broken between v2.11.54 and
v2.11.55-2.  In the latest version, dots are only placed on staff 
lines, as
in the attached example.  I ran both versions on the same file (and 
others).


Has anyone seen this on different set-ups?

Thanks.

Peter

%% tested input file
\relative c'' {
\clef treble
\time 3/4
g2. a4. b c8. d e d c4. b a2. g }
%% ends
http://www.nabble.com/file/p1613/test-2.11.54.jpg 
http://www.nabble.com/file/p1613/test-2.11.55-2.jpg






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






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


Re: Augmentation dot problem in 2.11.55

2008-08-08 Thread Neil Puttock
Hi,

I've posted a patch which will fix this
(http://lists.gnu.org/archive/html/lilypond-user/2008-08/msg00131.html);
it's awaiting Han-Wen's approval.

Regards,
Neil


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


Arlignment of Bars

2008-08-08 Thread Michael Menge

Hi,

I'm new to lilypond. Till now i could solve my problems by reading the  
documentation, but I could not find anything for the following problem.


I am setting an canon and I want to align the bar lines
after an linebreak.

Regards

   Michael Menge


M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen



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


lily to openoffice

2008-08-08 Thread Grammostola Rosea

Hi,

I saw that there is a OOolilypond, tool to insert lilypond in OO. When 
will it work with lilypond 2.11 ?


Are there other way to do the trick?




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


Re: lily to openoffice

2008-08-08 Thread Mats Bengtsson
Search the mailing list archives. For example, 
http://lists.gnu.org/archive/html/lilypond-user/2007-05/msg00111.html

shows one simple change that's needed.

   /Mats

Grammostola Rosea wrote:

Hi,

I saw that there is a OOolilypond, tool to insert lilypond in OO. When 
will it work with lilypond 2.11 ?


Are there other way to do the trick?




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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: lily to openoffice

2008-08-08 Thread Grammostola Rosea

Thanks!

Mats Bengtsson wrote:
Search the mailing list archives. For example, 
http://lists.gnu.org/archive/html/lilypond-user/2007-05/msg00111.html

shows one simple change that's needed.

   /Mats

Grammostola Rosea wrote:

Hi,

I saw that there is a OOolilypond, tool to insert lilypond in OO. 
When will it work with lilypond 2.11 ?


Are there other way to do the trick?




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






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


Re: Arlignment of Bars

2008-08-08 Thread Michael Menge

Tanks for the help,

that was what i was looking for.

Regards

   Michael

Quoting Mats Bengtsson [EMAIL PROTECTED]:


I'm not sure that I understand. Do you want the bar lines to be aligned
between the multiple lines of the score?

One possible trick is to typeset each score line as a separate stave
and remove the initial connecting bar line
that you normally see in a multi-stave score, as well as the time
signature on all but the top line.
Here's an example:

version 2.10.33
score{

 new Staff relative c'' {
   time 3/4
   c4 c c | b b b | a a a | g2 g4 | f f f | e e e | d d d | c2. |
 }
 new Staff with {
   override TimeSignature #'stencil = ##f } relative c'' {
   time 3/4
   e4 e e | d d d | c c c | b2 b4 | a a a | g g g | f f f | e2. |
 }
 new Staff with {
   override TimeSignature #'stencil = ##f } relative c'' {
   time 3/4
   c4 c8 d e f | g4 g, g | a a8 b c d | e2 e,4 | f4 f8 g a b | c4 c, c |
   f d b' | c2. |
 }



layout{
 context{
   Score
   remove System_start_delimiter_engraver
 }
}
}

This solution actually makes some sense also if you generate MIDI output.

Another possibility might be to try to use the support for proportional
notation.

   /Mats

Michael Menge wrote:

Hi,

I'm new to lilypond. Till now i could solve my problems by reading   
the documentation, but I could not find anything for the following   
problem.


I am setting an canon and I want to align the bar lines
after an linebreak.

Regards

  Michael Menge

 M.Menge Tel.: (49)   
7071/29-70316

Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:   
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen



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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=





M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen



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


Re: lily to openoffice

2008-08-08 Thread Valentin Villenave
2008/8/8 Mats Bengtsson [EMAIL PROTECTED]:
 Search the mailing list archives. For example,
 http://lists.gnu.org/archive/html/lilypond-user/2007-05/msg00111.html
 shows one simple change that's needed.

There's also a piece of information on
http://valentin.villenave.info/The-LilyPond-Report-3#outil_sommaire_0

-- just in case you would need a screenshot :-)

Cheers,
Valentin


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


Re: Better Midi!

2008-08-08 Thread Trevor Daniels

Peter Chubb wrote Thursday, August 07, 2008 10:37 PM

Trevor Hi Peter

Trevor Just tried your articulate.ly.  Looks really promising!  A
Trevor couple of early comments.  It may be obvious, but \articulate
Trevor should only be used in a \score block with just \midi {} - it
Trevor mucks up the printed output if used with \layout { }.  And
Trevor dynamics in the midi score block must be applied to all voices
Trevor to be effective.

Peter Yes, it does muck up the printed code.
Peter I'm not sure about the dynamics issue.  There are lots of pieces I
Peter have where the dynamics for each voice are independent --- so for
Peter example, the voice is marked `sempre forte' while the piano part is
Peter `decrescendo' then `pp' in Bizet's Toreador's song.

Oh, I know what you mean now.  It's a `feature' of Lilypond's midi
output: volume control is done with global control events that set the
master volume, instead of using velocity (at the start of each note)
and aftertouch (during each note).  Thus midi volume is global,
instead of per-voice.


No, it's not quite that bad.  It's true it does not use velocity
and aftertouch, but the volume of the 16 channels, which are
allocated one per staff, are varied independently according to
the dynamics associated with the voices on that staff.

There is also a basic equaliser to control the relative volumes
of some of the midi instruments which can be adjusted.

What I meant in my previous note was this:

A single line of dynamics often applies to more than one staff in
the printed output but this will affect only one midi channel.
So the dynamics must be included in every staff, even if they are
the same, within the score block which controls the midi output.

I should add the caveat that this understaning is based on a little
experimentation and a bit of code browsing, carried out before
writing the midi sections in the 2.11 Notation Reference.  Some
of it may contain inaccuracies.  If you, or any one else, spots
any errors in this (section 3.5 MIDI output) please let me know
so I can fix the manual.


Peter C


Trevor



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


Re: strange tempo 2

2008-08-08 Thread Valentin Villenave
2008/8/8 Neil Puttock [EMAIL PROTECTED]:
 2008/8/7 David Bobroff [EMAIL PROTECTED]:
 Does Rheinhold's work allow for the kind of thing I want; a quarter tied to
 a dotted quarter = number?

 Yes, since tempoText can take any \markup commands.

This means we'll have to rewrite quite a bunch of snippets when .12 is
out, don't we?

Cheers,
Valentin


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


Re: Arlignment of Bars

2008-08-08 Thread Valentin Villenave
2008/8/8 Michael Menge [EMAIL PROTECTED]:

 that was what i was looking for.

... and has now been added to the LSR as
http://lsr.dsi.unimi.it/LSR/Item?id=502

(Gee, the first bar looks awful)

Cheers,
Valentin


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


Re: Expert question on named contexts

2008-08-08 Thread Trevor Daniels


Valentin Villenave wrote

Mats Bengtsson wrote

Can anybody tell me exactly what happens with the context names in the
following example.


\relative c' 
\new Staff \new Voice = myvoice { c d e f }
\new Staff \context Voice = myvoice { g f e d }





Is the Voice context in the
lower stave given some random unknown name?


I guess it is, since when you add lyrics they're aligned with the
first instanciation of myvoice:

\relative c' 
\new Staff \new Voice = myvoice { c d8 e f4 g8 f }
\new Staff \context Voice = myvoice { g8 f e d g4 f }
\new Lyrics \lyricsto myvoice \lyricmode { one two three four five six }




However, I do wonder how this context can be named internally...


My understanding is that the name given to a context is
stored internally as the context's id.  You can display this
with the ly:context-id function.  In the example above both
contexts have id set to myvoice, as least that's what this
function returns.

I would guess that the lyrics attach to the first context
encountered which has a matching name.


Cheers,
Valentin


Trevor



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


Re: markup dynamics wrong size

2008-08-08 Thread Valentin Villenave
2008/8/8 Graham Percival [EMAIL PROTECTED]:

 Because it isn't tagged with docs.  I think there's still a lot
 of snippets that could/should be included in the Snippet Lists,
 but:

Hem, IIRC *I* had initially tagged quite a lot of snippets that *you*
made me un-tag :-)

I think the documentation has tremendously improved for the past year,
and this LSR integration is just brilliant (however improvable).

Mats, if you happen to stumble upon snippets you find docs-worthy,
*please* give me a ping and I'll be happy to correct them, tag them,
and possibly even integrate them in the relevant NR subsections. Of
all of us, you are the most likely to know what users look for (or
don't) in the docs...

 2)  somebody needs to make sure those snippets work and have good
 style

Yes, six months ago I ran a full LSR review but this should be done
again (not before I'm done with my opera though).

 3)  the only two volunteers for LSR are doing more useful stuff
 (Neil as general fixit man, and Valentin slowly doing NR 1.8)

Thanks for the credit :)

I'm still maintaining the LSR and the bug tracker, though. And even if
I might seem distant, I'm never much far away (even when I might be,
I'm still working with LilyPond on a 18-hours-a-day basis...)

 The technical side is quite simple: a trusted LSR editor only
 needs to click something like 3-5 times make a snippet
 automagically appear in the docs.  The problem is simply finding
 volunteers.

Reinhold's dynamics snippet has been tagged as docs. It should
appear in the list within 48 hours or so. I remember having ruled this
one out because it was too large, too non-minimalistic for
documentation purposes.

 In this case, it should be removed from LSR and placed in
 input/new/.

Yeah, this is the part I'll have to postpone for now. This snippet (as
well as many others) is tagged as version-specific, which means we'll
be extra careful with it when the time comes.

Cheers,
Valentin


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


Re: Arlignment of Bars

2008-08-08 Thread Michael Menge

One more question,

is it possible to use ties and slurs across the line break?

Quoting Valentin Villenave [EMAIL PROTECTED]:


2008/8/8 Michael Menge [EMAIL PROTECTED]:


that was what i was looking for.


... and has now been added to the LSR as
http://lsr.dsi.unimi.it/LSR/Item?id=502

(Gee, the first bar looks awful)

Cheers,
Valentin






M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen  Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung  mail:  
[EMAIL PROTECTED]

Waechterstrasse 76
72074 Tuebingen



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


Re: SLopUF: linear LM

2008-08-08 Thread Patrick Horgan

Robin Bannister wrote:


And it has nice Easter Eggs to keep you on your toes:
 e.g. the green bit in 2.1.3 is in a different language; Viennese, I 
think.
I don't think that's on purpose--the same section of the same page on 
the usual web site is in English.  Quite cool though--I would have 
guessed German.


Patrick


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


Re: strange tempo 2

2008-08-08 Thread Neil Puttock
2008/8/8 Valentin Villenave [EMAIL PROTECTED]:
 2008/8/8 Neil Puttock [EMAIL PROTECTED]:
 2008/8/7 David Bobroff [EMAIL PROTECTED]:
 Does Rheinhold's work allow for the kind of thing I want; a quarter tied to
 a dotted quarter = number?

 Yes, since tempoText can take any \markup commands.

 This means we'll have to rewrite quite a bunch of snippets when .12 is
 out, don't we?

I don't think there are that many which will need tweaking, though a
few might be improved using tempoText.

Regards,
Neil


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


Re: Expert question on named contexts

2008-08-08 Thread Han-Wen Nienhuys
On Wed, Aug 6, 2008 at 9:11 AM, Mats Bengtsson [EMAIL PROTECTED] wrote:

 \relative c' 
 \new Staff \new Voice = myvoice { c d e f }
 \new Staff \context Voice = myvoice { g f e d }


both contexts get the same name.  If you want to refer to either of
them, you need to name the staves too,


\relative c' 
 \new Staff = A \new Voice = myvoice { c d e f }
 \new Staff = B \context Voice = myvoice { g f e d }


so you can do \context Staff = A \context Voice = myvoice { .. }

to send something the 1st voice.


 Apparently, LilyPond lets the latter requirement override the former one.
 However, what happens to the context names? Is the Voice context in the
 lower
 stave given some random unknown name or do both have the same name but are
 kept separate because of the context hierarchy. In the latter case, is it
 even possible
 to refer to the Voice context of the lower stave using the name myvoice,
 under
 some circumstance?

Perhaps we should have a nice scheme hack that will print out the
context hierarchy at any point.


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: [PATCH] Re: Duration dots and Bar lines on custom Staves.

2008-08-08 Thread Han-Wen Nienhuys
This does not make sense to me at all.  line-positions is a property
of the staff symbol, as is line-count.  If someone is calling

 Staff_symbol::on_line(x, y)

where x is not in fact the staff-symbol, then that is an error in the caller.


On Wed, Aug 6, 2008 at 6:39 PM, Neil Puttock [EMAIL PROTECTED] wrote:

 'line-positions. It doesn't return the correct boolean value when
 called for ties and dots, since in these cases 'me' isn't the
 staff-symbol and line_count (me) will be zero here:

 return ((abs (pos + line_count (me)) % 2) == 1);



-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: color notehead according to absolute pitch

2008-08-08 Thread Jay Anderson
 If anyone can come up with a nice solution, this should definitely be
 added to the LSR...

I'm not sure this is a nice solution yet, but it is at least a little
easier to manipulate the color mapping and it handles enharmonic
spellings easily. Let me know what you think.

-Jay

\version 2.11.54

%Association list of semitones from middle c to colors.
#(define color-mapping
  (list
(cons (ly:pitch-semitones (ly:make-pitch 0 0 0)) (x11-color 'blue))
(cons 2 (x11-color 'yellow))
(cons 3 (x11-color 'red))
(cons -1 (x11-color 'green))
(cons 5 (x11-color 'purple))
(cons 7 (x11-color 'cyan))
(cons 8 (x11-color 'ForestGreen))
))

#(define (pitch-to-color pitch)
  (let ((color (assv (ly:pitch-semitones pitch) color-mapping)))
(if color (cdr color

#(define (color-notehead grob)
  (pitch-to-color (ly:event-property (ly:grob-property grob 'cause) 'pitch)))

\score
{
  \new Staff \relative c'
  {
\override NoteHead #'color = #color-notehead
c8 b d dis ees f g aes
  }
}


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


Re: markup dynamics wrong size

2008-08-08 Thread Graham Percival
On Fri, 8 Aug 2008 22:19:41 +0200
Valentin Villenave [EMAIL PROTECTED] wrote:

 2008/8/8 Graham Percival [EMAIL PROTECTED]:
 
  Because it isn't tagged with docs.  I think there's still a lot
  of snippets that could/should be included in the Snippet Lists,
  but:
 
 Hem, IIRC *I* had initially tagged quite a lot of snippets that *you*
 made me un-tag :-)

That's because you weren't doing step 2) somebody needs to make sure
these snippets work and have good style.

  2)  somebody needs to make sure those snippets work and have good
  style
 
 Yes, six months ago I ran a full LSR review but this should be done
 again (not before I'm done with my opera though).

If you did it properly the first time, and evaluated each snippet
properly before approving it, you wouldn't need to do it again now.

There's a *reason* that I'm so slow and nitpicky.  It saves time in the
long run.  And IMO it's more honest to only have 4 snippets in
Expressive (or whatever) that are actually working and have good style,
rather than having 24 snippets with 5 broken and 15 with bad style.

- Graham


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