lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updated Granados example


From: Urs Liska
Subject: Re: updated Granados example
Date: Fri, 27 Sep 2019 06:54:38 +0000

Hi Werner,

thanks for working on this.

I have the impression it would be nice to add at least one example with an 
alternative notation font to the example page. Here is the list of freely 
available fonts: 
https://github.com/openlilylib-resources/lilypond-notation-fonts/tree/master/fonts
 (note that while it is *legal* to use Abraham's other fonts for which he 
revoked the free license we shouldn't use them on our website (which is 
unfortunate since Haydn or Gutenberg1939 would make really nice examples.

Considering the existing content of the examples page we should probably limit 
this to one example, and for that it would probably make sense to use LilyJAZZ 
since that might be the most-wanted feature. Maybe reuse this "piece"? 
https://github.com/frescobaldi/frescobaldi/pull/1075#issuecomment-529471468

Also, I think section 3.4.4 of the NR should be updated to be much more 
explicit and suggestive. If I can find the time I'd volunteer to do this.
http://lilypond.org/doc/v2.19/Documentation/notation/replacing-the-notation-font.html

Urs

26. September 2019 22:35, "Werner LEMBERG" <address@hidden> schrieb:

> Attached you can find my revised version of the three bars from the
> Granados piece. The staff size is still smaller than the original
> since it is not possible currently to typeset that dense with LilyPond
> (while getting an optically pleasing result) – but it is larger than
> previously :-)
> 
> Note that for testing purposes I've applied Dave Nalesnik's patch for
> tuplet slurs
> (http://lilypond.1069038.n5.nabble.com/tuplet-slurs-td199904.html).
> Interestingly, this was never added to the tracker; I've asked David
> to do that now.[*]
> 
> Werner
> 
> [*] What's available in the link is not his latest patch, according to
> the e-mail thread.
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % This is a brief passage from Enrique Granados %
> % Goyescas, "Coloquio en la Reja." %
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> \version "2.19.83"
> 
> \include "example-header.ily"
> 
> #(set-global-staff-size 14)
> 
> \paper {
> paper-height = 70\mm
> }
> 
> csh = \change Staff = "high"
> csm = \change Staff = "middle"
> csl = \change Staff = "low"
> 
> crmolto = \markup { \italic "cresc. molto" }
> appassmolto = \markup { \whiteout \italic "appassionato molto" }
> 
> #(ly:set-option 'point-and-click #f)
> 
> global = { \time 3/4 }
> 
> upperVoiceOne = \relative {
> \override TupletBracket.bracket-visibility = ##t
> \override TupletBracket.tuplet-slur = ##t
> \override TupletNumber.padding = #0
> 
> % 1
> \voiceOne
> <aes' f'>8\tweak height-limit #4 ([ \tuplet 5/4 { g'32 aes g f g] }
> <es aes>8[ \tuplet 5/4 { <d bes'>32 c' bes aes bes] }
> <es, aes es'>8 <d fis bes d>) |
> 
> % 2
> <c g' c>4( \voiceTwo
> <bes es bes'>4)\arpeggio
> <aes aes'>16^( <bes bes'> <g g'>8) |
> 
> % 3
> \voiceOne
> <f aes d f>8\tweak height-limit #4 ([ \tuplet 5/4 { <g g'>32 aes' g f g] }
> <aes, aes'>16
> \set stemRightBeamCount = #1
> <c f>
> \set stemLeftBeamCount = #1
> \tuplet 5/4 { bes'32 c bes aes bes] }
> \ottava #1 <es es'>16 <f f'> <d d'> \slashedGrace f8 <es es'>16) |
> }
> 
> upperVoiceTwo = \relative {
> % 1
> \voiceTwo s8 c''8\<
> <bes, f'>[ <bes aes'>
> c' <bes, d fis>\!] |
> 
> % 2
> s4_\tweak X-offset #1 -\appassmolto
> \voiceOne a'''8\rest <bes, es bes'>->
> s4 |
> 
> % 3
> s8 \voiceTwo \crossStaff { g,8
> aes4 }
> }
> 
> middleVoiceOne = \relative {
> % 1
> \crossStaff { d'!8 } s8
> s8 s8\offset Y-offset #-2 _\crmolto
> s4 |
> 
> % 2
> s4
> <g bes>8[ <es' g>]
> \voiceOne e,8( dis16 e) |
> 
> % 3
> \once \override VoiceFollower.bound-details.left.Y = #-10
> \showStaffSwitch \csh \stemUp f4
> }
> 
> middleVoiceTwo = \relative {
> % 1
> s2. |
> 
> % 2
> s4
> \hideNotes \stemUp bes'\arpeggio \unHideNotes
> \voiceTwo \crossStaff { e,!4 } |
> 
> % 3
> s4
> <bes c es f>8 <f' aes es'>16 d'
> <bes, f' aes c>8 <bes' fis'> |
> }
> 
> lowerVoiceOne = \relative {
> \mergeDifferentlyHeadedOn
> \mergeDifferentlyDottedOn
> 
> % 1
> \once \override Beam.damping = #5
> bes,,8 \csm \stemDown <bes'' c es>8
> s2 |
> 
> % 2
> \csl \stemUp s8
> \hideNotes \stemDown es,,64^( s64 s \unHideNotes \stemUp
> g'64\offset positions #'(-0.7 . -0.7)
> \tweak damping #3 [
> \set stemLeftBeamCount = #1
> bes c d c])
> s2 |
> 
> % 3
> \once \override Beam.damping = #3
> bes,,8 \csm \stemDown <bes'' c es>8 s2 |
> }
> 
> lowerVoiceTwo = \relative {
> % 1
> \voiceTwo bes,,2. |
> 
> % 2
> \csh
> \once \override Beam.damping = #+inf.0
> % XXX Currently, cross-staff beaming support is partially broken. This
> % means we have to adjust the vertical beam position manually.
> \once \override Beam.positions = #'(-30 . -30)
> <bes'' es g>8 \csl es,,64 bes' es g s32. c64
> s4
> <bes des>4
> 
> % 3
> bes,,2.
> }
> 
> \score {
> \new PianoStaff <<
> \set PianoStaff.connectArpeggios = ##t
> \override PianoStaff.Arpeggio.stencil = #ly:arpeggio::brew-chord-bracket
> \override PianoStaff.Arpeggio.padding = #-0.5
> 
> \new Staff = "high" <<
> \global
> \context Voice = "upperVoiceOne" { \upperVoiceOne }
> \context Voice = "upperVoiceTwo" { \upperVoiceTwo }
>>> 
> \new Staff = "middle" <<
> \global
> \context Voice = "middleVoiceOne" { \middleVoiceOne }
> \context Voice = "middleVoiceTwo" { \middleVoiceTwo }
>>> 
> \new Staff = "low" <<
> \clef bass
> \global
> \context Voice = "lowerVoiceOne" { \lowerVoiceOne }
> \context Voice = "lowerVoiceTwo" { \lowerVoiceTwo }
>>> 
>>> 
> 
> \layout {
> \context {
> \Score
> \omit TimeSignature
> \remove "Bar_number_engraver"
> }
> \context {
> \PianoStaff
> \consists #Span_stem_engraver
> }
> \context {
> \Staff
> \override Accidental.extra-spacing-width = #'(0 . 0)
> }
> }
> }
> 
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]