Re: Automated crossed syllable binding notes?

2022-05-01 Thread Remy CLAVERIE


I had not seen that the link was in the PPS before sending the email...SorryRémyenvoyé : 2 mai 2022 à 06:20de : Remy CLAVERIE à : lilypond-user@gnu.org, t.j.pink...@alumnus.utwente.nl, "Tjeerd J. Pinkert" objet : Re: Automated crossed syllable binding notes?Hi Tjeerd,The two crosses are the symbol of a sharp, I think.Is the whole original score available on internet ?Thanks,Rémyenvoyé : 1 mai 2022 à 22:56de : "Tjeerd J. Pinkert" à : lilypond-user@gnu.orgobjet : Automated crossed syllable binding notes?Dear users,I'm trying to set some music in petrucci style. What I find often in the original scores are crosses that tie together two syllables of the song text, but that should have no note length in the score. A screenshot is attached as .png file.I came up with the code below that works both in the score and in the generated midi file, where the crossed notehead should take about half the note length (when it is not the same pitch). At least, I'm happy with that even when the pitches of note and crossed note are equal.Since this construction comes in larger multitudes in the scores I would like to automate it. E.g. by typing something like: d1\melisma c\melismaEndWordTieThis should than automatically add the *1/2, the override and the correct length to the crossed notehead. The crossed notehead in the original scores is independent from the length of the note in front of it.How can that be best done?---\version "2.22.0"theStaff = \new PetrucciStaff << \clef "petrucci-c2" \new PetrucciVoice = "contra" { \key f \major \time 2/2 \cadenzaOn \relative g'{ d2 d1*1/2\melisma \once \override NoteHead.style = #'cross c1*1/2\melismaEnd bes1 } } \new Lyrics = stanzaOne \lyricsto contra {ſe ſont les} >>\score{ \theStaff \layout{ indent = 0\cm \context { \PetrucciStaff \override Clef.break-visibility = ##(#f #f #t) \override TimeSignature.style = #'mensural \override NoteHead.ligature-flexa = ##f } }}\score { \theStaff \midi { \tempo 2 = 120 }}---Best regards,Tjeerd PinkertP.S. Would this be a useful addition to LilyPonds standard features?P.P.S. Original scores: https://gallica.bnf.fr/ark:/12148/btv1b525015926



Re: Automated crossed syllable binding notes?

2022-05-01 Thread Remy CLAVERIE


Hi Tjeerd,The two crosses are the symbol of a sharp, I think.Is the whole original score available on internet ?Thanks,Rémyenvoyé : 1 mai 2022 à 22:56de : "Tjeerd J. Pinkert" à : lilypond-user@gnu.orgobjet : Automated crossed syllable binding notes?Dear users,I'm trying to set some music in petrucci style. What I find often in the original scores are crosses that tie together two syllables of the song text, but that should have no note length in the score. A screenshot is attached as .png file.I came up with the code below that works both in the score and in the generated midi file, where the crossed notehead should take about half the note length (when it is not the same pitch). At least, I'm happy with that even when the pitches of note and crossed note are equal.Since this construction comes in larger multitudes in the scores I would like to automate it. E.g. by typing something like: d1\melisma c\melismaEndWordTieThis should than automatically add the *1/2, the override and the correct length to the crossed notehead. The crossed notehead in the original scores is independent from the length of the note in front of it.How can that be best done?---\version "2.22.0"theStaff = \new PetrucciStaff << \clef "petrucci-c2" \new PetrucciVoice = "contra" { \key f \major \time 2/2 \cadenzaOn \relative g'{ d2 d1*1/2\melisma \once \override NoteHead.style = #'cross c1*1/2\melismaEnd bes1 } } \new Lyrics = stanzaOne \lyricsto contra {ſe ſont les} >>\score{ \theStaff \layout{ indent = 0\cm \context { \PetrucciStaff \override Clef.break-visibility = ##(#f #f #t) \override TimeSignature.style = #'mensural \override NoteHead.ligature-flexa = ##f } }}\score { \theStaff \midi { \tempo 2 = 120 }}---Best regards,Tjeerd PinkertP.S. Would this be a useful addition to LilyPonds standard features?P.P.S. Original scores: https://gallica.bnf.fr/ark:/12148/btv1b525015926



Re: Incipit alignment

2022-04-19 Thread Remy CLAVERIE


Attached an other way to create aligned incipits.HTHRémyenvoyé : 19 avril 2022 à 16:34de : Adam Griggs à : lilypond-user@gnu.orgobjet : Re: Incipit alignmentUse that \incipit command, and move as much as you can to the \layout block to simplify the \score.See the attached file for how I do it. One catch though: you said you'd like the part names to be left-aligned. Sorry, I don't have time to set that up right now.Out of curiosity, what piece is that you are engraving there?On 19/4/22 10:50 pm, Martin Baker wrote:Thanks, David, that’s very helpful and certainly an improvement. I’ll keep working along the lines you suggest. M>> On 19 Apr 2022, at 14:41, David Kastrup  wrote: Martin Baker  writes:> Ah, I thought I’d deleted everything unnecessary, but missed the>>> “system-spacing = “ line. Code re-pasted below.>> Well, I outcommented it. You could try doing it in this manner: \version "2.22.2">> \language "english" incipitwidth = 5 global =>> {>> \key g \major>> } SopranoOne =>> \relative c''>> {>> e1 |>> } AltoOne =>> \relative c''>> {>> R1 |>> } TenorOne =>> \relative c'>> {>> R1 |>> } BassOne =>> \relative c'>> {>> R1 |>> } incipitCantus = \markup {>> \score>> {>> {>> \set Staff.instrumentName = "Cantus">> \override NoteHead.style = #'neomensural>> \override Rest.style = #'neomensural>> \override Staff.TimeSignature.style = #'neomensural>> \clef "petrucci-c1">> \key f \major>> \time 4/4>> d''1>> }>> \layout {>> line-width=\incipitwidth>> indent = 0>> }>> }>> } incipitAltus = \markup {>> \score>> {>> {>> \set Staff.instrumentName = "Altus">> \override NoteHead.style = #'neomensural>> \override Rest.style = #'neomensural>> \override Staff.TimeSignature.style = #'neomensural>> \clef "petrucci-c3">> \key f \major>> \time 4/4>> g'1>> }>> \layout {>> line-width=\incipitwidth>> indent = 0>> }>> }>> } incipitTenor = \markup {>> \score>> {>> {>> \set Staff.instrumentName = "Tenor">> \override NoteHead.style = #'neomensural>> \override Rest.style = #'neomensural>> \override Staff.TimeSignature.style = #'neomensural>> \clef "petrucci-c4">> \key f \major>> \time 4/4>> d'1>> }>> \layout {>> line-width=\incipitwidth>> indent = 0>> }>> }>> } incipitBassus = \markup {>> \score>> {>> {>> \set Staff.instrumentName = "Bassus">> \override NoteHead.style = #'neomensural>> \override Rest.style = #'neomensural>> \override Staff.TimeSignature.style = #'neomensural>> \clef "petrucci-f4">> \key f \major>> \time 4/4>> g1>> }>> \layout {>> line-width=\incipitwidth>> indent = 0>> }>> }>> } incipitWith = \with>> {>> \override InstrumentName.self-alignment-X = #RIGHT>> \override InstrumentName.self-alignment-Y = ##f>> } \score {>> <<>> \new ChoirStaff>> <<>> \new Staff \with \incipitWith <<>> \global>> \set Staff.instrumentName = \incipitCantus>> \clef "G">> \new Voice="v1" {>> \SopranoOne>> }>>  >> \new Staff \with \incipitWith <<>> \global>> \set Staff.instrumentName = \incipitAltus>> \clef "G">> \new Voice="v2" {>> \AltoOne>> }>>  >> \new Staff \with \incipitWith <<>> \global>> \set Staff.instrumentName = \incipitTenor>> \clef "G_8">> \new Voice="v3" {>> \TenorOne>> }>>  >> \new Staff \with \incipitWith <<>> \global>> \set Staff.instrumentName = \incipitBassus>> \clef "F">> \new Voice="v4" {>> \BassOne>> }>>  }>> \paper{>> indent = 3.5\cm>> % system-system-spacing =>> } Not fond of that indentation but not willing to invest time fixing it,>> either. I think there is an \incipit command that can help with the task but I>> am too lazy to read up on it right now. But it should be documented>> somewhere. At any rate, your code just needs working with the>> self-alignment-X and self-alignment-Y settings of the outer>> InstrumentName . -- >> David Kastrup>\version "2.18.2"

incipit =
#(define-music-function (parser location incipit-music) (ly:music?)
   #{
 \once \override Staff . InstrumentName . self-alignment-X = #RIGHT
 \once \override Staff . InstrumentName . self-alignment-Y = ##f
 \once \override Staff . InstrumentName . padding = #0.5
 \once \override Staff . InstrumentName . stencil =
 #(lambda (grob)
(let* ((instrument-name (ly:grob-property grob 'long-text)))
  (set! (ly:grob-property grob 'long-text)
#{ \markup { 
  \score
  {
{ \context PetrucciStaff \with {
  instrumentName = #instrument-name  
  \once \override Staff . KeySignature #'X-offset = #-1.2
  } $incipit-music
} 
\layout { $(ly:grob-layout grob)
  line-width = \indent
  indent =
  % primitive-eval is probably easiest for
  % escaping lexical closure and evaluating
  % everything respective to 

Re: Setting relative pitch as a global declaration?

2022-02-09 Thread Remy CLAVERIE


Alasdair,I am not sure to correctly understand what you want to do...Do you have a small example ?ThanksRémyenvoyé : 9 février 2022 à 08:16de : Alasdair McAndrew à : lilypond-user@gnu.orgobjet : Setting relative pitch as a global declaration?I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway:In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks.The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks likemovement1_part1 = \new Voice \relative c'' { notes, notes, and more notes }The difficulty is that I want to re-set the second part for a bass instrument, so it might start off asmovement1_part2 = \new Voice \relative c { notes, notes, and more notes }Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block?(Note, I have indeed RTFM, but it's quite hard - even with the search function - to find answers to this, or examples of such use. Hence this message...)Thank you,Alasdair-- 0432 854 858https://numbersandshapes.net



Re: Right justifying text between systems

2022-02-08 Thread Remy CLAVERIE


Hi Alaisdair,What about : \markup\fill-line{ \null \fontsize #2 \italic "Au Rondeau puis au premier"} ??Rémyenvoyé : 8 février 2022 à 08:04de : Alasdair McAndrew à : lilypond-user@gnu.orgobjet : Right justifying text between systemsHello,I'm typesetting some French late baroque music, which starts with the three movements Rondeau I, Rondeau II, Bourree I. After Rondeau II I need to include the text direction to repeat Rondeau I. In order to try to get the "feel" of the original, I want to have this text right justified on the page. The best I can find so far is to manually put some space before it and put this between two \score blocks:\markup {\hspace #70 \fontsize #2 {\italic {Au Rondeau puis au premier}}}This works, except for the vertical spacing - it's too far from the Rondeau II score block, and too close to the next score block for Bourree I. I want this text to be somehow "anchored" to Rondeau II, and let the page layout algorithm put as much space as it needs before Bourree I. I could do this by adding the text as a markup to one of the notes in the bottom staff of Rondeau II, but then it's too close to the score block. Does this make sense? What I want is:Rondeau IRondeau II"repeat Rondeau I" (and right justified)Bourree Iand with the text closer to Rondeau II than to Bourree I. I would have thought this would be trivial - and maybe it is - but I still can't work out how to do it. Thank you all!Alasdair-- https://numbersandshapes.net



Re: LilyPond website is not available in some countries

2021-11-02 Thread Remy CLAVERIE
Omid,

You should consider using a VPN, I think.

Good luck

Rémy

 

 

 

 

> Message du 02/11/21 16:14
> De : "Omid Mo'menzadeh" 
> A : "Phil Holmes" 
> Copie à : "lilypond-user" 

> Objet : Re: LilyPond website is not available in some countries
> 
>

Well, that's good news, since it would make fixing the problem a lot easier. 
Here is my output from "ping lilypond.org", which definitely is trying to get 
something from Google:
> PING lilypond.org (35.206.114.173) 56(84) bytes of data. 
> 64 bytes from 173.114.206.35.bc.googleusercontent.com (35.206.114.173): 
> icmp_seq=1 ttl=99 time=312 ms 
> 64 bytes from 173.114.206.35.bc.googleusercontent.com (35.206.114.173): 
> icmp_seq=2 ttl=96 time=279 ms 
> 64 bytes from 173.114.206.35.bc.googleusercontent.com (35.206.114.173): 
> icmp_seq=3 ttl=99 time=339 ms 
> 64 bytes from 173.114.206.35.bc.googleusercontent.com (35.206.114.173): 
> icmp_seq=4 ttl=96 time=310 ms 
> 64 bytes from 173.114.206.35.bc.googleusercontent.com (35.206.114.173): 
> icmp_seq=5 ttl=96 time=311 ms
> 


>

On Tue, Nov 2, 2021 at 5:13 PM Phil Holmes  wrote:
>


On 02/11/2021 12:53, Kevin Cole wrote:
>




>


>

On Tue, Nov 2, 2021 at 6:42 AM Omid Mo'menzadeh  wrote:
>


Hello all.
>
I'm not sure if this is the right list to post this, but I'll give it a shot 
here, and see where I should report this.
The problem seems to be the website's hosting, which appears to be provided by 
Google, which blocks access from certain countries in accordance with US law 
(with the error message "403. That’s an error. Your client does not have 
permission to get URL / from this server. That’s all we know."). This would not 
surprise me if LilyPond was not a GNU project, but it's a bit off at the 
moment, to say the least.
What I would want to know if this is something the team cares about, and where 
I should discuss this.
Thanks,
Omid Momenzadeh
>



I could  be mistaken -- I often am -- but...


I suspect it's merely that the site is designed to construct search queries 
using Google as the default search engine -- along with Google's option to 
limit the search to a particular site. This saves the maintainers from having 
to install a search engine and keep it updated.
> 
>
(One other negative consequence of this setup is that it randomly chooses the 
version of documentation -- e.g. If I am on a .../doc/v2.20/... page and search 
for a term, it will happily offer up a match from .../doc/v2.22/..., 
.../doc/2.18/... or whatever else it finds.)

>


> No - it's hosted on Google currently.

> --

> Phil Holmes
>






re: Noob can't make 2nd stanza lyrics

2021-04-21 Thread Remy CLAVERIE
Hi Stéphane,

 

I think you need to have several Lyrics like :

 

altoWords_A = \lyricmode {
    \set stanza = "1. "
  % 1st verse and chorus

}

 

altoWords_B = \lyricmode {
    \set stanza = "2. "
  % 2nd verse and chorus

}

 

altoWords_C = \lyricmode {
    \set stanza = "3. "
  % 3rd verse and chorus

}

 

and add them in the context

HTH

Rémy

 

> Message du 21/04/21 08:41
> De : "Stephane Krims" 
> A : "lilypond-user@gnu.org" 

> Copie à : 
> Objet : Noob can't make 2nd stanza lyrics
> 
>
Hi all,

>
I'm trying to make a vocal chart for a folk tune, but can't seem to figure out 
how to make the 2nd stanza appear.

>
I'm reticent about attaching the file here due to intellectual property 
concerns, but i've attached another file with the layout of what i've come up 
with so far. I've used an online template that i don't completely understand, 
so that might have something to do with it.

>
Can anyone tell me where the lyrics are supposed to go?

>
Thanks,
Stéphane

>
> [ ylj troubleshooting.ly (2.2 Ko) ]

re: Lyrics for ossia staff

2021-01-03 Thread Remy CLAVERIE
Hi Jerry,

 

Here is a MWE with ossia/lyrics:

 

\version "2.18.2"

OssiaLyrics = \lyricmode {
  Ma -- gni -- fi -- cat
}

\new Staff 
<<
  \new Voice \relative c {
    c''4 b d c
    <<
  { c4 b d c }
    \new Staff
    <<
  \new Voice = "V" \relative c'' { e4 d f e }
    >>
    >>
    c4 b c2 
  }
  \new Lyrics \lyricsto "V" \OssiaLyrics
>>

 

HTH,

 

Rémy

> Message du 03/01/21 18:22
> De : "JxStarks" 
> A : "lilypond-user" 

> Copie à : 
> Objet : Lyrics for ossia staff
> 
>

Hi all,

>
I expect this has been solved somewhere, but I can't find it. The documentation 
is good at explaining how to do something in isolation, but not so good at 
explaining how to do something in the middle of a different structure, such as 
a choir staff.

>
Anyway, I have a choir staff to which I want to add an extra staff for the 
Soprano I voices. I want the staff to appear at measure 27 and continue until 
measure 41 and then stop. I want the extra staff to contain both music and 
lyrics. 
>

>
I was able to get the staff and music to work fairly well using a structure 
suggested in a previous discussion on ossia staves. How can I get lyrics to go 
with it? The structure follows. Sorry it's so long: I'm not sure where all the 
commands need to be placed. If there's a more elegant solution, I'm all in 
favor of it, even if it means restructuring the whole piece: 
>

>

\version "2.18.2"

 

\header { }

 

global = {

  \key d \major

  \time 4/4

  \tempo 4=69

  \set Score.markFormatter = #format-mark-box-alphabet }

 

sopI = \relative c'' {

  \global

  \dynamicUp 

  Notes and rests.

}

 

ossia = \relative c’’ { \stopStaff s1*25 \startStaff 

   Notes and rests for auxiliary staff 

   \stopStaff

}

 

verseSopranoVoice = \lyricmode {  Lyrics here. }

 

olyrics = \lyricmode { Auxiliary lyrics here. }

 

altoVoice = same setup as sopI

  verseAltoVoice = same setup as sopI

tenorVoice = same setup as sopI

  verseTenorVoice = same setup as sopI

bassVoice = same setup as sopI

  verseBassVoice = same setup as sopI

 

sopranoVoicePart = << 

  \context Staff  = “top” \with { 

    instrumentName = "Sopranos"

    shortInstrumentName = \markup \center-column { "S1" "S2" }

    midiInstrument = "choir aahs"

}  { \new Voice = “1” \sopI }

  << 

    \lyrics { 

   \new Lyrics \lyricsto “1” \verseSopranoVoice }

 \new Staff \with {

   alignAbove Context = #”top”

    \remove “Time_signature_engraver”

    \override Clef #’transparent = ##t 

   } { \ossia } 

  >>  

}  

>> 

 

altoVoicePart = \new Staff \with { 

  instrumentName = “Altos”

  shortInstrumentName \ \markup \center-column { “A1” “A2” }

  midiInstrument = “choir aahs”

} { \altoVoice }

 \addlyrics { \verseAltoVoice }

 

tenorVoicePart = same setup as altoVoicePart

bassVoicePart = same setup as altoVoicePart

 

\score {

  <<

    \sopranoVoicePart

    \altoVoicePart

    \tenorVoicePart

    \bassVoicePart

  >>

  \layout { }

  \midi { }

}


>

Thanks,

Jerry Starks
>

 





Re: cues with lyrics

2020-04-19 Thread Remy CLAVERIE
Hello Paul,

 

Here is a small example to show you how I use lyrics for cue voices. I am not 
sure that it is the best lilypondic-way to code, but it works.

Have a nice day,

 

Rémy

PS : Sorry for the notes in Italian.

 

 

\version "2.18.2"
\include "italiano.ly"

cueVerseII = \new Voice \relative do' { 
  << { \new CueVoice = "cueA" \relative do'' { 
    \autoBeamOff \clef treble fad8. mi16 re8 dod re16[ \melisma mi re mi] 
dod8.[ si16] \melismaEnd 
    si2 r8 si4 do16[ re] do4 do r8 la4 si16[ do] si8 si la sol sol16[ \melisma 
la sol la] fad8.[ mi16] \melismaEnd mi2*1/4 } } \\
 { \override MultiMeasureRest #'staff-position = #7 R1*4 la''8\rest }
  >>
}

cueL_VerseII = \lyricmode { 
  \set stanza = "Sop. I: "  
  Je -- sus will mich de -- cken, Je -- sus, Je -- sus, Je -- sus, Je -- sus 
will mich de -- cken,  
}

VI_VerseII = \relative do''' {
  \time  4/4
  R1*16 \cueVerseII si8 si si sol do16 si la8. sol16 la4. sol16 fad sol8 la16 
sol fad8. mi16 red8 fad si4 r8 sol do4~ do8 si16 la si4~ si8 do16 si la8. sol16 
sol8 si sol8. fad16 mi4 r8 mi la8. sol16 fad8. mi16 red4 mi8. fad16
  sol2~ sol8 fad16 sol fad8 mi mi4. red8 mi4 la sol8 fad fad8. mi16 mi2\bar"|."
}

\score { 
  \new ChoirStaff 
  <<
    \new Staff
    <<
  \new Voice {
    << 
  \autoBeamOn
  \clef treble
  \VI_VerseII
    >>
  }
  \new Lyrics \lyricsto "cueA" \cueL_VerseII
    >>
  >>
  \layout {
    \context {
  \Score
  \compressFullBarRests
  \override LyricText #'font-size = #-1
  \override NoteHead #'style = #'baroque
    }  
  }
}

 

 

 

 

> Message du 19/04/20 07:37
> De : "Paul Scott" 
> A : "Xavier Scheuer" 
> Copie à : "lilypond-user Mailinglist" 

> Objet : Re: cues with lyrics
> 
>
On 4/18/20 9:26 PM, Xavier Scheuer wrote:
>

On Sun, 19 Apr 2020 at 02:03, Paul Scott  wrote:
> >
> > I posted this some time ago and didn't get answer so I thought I would
> > try again:
> >
> > This is an example that I reduced from a snippet.
> >
> > Can someone please tell me why the lyrics ("wordc") don't show up on the
> > third note (from the 2nd cueDuring)?
>

>
Hello,

>
It is hard to understand what you want to achieve here.
In addition your structure is strange. I do not expect the \new Voice = "cue" 
in the \addQuote command but rather below in your \score block.


> I want the cue lyrics to be on one line under the vocal cues.  This a 
> standard opera or musical show need for the instrumental parts.
>

> This was taken from a snippet that I can't find right now but this is a 
> working variation of it.  The lyric syllables are on one line and all at the 
> same level under the vocal cue notes:
>

> version "2.19.83"
> 
> oboeNotes = \relative c'' {
>   c2 r8 d16\f f e g f a
>   g8 g16 g g2.
> }
> 
> \addQuote oboeNotes
>   \new Voice = "cue"
>   \oboeNotes
> 
> lyr = \lyricmode {
>   xy a b c d e f g a h i
> }
> 
> <<
>   \new Staff
>     \new Voice = "Oboe" \oboeNotes
>     \new Lyrics \lyricsto "Oboe" \lyr
>   \new Staff
>     \new Voice
>   \relative c'' {
>     c2
>     <<
>       \cueDuring #"oboeNotes" #up { r2 }
>     >>
>     g2 c,
>   }
>     \new Lyrics = "cueLyrics"
>   \lyricsto "cue" {
>     \set fontSize = #-4
>     a b c d e f g a h i
>   }
> >>
> 
>




>
You only have one note in your oboe voice, hence only lyrics below this note.


> No. The one lyric is below a vocal cue.  I don't know why the second 
> syllable/word is not under the 2nd cue note.



If you want your lyrics to align on another voice then you can use a NullVoice 
context as explained in NR 2.1.2 Techniques specific to lyrics > Polyphony with 
shared lyrics
http://lilypond.org/doc/v2.21/Documentation/notation/techniques-specific-to-lyrics.html#polyphony-with-shared-lyrics


> 
>

> I don't quite see how your documentation reference works with vocal cues in 
> instrumental music.

> Thank you for replying,

> Paul

> 
>


>



>
Cheers,
Xavier
>

> -- 
>
Xavier Scheuer 

>




re: alignAboveContext for alto

2019-12-09 Thread Remy CLAVERIE
David,

 

If I correctly understand your problem, you need to have the Lyrics of the alto 
voice above the Staff after the eight bar.

I think the best solution is to use the 'alignAbovecontext' which sould be 
applied to a 'Staff' context. You will find a proposal attached to this email.

 

If you would like a more appropriate solution, tell me know.

 

Have a nice day,

 

Rémy

 

 

> Message du 08/12/19 20:42
> De : "David Olson" 
> A : "lilypond-user" 

> Copie à : 
> Objet : alignAboveContext for alto
> 
>

Dear Lilyponders,
 
Suppose I have a ChoirStaff with four voices,
 
and stanzas are sung by everybody, but distributed between the voices (less 
cluttered).
 
<<
>    \new Voice = "one" { \sopranoMusic }
>    \new Lyrics \lyricsto "one" \stanzaOne
>    \new Voice = "two" { \altoMusic }
>    \new Lyrics \lyricsto "two" \stanzaTwo
>    <<
>    >>
>    \new Voice = "three" { \tenorMusic }
>    \new Lyrics \lyricsto "two" \stanzaThree
>    \new  Voice = "four" { \bassMusic }
>    >>
>
However, soprano & tenor have 8 measures rest; ideally those lyrics (14 
syllables) can be set with reference to the alto voice.
 
When compiling, the order matters:
"two" (alto) has been read when "three" (tenor) is compiled, so stanza three 
lyrics appear below tenor rests.
 
But "one" cannot reference "two", so no lyrics will appear if    
>    \new Voice = "one" { \sopranoMusic }
>    \new Lyrics \lyricsto "two" \stanzaOne
 
   Warning: cannot find Voice `two'
>
 
Alternatively:  alignAboveContext
 
(what is the "context"?)



>
{ alignAboveContext = "two" }

{ alignAboveContext = "Voice" }
{ alignAboveContext = "altoMusic" }
 

 
   \new Voice = "two" { \altoMusic }
>    \new Lyrics 
> \with { alignAboveContext = "two" } {\lyricsto "two" \stanzaFirst }
>    \new Lyrics \lyricsto "two" \stanzaTwo
>

>
This just prints the "stanzaFirst" section below alto.
 
Assistance will be greatly appreciated,
 
David Olson
Los Angeles, California
 



>
> [ Puzzled_by_The_Marcellas.ly (4.9 Ko) ]\version "2.18.2-1"
\header {
  title = "The Marcellas. 7s."
  subtitle = ""
  piece = "E♭ Major. John Cenick (1742)"
  composer = "Edmund Dumas (1859); alto 1911 S.M. Denson"
  tagline = ""
}

#(set-default-paper-size "legal" 'landscape)

stanzaOne = \lyricmode {
  \set stanza = "1."
  Child -- ren of the heav’n -- ly King,
  As we jour -- ney, sweet -- ly sing;
  Sing your Sav -- ior’s wor -- thy praise,
  Glor -- ious in His works and ways;
  Sing your Sav -- ior’s wor -- thy praise,
  Glor -- ious in His works and ways.
}


stanzaTwo = \lyricmode {
  \set stanza = "2."
  Fear not, breth -- ren;  joy -- ful stand
  On the bor -- ders of your land;
  Je -- sus Christ, your Fath -- er’s Son,
  Bids you un -- dis -- mayed go on;

  Je -- sus Christ, your Fath -- er’s Son,
  Bids you un -- dis -- mayed go on.
}

stanzaThree = \lyricmode {
  \set stanza = "3."
  Lord, sub -- mis -- sive make us go,
  Glad -- ly leav -- ing all be -- low;
  On -- ly Thou our lead -- er be,
  And we still will fol -- low Thee;
  On -- ly Thou our lead -- er be,
  And we still will fol -- low Thee.
}

stanzaFirst = \lyricmode {
  \set stanza = ""
  _ _ _ _ _ _ _ _ 
  _ _ _ _ _ _ 
  Sing your Sav -- ior’s wor -- thy praise.
  Glor -- ious in His works and ways.
}

sopranoMusic = {
  \sacredHarpHeads
  \set shapeNoteStyles = ##(fa #f la fa #f la mi)
  \clef treble
  \key ees \major
  \autoBeamOff

  \numericTimeSignature
  \time 2/4
  \relative c'' {
\override Voice.Stem.thickness = #2.5
g4 g | ees' ees | ees c | bes2 | 
c4 ees | bes ees | g ees | f2 | 
R2*4 | 
R2*4 | 
ees4 c | ees g | g ees | ees2 | 
ees4 ees | bes c | bes ees | ees2 |
  }
}

altoMusic = {
  \sacredHarpHeads
  \set shapeNoteStyles = ##(fa #f la fa #f la mi)
  \clef treble
  \key ees \major
  \autoBeamOff

  \numericTimeSignature
  \time 2/4
  \relative f' {
\override Voice.Stem.thickness = #2.5
g4 bes | g ees | g f | g2 | 
g4 ees | ees g | g bes | f2 | 
ees4 g | g g | ees8[ f] g[ f] | g2 | 
g4 ees | g f | g ees | g2 | 
g4 g | g ees | ees g | g2 | 
g4 ees | ees ees | ees f | g2 
  }
}

tenorMusic = {
  \sacredHarpHeads
  \set shapeNoteStyles = ##(fa #f la fa #f la mi)
  \clef treble
  \key ees \major
  \autoBeamOff
  \numericTimeSignature
  \time 2/4
  \relative g' {
\override Voice.Stem.thickness = #2.5
bes4 ees, | bes' c | bes aes | g2 | 
ees4 bes' | g c | bes aes | bes2 |
\repeat volta 2 {  
  R2*4 | bes4 ees | bes g | bes ees | bes2 | 
  bes4 ees | bes g | g c | bes2 | 
  bes4 aes | g aes | bes c | bes2   
}
  }
}

bassMusic = {
  \sacredHarpHeads
  \set shapeNoteStyles = ##(fa #f la fa #f la mi)
  \clef bass
  \key ees \major
  \autoBeamOff
  \numericTimeSignature
  \time 2/4
  \relative f {
\override Voice.Stem.thickness = #2.5
ees4 g | ees4 g | ees c | 

Re: Critical-edition-style footnotes

2019-11-16 Thread Remy CLAVERIE
Hi Stacy,

 

Here is a excerpt of a score, including a markup with a score inside (version 
2.16.2) :

 

  d1 ~d8 fis8 gis8
  ^\footnote \markup \tiny "See footnote" #'(-.1 . .1) \markup {
    \lower #0.8 { \super { * } } "Original:"
    \left-align \score {
  \new Staff \with {
    \remove "Time_signature_engraver"
    fontSize = #-4
    \override StaffSymbol #'staff-space = #(magstep -4)
    \override StaffSymbol #'thickness = #(magstep -4)
    %firstClef = ##f
  }
  \relative do' {
    \time 2/1
    \clef treble
    \bar"|"
    d2. fis4 gis a b d, 
  }
  \layout {
    indent = 0\cm
    ragged-last = ##t
  }
    }
  } [
  \melisma a8] b4 d, \melismaEnd d1

 

 

HTH

Rémy

 

> Message du 17/11/19 02:34
> De : "Carl Sorensen" 
> A : "Stacy Fatemi" , "lilypond-user@gnu.org" 

> Copie à : 
> Objet : Re: Critical-edition-style footnotes
> 
>

 

 


From: Stacy Fatemi 
> Date: Saturday, November 16, 2019 at 12:57 PM
> To: 

> Subject: Critical-edition-style footnotes



 




Hey all,



 



I’ve been wanting to add footnotes to a score that include miniature-sized 
scores like in this critical edition of Pictures at an Exhibition. I know 
\score can be contained within \markup and I know EPS files can be embedded, 
but what’s the simplest solution? How do you get something elegantly spaced 
like in the attached picture? Thank you!

 

Scores can be placed in markups.

 

HTH,

 

Carl

 



 


 







Re: Choral scores conventions question

2019-08-20 Thread Remy CLAVERIE
I think you're right because the numbering has changed over the last century 
and I'm not familiar with it. The lithurgy at Luther's time had 150 psalms. 

 

Rémy

 

 

 

> Message du 20/08/19 16:02
> De : "Karlin High" 
> A : "Remy CLAVERIE" , "Kieren MacMillan" , "Jacques Menu" 
> Copie à : "Lilypond-User Mailing List" 

> Objet : Re: Choral scores conventions question
> 
> On 8/20/2019 8:58 AM, Remy CLAVERIE wrote:
> > (there are no more than 150 psalms)
> 
> Well, I've heard the Orthodox traditions have 151. :)
> 
> But good catch; I hadn't thought of that at all.
> -- 
> Karlin High
> Missouri, USA
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Choral scores conventions question

2019-08-20 Thread Remy CLAVERIE
Greetings to all,

 

This piece does not come from a book of psalms (there atre no more than 150 
psalms) but from a song book (GesangBuch) and this is not the original metering 
which is only 2/2. the original pitch is also a 3rd higher.

 

Have a nice day,

Rémy

 

 

> Message du 20/08/19 15:47
> De : "Karlin High" 
> A : "Kieren MacMillan" , "Jacques Menu" 
> Copie à : "Lilypond-User Mailing List" 

> Objet : Re: Choral scores conventions question
> 
> On 8/20/2019 8:22 AM, Kieren MacMillan wrote: > Tick bar lines = uncommon 
> This is coming from a Psalter of some sort? Originally unmetered, perhaps? I 
> cannot find a reference just now, but I seem to remember a prior discussion 
> (perhaps Simon Albrecht, or not) that the tick bar lines (from top to middle 
> of staff) are indicators of imprecise meters, chants, or some such. -- Karlin 
> High Missouri, USA ___ 
> 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: "D.C. al Fine" best practice

2019-05-13 Thread Remy CLAVERIE
I Confirm the Vaughan's opinion.

'Behind bars' is a must have book, very well structured and documented. I paid 
it around 60€ in  2015.

 

Rémy

 

 

 

 

> Message du 14/05/19 03:11
> De : "Vaughan McAlley" 
> A : "lilypond-user" 

> Copie à : 
> Objet : Re: "D.C. al Fine" best practice
> 
>

On Tue, 14 May 2019 at 05:00, mu...@gmx.ch  wrote:
>

Hello Rémy
> 
> Thanks for the background information. Maybe this book might be a
> valuable birthday gift in case my wife asks me next time ;-)
> 
>

>
You won't regret it. There isn't always only one way to do something, but if 
you're in doubt, Gould's suggestion is always a pretty good bet. My choral 
scores look much nicer than they used to :-)
> 
>
Vaughan
>  
>





___
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: "D.C. al Fine" best practice

2019-05-13 Thread Remy CLAVERIE
Hi Stephan,

 

Elaine Gould (Behind bars - Ed. Faber Music) wrote 2 pages on Da Capo and Dal 
Segno layouts.

Her recommandation is to add the term 'al Fine ' below the 'D.C' term. No 
more...

 

But from the example, we can see (page 238) that this markup is written below 
the staff, in italic and is aligned at the right of the end bar.

 

HTH

 

The best,

 

Rémy

 

 

 

> Message du 13/05/19 17:57
> De : "mu...@gmx.ch" 
> A : "lilypond-user" 

> Copie à : 
> Objet : "D.C. al Fine" best practice
> 
> Hi folks
> 
> I can imagine several ways of displaying / tweaking / formatting "Fine"
> and "D.C. al Fine" markups. Probably the simplest might be:
> 
> \version "2.19.83"
> 
> melody = \relative c' {
> c4 d e f \bar "||" \mark \markup {Fine}|
> g8 g a f g g g4\fermata \bar "|." \mark \markup { "D.C. al Fine"}
> }
> 
> \score {
> \melody
> \layout { }
> }
> 
> According to my score reading and interpreting experience,
> * the markups are usually set in bold letters an horizontally right-
> aligned to the bar line;
> * "Fine" should stay in the first bar on the first line as it is not a
> rehearsal mark
> 
> As always I'm aiming to make use of Lilypond's great default engraving
> capabilities the most possible with as few tweaks, "intransparent" lines
> of code, and absolute positionings etc. as possible.
> 
> Which is your recommended "good" way? What's your experience?
> 
> TIA
> Stephan
> 
> ___
> 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: multiple cues with lyrics 2.19..83

2019-05-11 Thread Remy CLAVERIE
Hi Paul,

 

I don' know why the code doesn't work as expected because I dislike the 
cueDuring function.

Nevertheles, here is a proposal with an other solution :

 

\version "2.18.2"

oboeNotes = \relative c' {
  R1 a'1 R1
}
CueNotes = \relative c' {
  c1 s1 d
}
words = \lyricmode { worda wordc }

oboeAndCueNotes = \new Voice \relative {
  << { \new Voice { \oboeNotes } }\\
  {\new CueVoice = "cue" { \CueNotes } }>>
}

\new Staff
<<
  \new Voice { \oboeAndCueNotes }
  \new Lyrics = "cueLyrics" \lyricsto "cue" { \set fontSize = #-4 \words }
>>

 

HTH

 

The best,

 

Rémy

 

 

 

 

> Message du 11/05/19 01:21
> De : waterho...@ultrasw.com
> A : lilypond-user@gnu.org
> Copie à : 
> Objet : multiple cues with lyrics 2.19..83
> 
> This is an example that I reduced from a snippet.
> Can someone please tell me why the lyrics ("wordc") don't show up on 
> the third note (from the 2nd cueDuring)?
> 
> TIA,
> 
> Paul
> 
> 
> \version "2.19.83"
> 
> vcNotes = \relative{ c'1 a d }
> \addQuote qvc \vcNotes
> 
> oboeNotes = \relative{
> \cueDuring qvc #down R1 a'1 \cueDuring qvc #down R1
> }
> 
> \addQuote oboeNotes
> \new Voice = "cue"
> \oboeNotes
> 
> words = \lyricmode{
> worda wordb wordc
> }
> 
> <<
> \new Staff
> \new Voice \oboeNotes
> \new Lyrics = "cueLyrics"
> \lyricsto "cue" {
> \set fontSize = #-4
> \words
> }
> 
> 
> 
> 
> 
> ___
> 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: How to get a empty page?

2018-10-01 Thread Remy CLAVERIE
Hi Bernhard,

 

To have an empty, I use this bookpart :

 

\bookpart {
    \markup \null \pageBreak
    \header {
  tagline = ##f

  title= ##f

  composer = ##f
    }
  }

 

HTH

 

Have a nice day,

 

Rémy

 

 

> Message du 01/10/18 13:42
> De : "Bernhard Kleine" 
> A : lilypond-user@gnu.org
> Copie à : 
> Objet : How to get a empty page?
> 
> I want to be able later to add something to a score. For that reason I
> would like to have an empty page on page 9 and continue with page 10.
> 
> What do I have to tweak to get that. Would it also be possible to
> continue with page 11 or 12?
> 
> Thanks a lot
> 
> Bernhard
> 
> -- 
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kle...@gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schlüssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
>
> [ signature.asc (0.8 Ko) ]___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tromba "mo"

2018-02-09 Thread Remy CLAVERIE
Thanks a lot !

 

I confirm that I.mo stands for 'Primo' and 2.do stands for Secundo.

 

Have a nice day,

 

Rémy

 

 

 

> Message du 09/02/18 11:48
> De : "Johannes Roeßler" 
> A : "Remy CLAVERIE" , lilypond-user@gnu.org
> Copie à : 
> Objet : Re: Tromba "mo"
> 
>
> sure, but maybe we shouldn't double our efforts - I'm nearly finnished with 
> the edition and will provide it on IMSLP...
> Its Johann Ernst Bachs Cantata "Ein feste Burg" 
> http://bach.joei.de/2018/02/09/ein-feste-burg/
> 
> cheers, Joei
>

> I am also interested by the fasimile of this cantata. Could you send us the 
> web link ?



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


Re: Tromba "mo"

2018-02-09 Thread Remy CLAVERIE
Hi Johannes,

 

I am also interested by the fasimile of this cantata. Could you send us the web 
link ?

 

Thanks a lot,

 

Rémy

 

 

 

 

> Message du 09/02/18 09:58
> De : "Johannes Roeßler" 
> A : "Andrew Bernard" , lilypond-user@gnu.org
> Copie à : 
> Objet : Re: Tromba "mo"
> 
>
Hi Andrew, 
> a 18th century cantata - I found (very few) links with google where you can 
> see "Tromba I mo" "Oboe I mo" and "Cornu I mo"  - so its not a typo... 
> 
> Joei
>



Hi Johannes,
> 
>
What MS, what context? I don't know of 'mo' in any tonic sol fa.
> 
>
Andrew
> 
>


>


>
On 9 February 2018 at 19:40, Johannes Roeßler  wrote:
>


> I've got a manuscript with two "Trombas" - in "mo" and "do". While "do" 
> sounds like the "do" from Solmization,
> I've no idea regarding the "mo" or should that be like a darker toned "mi" - 
> so mi-flat?- anyone?
> 
>





> 
>




___
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: Switch back a \voiceOne to \oneVoice

2017-10-15 Thread Remy CLAVERIE
Hi Robert,

 

Instead of using \voiceTwo, you could add a new tag : \tag #'tag_orchestral { 
\voiceTwo}

 

I think this method will give you the expected result.

 

HTH

 

Rémy

 

 

> Message du 15/10/17 16:21
> De : "Robert Kubosz" 
> A : lilypond-user@gnu.org
> Copie à : 
> Objet : Switch back a \voiceOne to \oneVoice
> 
> Hi everyone!
> 
> I have a project with many music pieces for brass orchestra. I wrote
> a score template with tags, so I can easily extract parts from it.
> I works almost perfectly, but a extracted voice is still engraved as
> \voiceOne or \voiceTwo instead of default engraving like \oneVoice.
> I really dig this problem, but I have no idea how to fix it.
> 
> Here is an attached snippet.ly file to show you what I get and what
> I want. I ask you if you could share some advise with me and help me fix it.
> 
> Robert
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
>
> [ snippet.ly (1.8 Ko) ]
> [ kubosz_robert.vcf (0.2 Ko) ]___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-25 Thread Remy CLAVERIE
Hi Luca,

 

I think that you have to donwload the fonts into the '.fonts' directory of your 
home (beware to the 's' at the end of the name). If it does'nt exist, you must 
create it. Then, run the 'fc-cache -v- -f' and all the new fonts should be 
available for all the software, including libreoffice.

 

Let me know if it doesn't work,

 

Have a nice day,

 

Rémy

 

 

 

 

 

> Message du 25/06/17 18:33
> De : "Luca Danieli" 
> A : "lilypond-user@gnu.org" 

> Copie à : 
> Objet : Install LilyBoulez or other alternative fonts on Ubuntu
> 
>

> Hello,

> 
>

> I have searched for this information on READMEs, internet search engines and 
> on previous Lilypond emails but I didn't understand how to move.

> I am on Ubuntu and I would like to add one font from the OpenLilyPontFonts 
> repository to my Lilypond. Can someone give me a few hints on how to move or 
> where to find information about?

> 
>

> I guess that I have to download the library and place it somewhere, but I am 
> not aware of where fonts are placed within my machine.

> 
>

> Thank you

> Luca





___
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: Permission for music

2017-05-24 Thread Remy CLAVERIE
May be she was talking about the IMSLP website ?

The best,

 

Rémy

 

 

 

 

 

> Message du 24/05/17 11:10
> De : "Manuela Gößnitzer" 

> A : "Sarah Fosdick" 
> Copie à : "lilypond-user Mailinglist" 

> Objet : Re: Permission for music
> 
>


Which website would that be? AFAIK this here is a mailing list, there is no 
website with music sheets.
> 
>
Greetings
>
Manuela
>

>
2017-05-24 2:40 GMT+02:00 Sarah Fosdick :
>

Hi, I am a piano student, and I have a piano test coming up. I know the song 
"Comptine d'un autre été - L'aprés-midi by Yann Tiersen. I printed the sheet 
music off your website, and was wondering if I have permission to use the music 
for my coming up piano test?
Thank you!


> ___
> 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

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


re: Can an augmentation dot be parenthesized?

2017-05-24 Thread Remy CLAVERIE
Hi Robert,

 

You can use this definition:

ficta = { \once \override AccidentalSuggestion #'parenthesized = ##t \once \set 
suggestAccidentals = ##t }

 

And use it this way just before the note with an ? : cis4 \ficta cis? 

 

Have a nice day,

 

Rémy

 

 

> Message du 24/05/17 10:59
> De : "Robert Blackstone" 
> A : lilypond-user@gnu.org
> Copie à : 
> Objet : Can an augmentation dot be parenthesized?
> 
>Dear all,
I'm transcribing a few handwritten late 17th century fragments of music.

>
There are a few problematic spots. (Perhaps the composer or writer was in a 
hurry, the whole thing is difficult to read anyway and it contains some symbols 
I've never seen before. see screensho.t)

>
For two consecutive bars the time seems to have changed, from 6/2 to 5/2, 
which, as far as I know, was never done in that period. There is, in fact no 
time signature at all but 11 of the 13 bars in the fragment are clearly in 6/2 
(or perhaps 3/1) and 2 bars contain notes and rests in both staves that add up 
to 5/2

>
That leaves me with the choice: either to ignore it, or correct it. In the 
latter case I would have to add an augmentation dot to a few notes and rests.

>
Can anybody tell what the standard procedure is in cases like this one:
- ignore, i.e. tweaking things so that it looks exactly like the manuscript , or
- correct it. In the latter case the corrections or corrected symbols must 
probably be marked somehow. I can place (?) above the corrected note or rest, 
which is not very specific. 

>
I would tather like to parenthesize these added augmenation dots but I've not 
found a way to do that.

>
Is it at all possible? And if yes, how?

>
Thanks in advance for any advice.

>
Best regards, 

>
Robert Blackstone

>


>



___
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: Add second set of lyrics part way through a movement

2017-05-20 Thread Remy CLAVERIE
Hello Dirk,

 

Could you give me the complete example. I will try to see howto to resolve your 
problem.

thanks a lot

 

Rémy

 

 

 

 

 

> Message du 20/05/17 18:24
> De : "Dirk Koopman" 
> A : lilypond-user@gnu.org
> Copie à : 
> Objet : Add second set of lyrics part way through a movement
> 
> I am trying to set a Victoria mass's Agnus Dei. Most of the words are 
> the same, but there are two endings, basically "miserere nobis" and 
> "dona nobis pacem".
> 
> textocantus=\lyricmode{
> A -- gnus De -- _ _ i,
> A -- gnus __ _
> De -- _ _ _ _ i,
> A -- gnus De -- _ _ _ _ _ _ _ i,
> qui tol -- lis pec -- ca -- ta mun -- _ _ _ _ _ _ di,
> qui tol -- lis pec -- ca -- ta mun -- _ _ di,
> pec -- ca -- ta mun -- _ _ _ _ _ _ _ _ di, __
> pec -- ca -- ta mun -- _ _ _ _ _ _ di,
> }
> 
> tcm=\lyricmode {
> mi -- se -- re -- re no -- _ _ bis,
> mi -- se -- re -- re no -- _ _ _ _ _ _ bis,
> mi -- se -- re -- re no -- bis,
> mi -- se -- re -- re no -- _ _ _ _ _ bis,
> mi -- se -- re -- re no -- _ bis.
> }
> 
> tcd=\lyricmode{
> do -- _ na no -- bis pa -- _ _ _ cem,
> do -- na no -- bis pa -- _ _ _ _ _ _ cem,
> do -- na no -- bis pa -- cem,
> do -- na no -- bis pa -- _ _ _ _ _ cem,
> do -- na no -- bis pa -- _ _ cem.
> }
> 
> The first part would look something like this:
> 
> \score {
> \new ChoirStaff <<
> \new Staff = "v1" {
> \set Staff.instrumentName = "Cantus"
> \set Staff.shortInstrumentName = "C"
> \clef treble
> \new Voice = "v1" {
> \global
> \cantus
> }
> }
> \new Lyrics = "v1"
> 
> \context Lyrics="v1" {
> \lyricsto "v1" {
> \textocantus
> 
> %<<
> \tcm
> 
> %\tcd
> %>>
> 
> }
> }
> 
> ...
> 
> The net result wants to look rather like this:
> 
> "... peccata mundi, miserere nobis."
> " dona nobis pacem."
> 
> Any suggestions?
> 
> Dirk
> 
> ___
> 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: Lilypond document reformatting script?

2017-03-30 Thread Remy CLAVERIE
Hi Devon,

 

As a Python programmer I could help you, but I did not understand what is the 
job to do...

Could you send me some files and explain with a example what you'ld like ?

 

Thanks a lot

 

Rémy

 

 

 

 

 

> Message du 30/03/17 10:45
> De : "Devon LePage" 
> A : "Lilypond-User Mailing List" 

> Copie à : 
> Objet : Lilypond document reformatting script?
> 
>
I’m currently working on a project that involves importing a lot of music into 
LilyPond via MusicXML. (Before this, the music is scanned and OCR-ed in Smart 
Score X2, if that is relevant.)

>
Unfortunately, the resulting LilyPond code is a bit messy and difficult to 
read. I'd like to reformat these files so that there’s only one measure on each 
indented line.

>
Doing this by hand takes up a significant amount of time, so I’ve been trying 
to create a python script that uses the ly.lex package to do this. Has anyone 
already done this? I couldn’t find anything, so I tried to do it myself. But 
after four hours of frustration I'm starting to think that I might be too much 
of a novice to figure this out. There are just too many moving parts for me—I’m 
having a hard time just figuring out how to add a newline in the middle of a 
small lilypond document. I’m also unsure how to incorporate tuplets into the 
determination of a measure.

>
I’m wondering if there’s a wizard here on the mailing list who might be able to 
help me out? (Another dream would be to have a function that adds a second 
newline after every group of N-measures.)

>
At the very least, maybe someone could point me in the right direction: what do 
I need to read/understand to figure this out? How would one go about doing this?

>
Thanks,
-Devon.




___
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: Horizontal positioning of rests

2016-09-01 Thread Remy CLAVERIE
 

Thanks a lot,

Rémy

 

 

 

> Message du 02/09/16 07:03
> De : "David Wright" 

> A : "Remy CLAVERIE" 
> Copie à : lilypond-user@gnu.org, "Karen Billings" 
> Objet : Re: Horizontal positioning of rests
> 
> On Fri 02 Sep 2016 at 06:55:31 (+0200), Remy CLAVERIE wrote:
> > Hi David,
> > What is the book that you named 'NM' ?
> 
> Sorry,... The Notation Manual for LilyPond. Page references are from
> the PDF for the 2.18.2 version that Karen uses in the example:
> 
> http://lilypond.org/doc/v2.18/Documentation/notation.pdf
> 
> Cheers,
> David.
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Horizontal positioning of rests

2016-09-01 Thread Remy CLAVERIE
Hi David,

 

What is the book that you named 'NM' ?

Thanks a lot

Rémy

 

 

 

 

 

> Message du 02/09/16 05:15
> De : "David Wright" 

> A : "Karen Billings" 
> Copie à : "Lilypond-User Mailing List" 

> Objet : Re: Horizontal positioning of rests
> 
> On Thu 01 Sep 2016 at 20:49:04 (+), Karen Billings wrote:
> > Hi all,
> > Sorry to bother you with a beginner's problem... I have been using Lilypond 
> > for about a year now, and all that time I have had problems with rest 
> > positioning. I've been dealing with it, but it's becoming more of a problem 
> > now that trying to read multi-line scores...
> > The documentation states that rests are, by default, always centered 
> > horizontally.  For some reason, mine always end up left-justified.  What am 
> > I doing wrong and how can I correct it?
> > I've attached a picture of the problem, along with my .ly file (version 
> > 2.18.2).
> 
> NM p53 says "Whole measure rests, centered in the middle of the
> measure, must be entered as multi-measure rests. They can be used for
> a single measure as well as many measures and are discussed in [Full
> measure rests], page 55."
> 
> Only that type of rest will center.
> 
> David K has pointed out your use of stemUp etc. This is because you're
> trying to manually do what \voiceOne, \voiceTwo etc can do for you
> automatically.
> 
> I've commented out the things you no longer need. However, you'll
> notice that one new problem arises: the *vertical* placement of
> rests. They're fine when only one voice has a rest, but you get two
> stacked rests when both have a rest.
> 
> One way of countering that is to put a rest in one part, a skip in the
> other, and either use manual height adjustment (you know how to do
> this already) or prefix rests with \oneVoice and suffix with \voiceXxx.
> 
> This is tedious, and doesn't work if you ever want to set the parts
> on four staves instead of two, eg, when a bit of counterpoint crops up.
> 
> Better is to use the code from here:
> 
> %% Merges ordinary rests when they're the same in two parts on a stave.
> 
> %% http://lsr.dsi.unimi.it/LSR/Item?id=336
> %% see also http://code.google.com/p/lilypond/issues/detail?id=1228
> 
> (I hope those references are up-to-date.)
> 
> Unfortunately, multimeasure rests are a different beast from ordinary
> ones and have to be treated separately. I add:
> 
> %% Because this code doesn't handle multimeasure rests, this hack is
> %% included here, which fixes multimeasure rests on their normal line:
> 
> mmrest = { \once \override MultiMeasureRest.staff-position = #2 }
> 
> %% and is used thus: \mmrest R1 \mmrest R1 * 9/8 etc.
> 
> to the top of the scheme code in the .ily file.
> 
> BTW note that I put the \voiceOne in the \score structure, not in
> the oneSop definition. This enables you to use the same oneSop
> definition in both two or four stave \scores.
> 
> Cheers,
> David.
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
>
> [ diess-snip.ly (3.2 Ko) ]
> [ diess-snip.pdf (140.2 Ko) ]___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Melisma problems

2016-05-24 Thread Remy CLAVERIE
Charles,

 

Could you tell us where this piece come from ?

Thanks a lot !

 

Rémy

 

 

 

 

 

 

> Message du 24/05/16 17:11
> De : "Charles Johnson" 
> A : "Remy CLAVERIE" , "LilyPond Users" 

> Copie à : 
> Objet : Re: Melisma problems
> 
> On 24/05/16 16:01, Remy CLAVERIE wrote:
> >
> > Like that :
> >
> Exactly! Thanks so much. I thought it could be done simply without some 
> of the complexities suggested in the docs on melismas
> 
> 
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


re: Melisma problems

2016-05-24 Thread Remy CLAVERIE
Like that :

 



\version "2.14.2"

 

PartPOneVoiceTwo = \relative f {

\clef "treble_8" \key a \major \time 4/4

a2 a4 a4 a2 a4 r4

a2 a4 a4 a2 a4 r4

a2. gis4 fis1

e1 a2 r2

a2 a4 a4 a2 a4 r4

g2 g4 bes d4. d,8 d4 r4

d2 e4 e a2 a2

fis4 fis a4 a

b2 b2 b1 e,2 r2

e2 gis4 b ais2 ais

b2. b4 ais2 ais4 r4

b2 b4 b c2 c4 r4

d2. d4 d2 e2 fis4 r4 r2

% bars 29 - 31 inc. are totally silent

r1 r1 r1

a,2 a4 a4 a2 a4 r4

a2 a4 a4 a2 a4 r4

d2 cis4 cis4 b2( a2 gis2 a4) a'4

fis8( gis a gis) fis( gis a4)

e1 a,4 r4 r2 r1 r1 r1 r1 r1

 

\bar "|."

}

 

PartPOneVoiceTwoLyricsOne = \lyricmode {

A -- ve Ma -- ri -- a,

Gra -- ti -- a ple -- na,

Do -- mi -- nus

te -- cum,

be -- ne -- dic -- ta tu

in mu -- li -- e -- ri -- bus,

et be -- ne -- di -- ctus

fru -- ctus ven -- tris

tu -- i Je -- sus.

San -- cta Ma -- ri -- a,

Ma -- ter De -- i,

O -- ra pro no -- bis

pec -- ca -- to -- ri -- bus,

o -- ra pro no -- bis,

o -- ra pro no -- bis,

nunc, et in ho -- ra

mor -- tis

nos -- træ.

}

 

% The score definition

\new PianoStaff <<

\context Staff = "1" <<

\context Voice = "PartPOneVoiceTwo" { \PartPOneVoiceTwo }

\new Lyrics \lyricsto "PartPOneVoiceTwo" \PartPOneVoiceTwoLyricsOne

>>

>>

 

 

Regards


Rémy

 

 

 

 

> Message du 24/05/16 16:48
> De : "Charles Johnson" 
> A : "LilyPond Users" 

> Copie à : 
> Objet : Melisma problems
> 
> Just can't seem to get the end of this right. 'mortis' should fill the 
> final group of quavers, with the 'tis' being on the crotchet. The 'ra' 
> of 'hora' should fall on the high A crotchet preceding those quavers and 
> 'nostrae' should take care of the last two notes.
> 
> TIA. I'd love to give the men this score correct in a couple of hours.
> 
> 
> 
> 
> 
> 
> ===
> 
> \version "2.14.2"
> 
> PartPOneVoiceTwo = \relative f {
> \clef "treble_8" \key a \major \time 4/4
> a2 a4 a4 a2 a4 r4
> a2 a4 a4 a2 a4 r4
> a2. gis4 fis1
> e1 a2 r2
> a2 a4 a4 a2 a4 r4
> g2 g4 bes d4. d,8 d4 r4
> d2 e4 e a2 a2
> fis4 fis a4 a
> b2 b2 b1 e,2 r2
> e2 gis4 b ais2 ais
> b2. b4 ais2 ais4 r4
> b2 b4 b c2 c4 r4
> d2. d4 d2 e2 fis4 r2.
> % bars 29 - 31 inc. are totally silent
> r1 r1 r1
> a,2 a4 a4 a2 a4 r4
> a2 a4 a4 a2 a4 r4
> d2 cis4 cis4 b2 ( a2 gis2 a4 a'4 )
> fis8 ( gis a gis fis gis a4 )
> e1 a,4 r2. r1 r1 r1 r1 r1
> 
> \bar "|."
> }
> 
> PartPOneVoiceTwoLyricsOne = \lyricmode {
> A -- ve -- Ma -- ri -- a
> Gra -- ti -- a ple -- na
> Do -- mi -- nus
> te -- cum
> be -- ne -- dic -- ta -- tu
> in mu -- li -- er -- i -- bus
> et be -- ne di -- ctus
> fru -- ctus ven -- tris
> tu -- i Je -- sus
> Sa -- ncta Ma -- ri -- a
> Ma -- ter De -- i
> O -- ra pro no -- bis
> pe -- cca to -- ri bus
> o -- ra pro no -- bis
> o -- ra pro no -- bis
> nunc et in ho -- ra
> mor -- tis
> nost -- rae
> 
> }
> 
> % The score definition
> \new PianoStaff <<
> \context Staff = "1" <<
> \context Voice = "PartPOneVoiceTwo" { \PartPOneVoiceTwo }
> \new Lyrics \lyricsto "PartPOneVoiceTwo" \PartPOneVoiceTwoLyricsOne
> >>
> >>
> 
> 
> 
> ===
> 
> ___
> 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: BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
OK. thnaks for this information !

 

Rémy

 

 

 

 

 

> Message du 24/02/16 15:39
> De : "Richard Shann" 
> A : "Remy CLAVERIE" 
> Copie à : "Phil Holmes" , "David Kastrup" , "Thomas Morley" , "lilypond-user" 

> Objet : Re: BarNumber instead of shortInstrumentName
> 
> On Wed, 2016-02-24 at 15:10 +0100, Remy CLAVERIE wrote:
> > Because, I am under ubuntu 14.04 and the default version is Lilypond
> > 2.16.2. I am not an admin on this pro computer, so I can't upgrade...
> 
> You don't have to be admin, you just install in your home directory. As
> with Denemo, waiting for the Distro's to wake up to new versions is too
> slow. Download from lilypond.org.
> 
> Richard
> 
> 
> 
> 
> > 
> > 
> > 
> > 
> > Rémy
> > 
> > 
> > 
> > 
> > 
> > > Message du 24/02/16 14:48
> > > De : "Phil Holmes" 
> > > A : "Remy CLAVERIE" , "David
> > Kastrup" 
> > > Copie à : "Thomas Morley" ,
> > "lilypond-user" 

> > > Objet : Re: BarNumber instead of shortInstrumentName
> > > 
> > > 
> > David meant "Why are you still using such an old version of
> > lilypond?"
> > 
> > > --
> > > Phil Holmes
> > 
> > 
> > - Original Message -
> > From: Remy CLAVERIE
> > To: David Kastrup
> > Cc: Thomas Morley ; lilypond-user
> > Sent: Wednesday, February 24, 2016 1:41 PM
> > Subject: Re: BarNumber instead of shortInstrumentName
> > 
> > >
> > > Hello David,
> > 
> > > 
> > 
> > > Because the syntax between the 2.16 and the 2.19
> > versions are quite different and I do not manage to
> > correct this "unbound variable error"...
> > 
> > > 
> > 
> > > Thanks
> > 
> > > 
> > 
> > > Rémy
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > Message du 24/02/16 13:14
> > > > De : "David Kastrup" 
> > > > A : "Remy CLAVERIE"
> > 
> > > > Copie à : "Thomas Morley"
> > , "lilypond-user"
> > 

> > > > Objet : Re: BarNumber instead of
> > shortInstrumentName
> > > > 
> > > > Remy CLAVERIE 
> > writes:
> > > > 
> > > > > Thanks a lot Thmas for this quick
> > answer !
> > > > >
> > > > > 
> > > > >
> > > > > Unfortunatly, I forgot to say that I use
> > the 2.16.2 version of
> > > > > lilypond.
> > > > 
> > > > Why?
> > > > 
> > > > -- 
> > > > David Kastrup
> > > >
> > 
> > >
> > 
> > 
> > __
> > 
> > >
> > 
> > ___
> > > 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
> 
> 
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
Thanks, it works great !!

 

Regards

 

Rémy

 

 

 

 

 

> Message du 24/02/16 15:04
> De : "David Nalesnik" 
> A : "Remy CLAVERIE" 
> Copie à : "Thomas Morley" , "lilypond-user" 

> Objet : Re: BarNumber instead of shortInstrumentName
> 
>

>

>
On Wed, Feb 24, 2016 at 5:59 AM, Remy CLAVERIE  wrote:
>

> Thanks a lot Thmas for this quick answer !

>  

> Unfortunatly, I forgot to say that I use the 2.16.2 version of lilypond. So I 
> changed your function this way, but I have an "Unbound variable grob::name" 
> error...

> Can you still help me ?



>
You might try the solution here: 
http://www.mail-archive.com/lilypond-user%40gnu.org/msg95841.html

>
It looks like it doesn't have anything that wouldn't work with 2.16.  (But  I 
would really recommend upgrading.)

>
David N


>

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


Re: BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
Because, I am under ubuntu 14.04 and the default version is Lilypond 2.16.2. I 
am not an admin on this pro computer, so I can't upgrade...

 

 

Rémy

 

 

> Message du 24/02/16 14:48
> De : "Phil Holmes" 
> A : "Remy CLAVERIE" , "David Kastrup" 
> Copie à : "Thomas Morley" , "lilypond-user" 

> Objet : Re: BarNumber instead of shortInstrumentName
> 
> 
David meant "Why are you still using such an old version of lilypond?"

> --
> Phil Holmes
 
 

- Original Message -
From: Remy CLAVERIE
To: David Kastrup
Cc: Thomas Morley ; lilypond-user
Sent: Wednesday, February 24, 2016 1:41 PM
Subject: Re: BarNumber instead of shortInstrumentName

>
> Hello David,

>  

> Because the syntax between the 2.16 and the 2.19 versions are quite different 
> and I do not manage to correct this "unbound variable error"...

>  

> Thanks

>  

> Rémy

>  

>  

>  

>  

> Message du 24/02/16 13:14
> > De : "David Kastrup" 
> > A : "Remy CLAVERIE" 
> > Copie à : "Thomas Morley" , "lilypond-user" 

> > Objet : Re: BarNumber instead of shortInstrumentName
> > 
> > Remy CLAVERIE  writes:
> > 
> > > Thanks a lot Thmas for this quick answer !
> > >
> > >  
> > >
> > > Unfortunatly, I forgot to say that I use the 2.16.2 version of
> > > lilypond.
> > 
> > Why?
> > 
> > -- 
> > David Kastrup
> >
>


>

___
> 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: BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
Hello David,

 

Because the syntax between the 2.16 and the 2.19 versions are quite different 
and I do not manage to correct this "unbound variable error"...

 

Thanks

 

Rémy

 

 

 

 

> Message du 24/02/16 13:14
> De : "David Kastrup" 
> A : "Remy CLAVERIE" 
> Copie à : "Thomas Morley" , "lilypond-user" 

> Objet : Re: BarNumber instead of shortInstrumentName
> 
> Remy CLAVERIE  writes:
> 
> > Thanks a lot Thmas for this quick answer !
> >
> >  
> >
> > Unfortunatly, I forgot to say that I use the 2.16.2 version of
> > lilypond.
> 
> Why?
> 
> -- 
> David Kastrup
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
Thanks a lot Thmas for this quick answer !

 

Unfortunatly, I forgot to say that I use the 2.16.2 version of lilypond. So I 
changed your function this way, but I have an "Unbound variable grob::name" 
error...

Can you still help me ?

Thanks a lot,

Rémy



my-bar-short-instrument-name =

\with {

instrumentName = "1"

shortInstrumentName = ""

\override InstrumentName #'after-line-breaking =

#(lambda (grob)

(let* ((all-sys-elts (ly:grob-object (ly:grob-system grob) 'all-elements))

(sorted-bar-nmbrs

(sort

(map

(lambda (g)

(markup->string (ly:grob-property g 'text)))

(filter

(lambda (e)

(eq? (grob::name e) 'BarNumber))

(ly:grob-array->list

(ly:grob-object (ly:grob-system grob) 'all-elements

string-ci Message du 24/02/16 12:03
> De : "Thomas Morley" 
> A : "Remy CLAVERIE" 
> Copie à : "lilypond-user" 

> Objet : Re: BarNumber instead of shortInstrumentName
> 
> 2016-02-24 10:05 GMT+01:00 Remy CLAVERIE :
> > Dear lilypond users,
> >
> >
> >
> > I would like to place BarNumbers at the right side of a StaffGroup, but I do
> > not see how to do that. I frist used the X/Y-offset properties but it was
> > not a good idea because the distance between staves of a StaffGroup is
> > flexible; so numbers were never really horizontally centered.
> >
> >
> >
> > My new idea is to use the shortInstrumentName of the StaffGroup context, but
> > I don't know how to read/get the bar number from the stencil properties and
> > then convert it into the shortInstrumentName string.
> >
> >
> >
> > Can someone help me ?
> >
> >
> >
> > Thanks a lot !
> >
> >
> >
> > Rémy
> 
> 
> How about
> 
> \version "2.19.36"
> 
> \layout {
> \hide Score.BarNumber
> }
> 
> my-bar-short-instrument-name =
> \with {
> instrumentName = "1"
> shortInstrumentName = ""
> \override InstrumentName.after-line-breaking =
> #(lambda (grob)
> (let* ((all-sys-elts (ly:grob-object (ly:grob-system grob) 'all-elements))
> (sorted-bar-nmbrs
> (sort
> (map
> (lambda (g)
> (markup->string (ly:grob-property g 'text)))
> (filter
> (lambda (e)
> (eq? (grob::name e) 'BarNumber))
> (ly:grob-array->list
> (ly:grob-object (ly:grob-system grob) 'all-elements
> string-ci (if (and (not (null? sorted-bar-nmbrs)) (not (null? all-sys-elts)))
> (ly:grob-set-property! grob 'text
> (car sorted-bar-nmbrs)
> }
> 
> \new Staff \my-bar-short-instrument-name
> \repeat unfold 20 {
> \time 4/4
> c'1
> \time 3/4 d'2 e'4
> \time 2/8 f'4 g'8[ a']
> }
> 
> HTH,
> Harm
>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
Yes !

 

Thanks,

 

Rémy

 

 

 

 

 

> Message du 24/02/16 10:48
> De : "Phil Holmes" 
> A : "Remy CLAVERIE" 
> Copie à : 
> Objet : Re: BarNumber instead of shortInstrumentName
> 
> 
Do you mean the left side?

> --
> Phil Holmes
 
 

- Original Message -
From: Remy CLAVERIE
To: lilypond-user@gnu.org
Sent: Wednesday, February 24, 2016 9:05 AM
Subject: BarNumber instead of shortInstrumentName

>
> Dear lilypond users,

>  

> I would like to place BarNumbers at the right side of a StaffGroup, but I do 
> not see how to do that. I frist used the X/Y-offset properties but it was not 
> a good idea because the distance between staves of a StaffGroup is flexible; 
> so numbers were never really horizontally centered.

>  

> My new idea is to use the shortInstrumentName of the StaffGroup context, but 
> I don't know how to read/get the bar number from the stencil properties and 
> then convert it into the shortInstrumentName string.

>  

> Can someone help me ?

>  

> Thanks a lot !

>  

> Rémy

>  

>


>

___
> 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


BarNumber instead of shortInstrumentName

2016-02-24 Thread Remy CLAVERIE
Dear lilypond users,

 

I would like to place BarNumbers at the right side of a StaffGroup, but I do 
not see how to do that. I frist used the X/Y-offset properties but it was not a 
good idea because the distance between staves of a StaffGroup is flexible; so 
numbers were never really horizontally centered.

 

My new idea is to use the shortInstrumentName of the StaffGroup context, but I 
don't know how to read/get the bar number from the stencil properties and then 
convert it into the shortInstrumentName string.

 

Can someone help me ?

 

Thanks a lot !

 

Rémy

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