Re: Semitone mark

2024-07-01 Thread Johannes Roeßler

thx Valentin,

that might work - I am suprised, that there is nothing for this yet,
very unusual for Lilypond 

Cheers, Joei


Am Mittwoch, 12. Juni 2024, 09:53:51 MESZ schrieb Johannes Roeßler:

Hi Group,

is there a way to mark one tone and semitone steps in Lilypond? Haven't
found anything on the web,
maybe I am using the wrong English terms?

Best regards
Joei

Hi Joei,

Maybe checkout this:

https://music.stackexchange.com/questions/122602/square-brackets-in-lilypond

There I’ve created a solution to reproduce whole tone / semitone brackets
using slurs.

Cheers,
Valentin




--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Re: Semitone mark

2024-07-01 Thread Johannes Roeßler
thx Ivan, but this is not, what I am looking for... but closer than what 
I've got so far - thx



Maybe "Analysis brackets" is what you are
looking for.

https://lilypond.org/doc/v2.25/Documentation/notation/analysis-brackets



On Wed, Jun 12, 2024 at 2:56 AM Johannes Roeßler  wrote:

Hi Group,

is there a way to mark one tone and semitone steps in Lilypond? Haven't found 
anything on the web,
maybe I am using the wrong English terms?

Best regards
Joei


Virenfrei.www.avast.com




--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Semitone mark

2024-06-12 Thread Johannes Roeßler

Hi Group,

is there a way to mark one tone and semitone steps in Lilypond? Haven't
found anything on the web,
maybe I am using the wrong English terms?

Best regards
Joei


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Re: Mixed ChoirGroup: Solo/Choir

2024-04-24 Thread Johannes Roeßler

Hey David,

it works - but I am running into an issue with short passages.
I would like to stretch the choir part to the right side,
but when I bring in "ragged-right = ##f" then it breaks:

I assume you have a solution for that issue?

Best regards
Johannes


8< 
%

\version "2.24.0"

#(set-global-staff-size 18)

\paper
{
  top-margin = 1.0 \cm
  bottom-margin = 1.0 \cm
  left-margin = 1\cm
  %line-width = 16 \cm
  ragged-bottom = ##t
  ragged-last-bottom = ##f
  %ragged-right = ##f
}


global = {
  \key f \major
  \time 4/4
  \partial 4
  \dynamicUp
}

st={\once \override Slur.transparent = ##t }

rot={
  \stopStaff
  \startStaff
  \override NoteHead.color = #(x11-color 'DarkRed)
  \override Dots.color = #(x11-color 'DarkRed)
  \override Staff.BarLine.color = #(x11-color 'DarkRed)
  \override Staff.Clef.color = #(x11-color 'DarkRed)
  \override Staff.KeySignature.color = #(x11-color 'DarkRed)
  \override Rest.color = #(x11-color 'DarkRed)
  \override Stem.color = #(x11-color 'DarkRed)
  \override Stem.transparent = ##t
  \override Staff.StaffSymbol.color  = #(x11-color 'DarkRed)
  \override Staff.TimeSignature.color =  #(x11-color 'DarkRed)
  }

Acantor = \relative c {
  \key f \major
  \clef "violin_8"
  \cadenzaOn
  \rot
   f4 f f g
}


Avtext= \lyricmode {
  \override Lyrics.LyricText.color = #(x11-color 'DarkRed) Praise ye 
the Lord

}


Aintonation = \markup {
  \score {

    \new Staff = staff <<

  \new Voice { \Acantor }
  \addlyrics \with { alignAboveContext = staff } { \Avtext }
    >>
    \layout {  }
  }
   \hspace #5
}

cantus = \relative c''{
  \global \cadenzaOff
a4 g( d) d8 (f) 8() 1 \fermata\bar "|." \break

}

lyricscantus = \lyricmode {

The Lord's name be praised!

}

altus = \relative c' {
  \global
\st d8( c) h4(c) d8(c) b4 d 1\fermata
 }


tenor =  \relative c' {
  \global
a4 g(f) f a8(g) a1\fermata
}




bassus  = \relative c {
  \global
d4 g,(a) b8(a) g4 d1\fermata
}



\score {
  \new ChoirStaff \with { \override 
StaffGrouper.staff-staff-spacing.basic-distance = #12 }

  <<
    \new Staff <<
  \global
  \new Voice="v1" {
    %\set Staff.instrumentName="Sopran"
    \set Staff.midiInstrument = "oboe"
    \clef "treble"
    \cantus
  }
  \new Lyrics \lyricsto "v1" { \lyricscantus }
    >>


    \new Staff <<
  \global
  \new Voice="v2" {
    %\set Staff.instrumentName="Alt"
    \set Staff.midiInstrument = "clarinet"
    \clef "treble"
    \altus
  }
  \new Lyrics \lyricsto "v2" { \lyricscantus }

    >>

    \new Staff <<

  \override Staff.InstrumentName.self-alignment-X = #RIGHT
  \set Staff.instrumentName = \Aintonation
  \clef "violin_8" \global
  \new Voice { \tenor }
  \addlyrics { \lyricscantus }
    >>
    \new Staff <<
  \global
  \new Voice="v4" {
    %\set Staff.instrumentName="Bass"
    \set Staff.midiInstrument = "cello"
    \clef "bass"
    \bassus
  }
  \new Lyrics \lyricsto "v4" {\lyricscantus}
    >>
  >>

  \layout
  {
    indent = 5.5 \cm
    \context {\Staff \RemoveEmptyStaves }
  }


  \midi {
    \tempo 4=100
  }

}


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Mixed ChoirGroup: Solo/Choir

2024-04-22 Thread Johannes Roeßler

Hi Group,

having this:

\version "2.24.0"
\score {
  \new ChoirStaff <<
    \new Staff {s1 s1 a'1}
    \new Staff {s1 s1 a'1}
    \new Staff {a'1 a' a'}
    \new Staff {s1 s1 a'1}
  >>
  \layout { }
}

I'd like to achieve this:

Any ideas?

Best regards
Johannes


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Re: Footer text from header

2024-03-19 Thread Johannes Roeßler

thx again Aaron,

I tried it with
%%%
 \line  {\fromproperty #'header:composer " - "  \as-string 
\fromproperty #'header:title }

%%%
- then the title (in the footnote) was empty.

But you gave so many valuable insights, that I'll use it to make it in a 
better way - very instructive,

thank you very much!

Best
Joei


On 2024-03-19 11:15 am, Johannes Roeßler wrote:
And I aim to separate content from style - but in order to have the 
right (and changing) footer text for each piece in a book 
environment, I need to get this information from the header and can't 
define it in the common \paper env - or do I miss something?


You should be able to define oddFooterMarkup in a suitably generic 
manner.  All of the related markup paper variables are intended to 
work this way, so anything specific to a score lives in a \header block.



And defining and adding your idea with the \as-string command seems 
not to work:


The idea is that \as-string strips any commands for the markup you 
provide it.  But the usage you wrote is not what was intended. 
\as-string would be used just before the \fromproperty commands. 
Something closer to this:



  oddFooterMarkup = \markup {
    \fill-line {
  \tiny {
   { "Edited by Joei" }
   \line {
 \as-string \fromproperty #'header:composer " - "
 \as-string \fromproperty #'header:title
   }
   "Copyright 2024"
  }
    }
  }


NOTE: You should probably be using \header fields for copyright and 
editor.


Here's a more complete example with the goal of keeping the \header 
blocks free of \markup commands:




\version "2.22.0"

\paper {
  bookTitleMarkup = \markup
    \override #'(baseline-skip . 1.75) \column {
  \fill-line {
    \override #'(font-name . "Lobster") \line {
  \fontsize #6 \fromproperty #'header:title
  \fontsize #3 \fromproperty #'header:subtitle
    }
    \bold \fromproperty #'header:composer
  }
  \override #'(thickness . 2) \draw-hline
    }

  oddFooterMarkup = \markup \tiny \fill-line {
    \line { Edited by \fromproperty #'header:editor }
    \line {
  \fromproperty #'header:composer
  – % en-dash
  \fromproperty #'header:title
    }
    \fromproperty #'header:copyright
  }
}

\header {
  editor = "Anon E. "
}

%% - - -

\header {
  title = "Lorem Ipsum"
  subtitle = "(dolor sit amet)"
  composer = \markup { "John Doe" \smallCaps (asdf) }
  copyright = "© 2024 John Doe Music"
}

\score { { b'1 } }



In this case, the composer's affiliation with the fictitious ASDF 
group is written in small caps.  This markup command belongs in the 
\header block as we would ideally want it included anywhere that field 
is referenced.  Now, that is only one way to achieve things, as we 
could have just as easily defined a new header field instead:



\header {
  title = "Lorem Ipsum"
  subtitle = "(dolor sit amet)"
  composer = "John Doe"
  affiliation = "ASDF"
  copyright = "© 2024 John Doe Music"
}


Of course, the \paper block would need to be updated to support this 
new field.  (I'll leave that as an exercise for the reader.)


It will be up to you to determine where you are going to strike the 
balance between markup in the \paper block versus the \header block.  
As in the example above, I think that it is perfectly fine to mix a 
little bit of useful formatting in the metadata, especially if such a 
thing is going to be relatively rare across the majority of your 
scores.  Otherwise, anything that is shared should ideally be defined 
once, in some globally-referenced resource.


It can be a little tricky to plan out how to build your \paper markup 
variables, so that they function well when fields are defined or left 
undefined.  In the example I provided, the subtitle can be safely 
omitted.  However, note that I opted to put the parentheses within the 
subtitle field itself.  Had I put them in the \paper block, then you'd 
find an empty set of parens next to any title that did not also 
include a subtitle; not really what you'd want.  So, either one would 
need some clever custom \markup commands to automatically do the work, 
or we just "cheat" and put the parens in the header field.  Again, it 
comes back to that balancing act.


(The careful reader should observe that due to how the footer was 
defined, editor is effectively not an optional field.  The text 
"Edited by" will still appear even when the editor field is 
undefined.  I would encourage you to consider how you could improve 
this, assuming such flexibility is necessary.  The advanced exercise 
involves showing "Edited by" only when the editor field is defined 
without moving such text to the field itself.  Of course, consider 
your own real-world scenario.  Are you the editor for all of your 
scores?  If so, there may be no need to add complexity where it is 
otherwise wasted effort.)



-- Aaron Hill




--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Re: Footer text from header

2024-03-19 Thread Johannes Roeßler

Hi Aaron,

thx for your input - I'm aware of separating those information in 
include files, just tried to make a minimal example :)


And I aim to separate content from style - but in order to have the 
right (and changing) footer text for each piece in a book environment, I 
need to get this information from the header and can't define it in the 
common \paper env - or do I miss something?


And defining and adding your idea with the \as-string command seems not 
to work:


-8<--
\version "2.24.0"

#(define-markup-command
  (as-string layout props arg) (markup?)
  (interpret-markup layout props (markup->string arg)))


{a4}

\header {

  title =
  \markup
  \fill-line {
    \override #'(font-name . "Calluna")
    \abs-fontsize #22 "Title"
    \null
  }

  composer = "Composer"

}

\paper {

  oddFooterMarkup = \markup \as-string {
    \fill-line {
  \tiny {
    {"Edited by Joei"}
    \line  {\fromproperty #'header:composer " - " \fromproperty 
#'header:title }

   "Copyright 2024"
  }
    }
  }
}
-8<------


Best regards
Joei




On 2024-03-19 9:35 am, Johannes Roeßler wrote:

Hi,

I'd like to make an automatic footer, using infos from the header block.

What do I have to change, to get rid of (or override) the format from 
the title?


-8<--

\version "2.24.0"

{a4}

\header {

  title =
  \markup
  \fill-line {
    \override #'(font-name . "Calluna")
    \abs-fontsize #22 "Title"
    \null
  }

  composer = "Composer"

}

\paper {

  oddFooterMarkup = \markup {
    \fill-line {
  \tiny {
    {"Edited by Joei"}
    \line  {\fromproperty #'header:composer " - " \fromproperty 
#'header:title }

   "Copyright 2024"
  }
    }
  }
}

-->8---


It should be possible to strip markup down to a simple string with the 
Scheme function markup->string.



\version "2.22.0"

foo = \markup \huge \bold "Hello"

#(define-markup-command
  (as-string layout props arg) (markup?)
  (interpret-markup layout props (markup->string arg)))

\markup \foo

\markup \as-string \foo


However, the best approach would be to separate content from styling.  
When you define things like title, specify only the simple string 
value.  Place all formatting/styling commands instead within the paper 
variables like bookTitleMarkup, scoreTitleMarkup, oddHeaderMarkup, etc.


Reference the file titling-init.ly within your LilyPond installation 
to see what the default values are for these markup paper variables.  
Copy-and-paste the default definitions and adjust to your needs.  
NOTE: These are the sort of things that are best put into include 
files, so you can reuse them and easily standardize your formatting 
across many scores.



-- Aaron Hill




--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Footer text from header

2024-03-19 Thread Johannes Roeßler

Hi,

I'd like to make an automatic footer, using infos from the header block.

What do I have to change, to get rid of (or override) the format from 
the title?


-8<--

\version "2.24.0"

{a4}

\header {

  title =
  \markup
  \fill-line {
    \override #'(font-name . "Calluna")
    \abs-fontsize #22 "Title"
    \null
  }

  composer = "Composer"

}

\paper {

  oddFooterMarkup = \markup {
    \fill-line {
  \tiny {
    {"Edited by Joei"}
    \line  {\fromproperty #'header:composer " - " \fromproperty 
#'header:title }

   "Copyright 2024"
  }
    }
  }
}

-->8---

Best regards
Joei


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Staff final bars

2024-03-05 Thread Johannes Roeßler

Hi Guys,

is there a way, to get rid of the staff lines exceeding the final bar line?

And if this isn't a bug - is there a reason to make it like this?

\version "2.24.0"
<<
  {a'1\bar "|."}
  {\magnifyStaff #(magstep -3) a'4 4 4 4}
>>

Best regards
Joei


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Re: Tweak Slur Position or Priority

2023-12-28 Thread Johannes Roeßler

*facepalm* - thank you!!
You've mistyped "positions" as "position" (hence the warning “cannot 
find the property type-check…”).





--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Tweak Slur Position or Priority

2023-12-28 Thread Johannes Roeßler

Hi Group and Merry Christmas :)

I do not find the right way to tweak the slur position here:

---8<--

\version "2.24.0"
{\relative {\tupletUp \tuplet 3/2 { as'2 b4 } \override Slur.position
=#'(5 . 5) \tuplet 3/2 { c4 (d e) } f\fermata}}

-->8---

I know I could avoid collision by putting the tuple brackets down - but
since I've got lyrics there, I prefer them up.
As you can see, I tried to raise the slur, but I guess it's "blocked"
under the bracket - is there a way to put the slur above the tuplet bracket?

Best regards
Johannes


--
Diese E-Mail wurde von Avast-Antivirussoftware auf Viren geprüft.
www.avast.com

Re: Mensural Lines in Choir Staff

2023-11-20 Thread Johannes Roeßler

Am 17.11.2023 um 20:11 schrieb Shane Brandes:

\override Staff.BarLine.transparent = ##t


Hi Shane,

maybe I use the wrong place, but this doesn't work for me:

\version "2.24.0"

\layout {
  \context {
    \Staff
  \override Staff.BarLine.transparent = ##t
  }
}

music = \fixed c'' {
  c1
  d2 \section e2
  f1 \fine
}

\new StaffGroup <<
  \new Staff \music
  \new Staff \music
>>

Best Johannes


Mensural Lines in Choir Staff

2023-11-17 Thread Johannes Roeßler

Hi guys,

there is a nice example for "Mensurstriche"

\layout{
\context{
\Staff
measureBarType="-span|"
}
}

music=\fixedc''{
c1
d2\sectione2
f1\fine
}

\newStaffGroup<<
\newStaff\music
\newStaff\music

 Unfortunately it doesn't work in a \ChoirGroup Any idea? Best, Joei


Longer extender

2023-11-16 Thread Johannes Roeßler

Hi Group,

is there a more elegant/automatic way to let the lyrics extender lines 
extend to the end of long notes?


I can do it manually with  \override LyricExtender.minimum-length = #xx
but was wondering whether I'm missing another way.

Best,

Johannes


Re: Fermata Markup below Staff

2023-11-12 Thread Johannes Roeßler

this works perfectly, Michael, saved it to my snippets :)
thx again!
J

upFermata = {
  \once \set Staff.caesuraType = #'((underlying-bar-line . "||"))
  \once \set Staff.caesuraTypeTransform = ##f
  \caesura ^\fermata
}

downFermata = {
  \once \set Staff.caesuraType = #'((underlying-bar-line . "||"))
  \once \set Staff.caesuraTypeTransform = ##f
  \caesura _\fermata
}

musicA = {
  f'1 \upFermata
  R1
  f'2 \upFermata f'2
  R1
  b'1 \upFermata \fine
}

musicB = {
  f'1 \downFermata
  R1
  f'2 \downFermata f'2
  R1
  b'1 \downFermata \fine
}

\new ChoirStaff <<
  \new Staff \musicA
  \new Staff \musicB
>>




Re: Fermata Markup below Staff

2023-11-12 Thread Johannes Roeßler

Hi Michael,

doesn't work well with a choirstaff though..

twoWayFermata = {
  \once \set Staff.caesuraType = #'((underlying-bar-line . "||"))
  \once \set Staff.caesuraTypeTransform = ##f
  \caesura ^\fermata _\fermata
}

music = {
  f'1 \twoWayFermata
  R1
  f'2 \twoWayFermata f'2
  R1
  b'1 \twoWayFermata \fine
}

\new ChoirStaff <<
  \new Staff \music
  \new Staff \music
>>
Best, Johannes

Hi Johannes,

On Sun, Nov 12, 2023 at 11:01 AM Johannes Roeßler  wrote:

Hi all,

I managed to place a fermata above a barline, I even managed to
place it correctly at the end of the line, but now I would like to
place a fermata sign below the barline (and rotate it 180°) too
(in the bassvoice of a choir staff group) - simplified example:

\version "2.24.0"
\relative c' {
e1 \break \once \override Score.RehearsalMark.break-visibility =
#end-of-line-visible \mark \markup { \musicglyph
#"scripts.ufermata" } \bar "||" e2
}


There's a code snippet in the Notation Reference that does this.  It's 
at the bottom of:

http://lilypond.org/doc/v2.24/Documentation/notation/writing-rests#caesuras
 --
Michael



Re: Fermata Markup below Staff

2023-11-12 Thread Johannes Roeßler

ah, even more elegant - didn't find it during my search... thx, Michael!

Hi Johannes,

On Sun, Nov 12, 2023 at 11:01 AM Johannes Roeßler  wrote:

Hi all,

I managed to place a fermata above a barline, I even managed to
place it correctly at the end of the line, but now I would like to
place a fermata sign below the barline (and rotate it 180°) too
(in the bassvoice of a choir staff group) - simplified example:

\version "2.24.0"
\relative c' {
e1 \break \once \override Score.RehearsalMark.break-visibility =
#end-of-line-visible \mark \markup { \musicglyph
#"scripts.ufermata" } \bar "||" e2
}


There's a code snippet in the Notation Reference that does this.  It's 
at the bottom of:

http://lilypond.org/doc/v2.24/Documentation/notation/writing-rests#caesuras
 --
Michael



Re: Fermata Markup below Staff

2023-11-12 Thread Johannes Roeßler

Am 12.11.2023 um 17:10 schrieb William Rehwinkel:

\relative c' {
e1 \break \once \override Score.RehearsalMark.break-visibility = 
#end-of-line-visible \tweak direction #DOWN \mark \markup { 
\musicglyph #"scripts.dfermata" } \bar "||" e2
} 


thx William for the quick response, always an amazing group...

works for one fermata - but in my context (up in soprano, down in bass) 
it gives a warning "conflict with event: `ad-hoc-mark-event'" and only 
produces the first one:


\version "2.24.0"

\score {
  \new StaffGroup <<
 \new Staff {
   e1 \break \once \override Score.RehearsalMark.break-visibility = 
#end-of-line-visible \mark \markup { \musicglyph #"scripts.ufermata" } 
\bar "||" e2

 }
 \new Staff {
    e1 \break \once \override Score.RehearsalMark.break-visibility 
= #end-of-line-visible \tweak direction #DOWN \mark \markup { 
\musicglyph #"scripts.dfermata" }

    \bar "||" e2
 }
  >>
  \layout {

  }
}


Fermata Markup below Staff

2023-11-12 Thread Johannes Roeßler

Hi all,

I managed to place a fermata above a barline, I even managed to place it 
correctly at the end of the line, but now I would like to place a 
fermata sign below the barline (and rotate it 180°) too (in the 
bassvoice of a choir staff group) - simplified example:


\version "2.24.0"
\relative c' {
e1 \break \once \override Score.RehearsalMark.break-visibility = 
#end-of-line-visible \mark \markup { \musicglyph #"scripts.ufermata" } 
\bar "||" e2

}

What do I need to do?

Best Johannes



Re: Appogiatura moves breath sign in other voice

2023-11-02 Thread Johannes Roeßler

thx Jean - that was, what I saw.. didn't find it this time.
|\version "2.24.2" \relative c'' { << \new Staff \new Voice { \time 
3/8 d4. \breathe \grace s8 d8 d d d4. \breathe d8 d d } \new Staff { 
\time 3/8 d4. \breathe \appoggiatura e8(d) d d d4. \breathe d8 d d } >> } |


See this section of the documentation 
, 
section “Known issues and warnings”.


Best,

Jean



Appogiatura moves breath sign in other voice

2023-11-02 Thread Johannes Roeßler

Hi,

an Appogiatura seems to move the breath sign in other voices:


I remembered stumbling upon this, but didn't find the solution anymore :(

Best, J


---8<--

\version "2.24.0"

\relative c'' {
  <<

    \new Staff \new Voice {
 \time 3/8 d4. \breathe d8 d d d4. \breathe d8 d d
    }
    \new Staff {
 \time 3/8  d4. \breathe \appoggiatura e8(d) d d d4. \breathe d8 d d
    }
  >>
}

---8<--


Alignment of lyrics

2023-11-02 Thread Johannes Roeßler

Hi all,

could someone help me understand what going on here:

I'm working with ignoreMelismata = ##t, stretching the "schlaf" by 
skipping the next note.


In the 3rd voice it's centering the word - but it doesn't in the 
melismata in voice 1 and 2


As a workaround, I could use "\once \override LyricText.self-alignment-X 
= #LEFT" - but I'd like to understand the logic and whether there is a 
more elegant way...


8<

 \version "2.24.0"

<<
  \relative \new Voice = "lahlah" {
    e''8.(d16) c8 c \bar "|"  e4 c8 c \bar "||" \bar "|"  e4 c8 c
  }

  \new Lyrics \lyricsto "lahlah" {

    \set ignoreMelismata = ##t
    schlaf _ ich so schlaf ich so

    \once \override LyricText.self-alignment-X = #LEFT schlaf ich so
  }
>>

>8


Best regards
Johannes


Re: Moving tempo-markup

2023-06-16 Thread Johannes Roeßler

works perfectly fine, thx Jean

|\once \override Score.MetronomeMark.padding = 5|




Moving tempo-markup

2023-06-16 Thread Johannes Roeßler

Hi,

how can I raise the tempo markup to get some space in case I have other 
markups in place:


8<---

\version "2.24.0"
{\tempo "Andante" c'4^\markup \italic "mezza voce" c' c' c' }

->8

Best regards Johannes


Using Variables

2023-05-21 Thread Johannes Roeßler

Hi Group,

I try to define this:

neo = {\once \override NoteHead.style = #'neomensural}

but it leads to errors in the following parts (no error message 
regarding the variable definition though...)


What am I doing wrong?

Best regards
Joei


mensural ligature

2023-04-20 Thread Johannes Roeßler

Hi Group,

how can I create this ligature?

it should be Semibreve-Breve

but

\[ a1 h\breve \]

but lilypond states "Semibreve must be followed by another one"

Any idea?

Best regards
Johannes




Re: mensural ligature

2023-04-14 Thread Johannes Roeßler

excellent! Thank you!

Pál, can you please comment?  It looks as if support for this
ligature form is missing...

It's not missing, but it means something else: the duration sequence
1 1 \longa.

```
\[ a'1 c'' a'\longa \]
```

Indeed, this gives the right optical result, thanks!


So long I thought that there's no need to warn about ignored tweaks
(related to white mensural ligatures), but now I'm not so sure.

I think that warnings makes sense if LilyPond decides to do something
else.


I may also add a complete description in the Notation manual.

This would be helpful, too :-)


 Werner




Re: Middle-C position doesn't move key signature

2023-04-10 Thread Johannes Roeßler
thats funny ;) - you answered my other question regarding the clef here 
(for completeness, I've added your solution to the other thread)- but 
this issue is, though the same source,  a different one - its regarding

the key signature.

The source is like this:

and by

|\version "2.24.0"
{
  \clef bass
  \override Staff.KeySignature.flat-positions = #'((-3 . 5))
  \set Staff.clefPosition = #0
  \set Staff.middleCPosition = #-3

  \key f\major

  bes'2
}|||

I was able to move the clef and the position of the note - but the key 
signature is on the wrong lines, I was hoping the "middleCPosition" 
would move

the key too.

Joei


Le lundi 10 avril 2023 à 11:55 +0200, Johannes Roeßler a écrit :


Hi,
neither the clef position (which is mentioned in the documentation, 
so this is expected) - nor the middelCPosition move the key signature.

How do I have to move it?

\version "2.24.0"
{
  \key f\major
  bes'2

|  \key c\major   bes'2   \set Staff.clefPosition = #1   \set 
Staff.middleCPosition = #-3   \key f\major   bes'2 } |


Is this still for your custom clef with an EPS file thing? Consider 
baking the offset into the markup itself, e.g.,


|\override Staff.Clef.stencil = #ly:text-interface::print \override 
Staff.Clef.text = \markup \lower #0.5 \epsfile #X #1.5 "XXX" |




Re: Graphics

2023-04-10 Thread Johannes Roeßler

solution from Jean Abou Samra in another thread:

Consider baking the offset into the markup itself, e.g.,

|\override Staff.Clef.stencil = #ly:text-interface::print \override 
Staff.Clef.text = \markup \lower #0.5 \epsfile #X #1.5 "XXX" - just to 
have this in this thread for future searches... Joei |


I'm now able to include the eps - but still struggle to place the clef 
(it should be centered on the G-Line) as I like to do:


\version "2.24.0"

  \new Staff {
    \clef G c'1
    \override Staff.Clef.stencil = #ly:text-interface::print
    \override Staff.Clef.text = \markup \epsfile #X #1.5 "HasslerG3.eps"
    \set Staff.clefPosition = #0
    \set Staff.clefTransposition = #0
    \set Staff.middleCPosition = #-4
    \set Staff.middleCClefPosition = #-4
    \clef F c
    \clef G c'
   }

\layout { }

I tried to include whitespace above the clef in the eps, but this 
didn't change anything, looks like the bottom of the eps is placed on 
the g-line.

best regards
Joei


Le samedi 08 avril 2023 à 10:58 +0200, Johannes Roeßler a écrit :

now I managed to make my EPS accessable in Lilypond, and I am able 
to use it as markup.
Now I want to use it to replace a clef. In the snippets there is a 
way, that creates an alternative stencil and then uses:


 \override Clef.stencil =
  #(lambda (grob)
 (let* ((sz (ly:grob-property grob 'font-size 0))
    (mlt (magstep sz))
    (glyph (ly:grob-property grob 'glyph-name)))
 (cond
  ((equal? glyph "clefs.F")
 (ly:stencil-scale my-clef (* 1 mlt) (* 1 mlt)))
  ((equal? glyph "clefs.F_change")
    (ly:stencil-scale my-clef (* .8 mlt) (* .8 mlt)))
  (else (ly:clef::print grob)

- but in this case I would need to define the stencil. Is there a 
way to replace a clef glyph with an EPS?


There is a general technique you can use to replace any grob's 
stencil using a markup: set the stencil property to 
|ly:text-interface::print|, which tells LilyPond to compute the 
stencil using the markup in the |text| property, and set that 
property to what you want.


|\layout { \override Staff.Clef.stencil = #ly:text-interface::print 
\override Staff.Clef.text = \markup \epsfile #X #10 
"/home/jean/repos/lilypond/input/regression/lilypond.eps" } |


HTH,

Jean





Middle-C position doesn't move key signature

2023-04-10 Thread Johannes Roeßler

Hi,

neither the clef position (which is mentioned in the documentation, so 
this is expected) - nor the middelCPosition move the key signature.

How do I have to move it?

\version "2.24.0"
{
  \key f\major
  bes'2

  \key c\major
  bes'2

  \set Staff.clefPosition = #1
  \set Staff.middleCPosition = #-3
  \key f\major

  bes'2
}

Cheers
Joei


Re: Graphics

2023-04-10 Thread Johannes Roeßler
I'm now able to include the eps - but still struggle to place the clef 
(it should be centered on the G-Line) as I like to do:


\version "2.24.0"

  \new Staff {
    \clef G c'1
    \override Staff.Clef.stencil = #ly:text-interface::print
    \override Staff.Clef.text = \markup \epsfile #X #1.5 "HasslerG3.eps"
    \set Staff.clefPosition = #0
    \set Staff.clefTransposition = #0
    \set Staff.middleCPosition = #-4
    \set Staff.middleCClefPosition = #-4
    \clef F c
    \clef G c'
   }

\layout { }

I tried to include whitespace above the clef in the eps, but this didn't 
change anything, looks like the bottom of the eps is placed on the g-line.

best regards
Joei


Le samedi 08 avril 2023 à 10:58 +0200, Johannes Roeßler a écrit :

now I managed to make my EPS accessable in Lilypond, and I am able to 
use it as markup.
Now I want to use it to replace a clef. In the snippets there is a 
way, that creates an alternative stencil and then uses:


 \override Clef.stencil =
  #(lambda (grob)
 (let* ((sz (ly:grob-property grob 'font-size 0))
    (mlt (magstep sz))
    (glyph (ly:grob-property grob 'glyph-name)))
 (cond
  ((equal? glyph "clefs.F")
 (ly:stencil-scale my-clef (* 1 mlt) (* 1 mlt)))
  ((equal? glyph "clefs.F_change")
    (ly:stencil-scale my-clef (* .8 mlt) (* .8 mlt)))
  (else (ly:clef::print grob)

- but in this case I would need to define the stencil. Is there a way 
to replace a clef glyph with an EPS?


There is a general technique you can use to replace any grob's stencil 
using a markup: set the stencil property to 
|ly:text-interface::print|, which tells LilyPond to compute the 
stencil using the markup in the |text| property, and set that property 
to what you want.


|\layout { \override Staff.Clef.stencil = #ly:text-interface::print 
\override Staff.Clef.text = \markup \epsfile #X #10 
"/home/jean/repos/lilypond/input/regression/lilypond.eps" } |


HTH,

Jean



Vertical Space between lyric lines

2023-04-09 Thread Johannes Roeßler

Hi all - and happy Easter!

Quick question - how can I tweak the vertical space between two lyric 
lines individually (so not the same space between all lines) - I assume 
something with the VerticalAxisGroup. but wasn't successful yet.


Something like:

    \new Lyrics \lyricsto "Cantus_One_Notes" \verseThree
    \new Lyrics \lyricsto "Cantus_One_Notes" \verseThreeB

    \new Lyrics \with {Extraspace to Line above} \lyricsto 
"Cantus_One_Notes" \verseFour

    \new Lyrics \lyricsto "Cantus_One_Notes" \verseFourB

Best regards
Johannes



Re: Graphics

2023-04-08 Thread Johannes Roeßler
now I managed to make my EPS accessable in Lilypond, and I am able to 
use it as markup.
Now I want to use it to replace a clef. In the snippets there is a way, 
that creates an alternative stencil and then uses:


 \override Clef.stencil =
  #(lambda (grob)
 (let* ((sz (ly:grob-property grob 'font-size 0))
    (mlt (magstep sz))
    (glyph (ly:grob-property grob 'glyph-name)))
 (cond
  ((equal? glyph "clefs.F")
 (ly:stencil-scale my-clef (* 1 mlt) (* 1 mlt)))
  ((equal? glyph "clefs.F_change")
    (ly:stencil-scale my-clef (* .8 mlt) (* .8 mlt)))
  (else (ly:clef::print grob)

- but in this case I would need to define the stencil. Is there a way to 
replace a clef glyph with an EPS?


thx, Joei


Le samedi 08 avril 2023 à 00:02 +0200, Johannes A. Roeßler a écrit :

Excellent! Did I miss it somewhere in the documentation or is this 
well hidden?



The \epsfile command? It's on the page you gave the link of...



Graphics

2023-04-07 Thread Johannes Roeßler

Hi Group,

is there a way to generate vector files with a program producing e.g. a 
SVG files and convert it to the PS commands needed for lilypond?

https://lilypond.org/doc/v2.22/Documentation/notation/graphic

Best regards
Joei


Re: Change Size of \slashSeparator

2023-03-01 Thread Johannes Roeßler

very helpful, thx Xavier!

On Wed, 1 Mar 2023 at 13:07, Johannes Roeßler  wrote:
>
> Hi List,
>
> how can I change the size of the \slashSeparator?

Hello,

slashSeparator is a markup.
You can scale it for example with the scale command
system-separator-markup = \markup \scale #'(1.5 . 1.5) { \slashSeparator }
% 150% in X and Y, change to your convenience

Or change the definition of slashSeparator, which is
slashSeparator = \markup {
  \center-align
  \vcenter \combine
  \beam #2.0 #0.5 #0.48
  \raise #0.7 \beam #2.0 #0.5 #0.48
}
% from ly/titling-init.ly <http://titling-init.ly>

Cheers,
Xavier

--
Xavier Scheuer 



Change Size of \slashSeparator

2023-03-01 Thread Johannes Roeßler

Hi List,

how can I change the size of the \slashSeparator?

Best regards
Joei


Re: Moving breath mark horizontally

2023-02-17 Thread Johannes Roeßler

Hi Michael and David,

thx for your help..

\relative c'' {
  c c \breathe c c \break
  c c
  \tweak space-alist.next-note #'(fixed-space . 3) \breathe c c
}

is there something like "previous-note"?

it's not moving closer to the previous note, just moving it further away 
from the next one:


Joei


Hi Joei.

On Fri, Feb 17, 2023 at 5:03 AM Johannes Roeßler  wrote:

Hi Michael,

I tried to tweak what you sent - I need it in the opposite way,
moving the sign to the left - in the internal reference it might
be "direction"?


Nope. Just remove the negative from the number. Negative moves it to 
the right, positive to the left. Something like

 \tweak space-alist.next-note #'(fixed-space . 3) \breathe
 (thank you so much David for the explanation!).  Most of the 
direction tweaks and overrides work that way - a negative number moves 
it one way and positive the other way.  Generally works that way both 
horizontally and vertically.


Michael



Re: Moving breath mark horizontally

2023-02-17 Thread Johannes Roeßler

Hi Michael,

I tried to tweak what you sent - I need it in the opposite way, moving 
the sign to the left - in the internal reference it might be "direction"?

But I have no clue how to use it.
Joei

Hi Joei.

Checking the Internals Reference ( 
http://lilypond.org/doc/v2.25/Documentation/internals/breathingsign ) 
there's an alist for the BreathingSign that contains spacing. Looks 
like the next-note one is what you might be looking for. I gave it a 
whirl here with these results:


music = \relative c'' {
  c c \breathe c c \break
  c c \once \override BreathingSign.space-alist = #'((next-note 
fixed-space . -3)

 (right-edge extra-space . 0.1)) \breathe c c
}

producing:

image.png

Is that kinda what you were looking to do?

For some reason Lilypond complained if I left out the right-edge 
entry. Quite honestly I don't understand this well enough to know why, 
but it does work. Or, at least, it seems to. I fiddled a bit with 
various values for the right-edge with no apparent effect. But from 
what I can tell that one only applies when the breathe mark is at the 
very end of a line. Since that isn't the case here I didn't really 
think it would do anything, but I tried it anyway. Just don't quite 
get why Lilypond throws a programming error if it gets left out. So 
hopefully this might at least point you in a direction that might help.


Michael

On Fri, Feb 17, 2023 at 3:53 AM Johannes Roeßler  wrote:

Hi Group,

how do I move a breath mark horizontally?
I've tried

"\override Voice.BreathingSign.x-offset = #-3 \breathe"

But it didn't work...

Best regards
Joei



Moving breath mark horizontally

2023-02-17 Thread Johannes Roeßler

Hi Group,

how do I move a breath mark horizontally?
I've tried

"\override Voice.BreathingSign.x-offset = #-3 \breathe"

But it didn't work...

Best regards
Joei


Re: 2 Voices | 1 Staff | Mensuration Lines | Lyrics

2023-02-11 Thread Johannes Roeßler

thx Jean and Valentin - very helpful!
Always amazing how fast this user group is!


Le samedi 11 février 2023 à 21:39 +0100, Johannes Roeßler a écrit :

|  \new Staff {     \voices 1,2<< \global \sopI \sopII >>   }   
\lyricsto "2" { \words } |


Make that

|\new Staff { << \global \voices 1,2 << \sopI \\ \sopII >> >> } 
\lyricsto "2" { \new Lyrics \words } |


The |<< >>| construct puts several expressions in parallel. In your 
case, you want three things in parallel, the |\global| variable, and 
the two voices, but if you want to use |\voices| to define the voices, 
each of the voices inside |\voices << >>| will have a voice style for 
its stem directions etc. |\global| isn't really a voice, so you should 
put it outside. Also note that there should be |\\| inside |\voices|.


Alternatively, you could create the voices with the more explicit syntax

|\new Staff { << \new Voice \global \new Voice = "1" { \voiceOne \sopI 
} \new Voice = "2" { \voiceTwo \sopII } >> } \lyricsto "2" { \new 
Lyrics \words } |


in which case you can do with only one |<< >>|.

Also note that there should be |\new Lyrics| inside |\lyricsto|.



2 Voices | 1 Staff | Mensuration Lines | Lyrics

2023-02-11 Thread Johannes Roeßler

Hi Group,

me again - I try to combine a few things I've learned - but fail.

I would like to have mensuration lines (using the example from here: 
https://lilypond.org/doc/v2.22/Documentation/notation/working-with-ancient-music_002d_002dscenarios-and-solutions)

but I also need to have two voices in one staff.

This is what I've tried:


#

\version "2.24.0"
global = {
  \hide Staff.BarLine
  s1 s
  \undo \hide Staff.BarLine
  \bar "|."
}

sopI = \relative c'' {
  c1 c
}

sopII = \relative c' {
  f1 f
}

bass = \relative c'' {
  c1 c
}

words = \lyricmode {
  la la
}

\new StaffGroup
<<
  \new Staff {
    \voices 1,2<< \global \sopI \sopII >>
  }
  \lyricsto "2" { \words }

  \new Staff { << \global  \bass >> }
>>




I'm sure "\global" is not in the right position - but I still do not 
understand enough of the concept to figure out, where to place it


Cheers
Joei


Slur below triplet spanner

2023-02-11 Thread Johannes Roeßler

Hi Group,

I've got notes with a slur within a triplet and want to have the spanner 
and the slur above the notes, but the slur below the spanner.


\tuplet 3/2 { b4(f) g }

How can I change the priority?

Best regards
Joei


Re: Align markup above staff

2023-02-10 Thread Johannes Roeßler

thx to both Michaels :)

looks like an idea, but when I compile your source, I get a little drift 
between

"diminuendo" and "poco"

Best regards
Johannes


On Fri, Feb 10, 2023 at 9:21 AM Johannes Roeßler  wrote:

Hi Group,

I would like to align markups above my staff - I checked the page
regarding vertical spacing and found

"\override TextScript.outside-staff-padding = #3" but this just
raised all markups but still unaligned

\override TextScript.outside-staff-priority = ##f didn't help
either...

Any hints?

Best regards
Joei


Hi Joei.

Well, I don't know if this is the best way to do things, but the way 
I've been dealing with this kind of thing is by abusing the Dynamics 
context, using it to hold and align all kinds of non-dynamic kinds of 
things. So, if I were doing it your example would be something like:


\version "2.25.1"
\language "english"

music = \relative c'' {
  \partial 2 f4\rest c4
  a2 c4( f)
  d4 d8 c b4 b
  g2 b4( d)
  c4 c8 b a4 c
  c4 b8 a b4( c)
}

textMarkups = {
  \partial 2  s4 s4-\markup entfernend
  s1
  s2 s4-\markup diminuendo s4
  s2. s4-\markup poco
  s2 s4-\markup a s4
  s4 s4-\markup poco s2
}

\score {
  <<
    \new Dynamics \with {
      \override 
VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #4

      }
      {
      \textMarkups
    }
    \new Staff {
      \music
    }
  >>
}

The \override in the Dynamics context puts some extra space between 
the Dynamics line (here, the text) and the staff below it. Details in 
the docs at:

http://lilypond.org/doc/v2.25/Documentation/notation/flexible-vertical-spacing-within-systems

There's most likely any number of other ways to go about this, with 
many of them probably better than this. One drawback to this method 
being that you basically have to enter the music twice - once as the 
notes for the staff and once as the rhythm for the dynamics. But if 
it's a relatively short piece that might not be too bad - most of what 
I work with is pretty short so I don't mind doing it this way.


But maybe this'll at least get you started.

Michael




Align markup above staff

2023-02-10 Thread Johannes Roeßler

Hi Group,

I would like to align markups above my staff - I checked the page 
regarding vertical spacing and found


"\override TextScript.outside-staff-padding = #3" but this just raised 
all markups but still unaligned


\override TextScript.outside-staff-priority = ##f  didn't help either...

Any hints?

Best regards
Joei


Re: Voice for Lyrics

2023-02-09 Thread Johannes Roeßler
looking and trying one day - in the moment I've sent it - I found my 
faults... so - pls ignore.. sorry for the spam.


Hi,

I'm looking how to assign the lyrics two one of two voices in one 
staff in the simplest way with my "normal" source code:


bassVoicePart = \new Staff \with {
  midiInstrument = "oboe"
   \consists "Merge_rests_engraver"
} { \clef bass << \bass \\ \bassII >> }
\addlyrics { \verseOne }

how do I integrate lyricsto correctly?

Best regards
Joei



Voice for Lyrics

2023-02-09 Thread Johannes Roeßler

Hi,

I'm looking how to assign the lyrics two one of two voices in one staff 
in the simplest way with my "normal" source code:


bassVoicePart = \new Staff \with {
  midiInstrument = "oboe"
   \consists "Merge_rests_engraver"
} { \clef bass << \bass \\ \bassII >> }
\addlyrics { \verseOne }

how do I integrate lyricsto correctly?

Best regards
Joei


Re: Visible Barline in ChoirStaff

2023-02-08 Thread Johannes Roeßler

excellent! Worked perfect.

Your example doesn’t work because the bars between the staves are in fact not 
BarLine grobs, but SpanBar grobs, and they would live in the ChoirStaff context.
The difference between a ChoirStaff and a StaffGroup is that the Choirstaff 
doesn’t contain the Span_Bar_Engraver, that creates them. You would need to 
include the engraver in the ChoirStaff (essentially making it a StaffGroup), 
\omit the SpanBars you don’t need (all the others) and make just the one you 
need visible, like:


\new ChoirStaff \with {
   \consists Span_bar_engraver
   \omit SpanBar }
<<
   \new Staff {
 c''1 b'
 \once \revert ChoirStaff.SpanBar.stencil
 a' }
   \new Staff {
 \clef bass
 a1 g f }


8 feb. 2023 kl. 16:12 skrev Johannes Roeßler:

Hi Group,

how can I add a visible (in the sense of connecting all staffs) barline in a 
choirstaff?

I tried  \once \override Staff.BarLine.transparent = ##f \bar "|"

but o course it doesn't work, for its just in a staff...

Best regards
Johannes




Re: Visible Barline in ChoirStaff

2023-02-08 Thread Johannes Roeßler
thx Jean, yes I want a ChoirStaff - but only at a specific bar one line 
through ALL voices..




Le 8 févr. 2023 à 16:13, Johannes Roeßler  a écrit :



Hi Group,

how can I add a visible (in the sense of connecting all staffs) 
barline in a choirstaff?


I tried  \once \override Staff.BarLine.transparent = ##f \bar "|"

but o course it doesn't work, for its just in a staff…




Is it really a ChoirStaff that you want? Consider using a StaffGroup 
instead. 
https://lilypond.org/doc/v2.24/Documentation/notation/displaying-staves#grouping-staves





Visible Barline in ChoirStaff

2023-02-08 Thread Johannes Roeßler

Hi Group,

how can I add a visible (in the sense of connecting all staffs) barline 
in a choirstaff?


I tried  \once \override Staff.BarLine.transparent = ##f \bar "|"

but o course it doesn't work, for its just in a staff...

Best regards
Johannes



Re: Clef with Ottava in parenthese

2023-02-08 Thread Johannes Roeßler
thx Xavier - I actually looked, but found this page - 
https://lilypond.org/doc/v2.22/Documentation/notation/clef-styles

there it's not mentioned :( - sorry, embarrassing...

On Wed, 8 Feb 2023 at 15:26, Johannes Roeßler  wrote:
>
> Hi Group,
>
> is it possible to create a clef like this:
>
> Like \clef "violin_8" but with the 8 in parentheses?

Hello,

\clef "violin_(8)" or \clef "treble_(8)" works.
They are also mentioned in the documentation:
NR 1.1.3 Displaying pitches > Clef
Optional octavation can be obtained by enclosing the numeric argument 
in parentheses or brackets:


Cheers,
Xavier

--
Xavier Scheuer 





Clef with Ottava in parenthese

2023-02-08 Thread Johannes Roeßler

Hi Group,

is it possible to create a clef like this:

Like \clef "violin_8" but with the 8 in parentheses?

Best regards
Johannes


Vertical placement ChoirStaff

2023-02-08 Thread Johannes Roeßler

Hi Group,

I'd like to know how I can place a staff group vertically centered on a 
page.
I don't want to use "ragged bottom" or the system group to be stretched 
- just centered vertically.


I hope you understand, what I'm trying to achieve.

Thx,
Joei


NOT merging same notes in different voices

2023-01-11 Thread Johannes Roeßler

Hi Group,

how can I have a "tenuto" line directly at the note (and not above or 
below the invisible stem?).


I have two stemless voices in one staff.


8<

\version "2.24.0"

<<{\hide Staff.Stem a4--  }\\{\hide Staff.Stem c4-- }>>

-->8


Best regards
Joei



NOT merging same notes in different voices

2023-01-11 Thread Johannes Roeßler

Hi Group,

how can I avoid that the same notes in two voices are merged?

\version "2.24.0"
<<{ a'4 }\\{ a' }>>

Best regards
Joei


Re: Footnotes in Lyrics

2023-01-02 Thread Johannes Roeßler

thx Jean and Pierre!

Le 02/01/2023 à 11:31, Pierre Perol-Schneider a écrit :

Hi Johannes,
Here's a little hack:

\markup \footnote \null "(1) footnote text"

\score { <<
  { a' b' c'' d'' c'' b' a' }
  \addlyrics {
     One two
     \markup \concat { three \raise #.7 \teeny (1) }
     four five six se -- ven
  }
  >>
}




Fortunately, there is a lessy hacky way :-)

\version "2.24.0"

lyricFootnote = \once {
  \override Footnote.annotation-line = ##f
  \override Footnote.X-attachment = #RIGHT
  \override Footnote.text-alignment-X = #LEFT
  \override Footnote.Y-attachment = #UP
  \override Footnote.text-alignment-Y = #UP
}

\score {
  <<
    { a' b' c'' d'' c'' b' a' }
    \addlyrics {
  One two
  three
  \lyricFootnote
  \footnote #'(0 . 0) "footnote text" LyricText
  \tweak extra-spacing-width #'(0 . 1.2) five six se -- ven
    }
  >>
}


Cheers,
Jean



Footnotes in Lyrics

2023-01-02 Thread Johannes Roeßler

Hi Group and a Happy 2023!

I have trouble using footnotes in lyrics (lyrics directly in the score.. 
not below...) - I got rid of the annotation line successfully - but the 
position of the footnote number is terrible - and the tweaks are not 
"small" enough to find a good position.


\version "2.24.0"
\score { <<
{ a' b' c'' d'' c'' b' a' }
\addlyrics {
  \override Footnote.annotation-line = ##f
 One two three
\footnote #'(0.1 . 0.1) "footnote text" LyricText
five six se -- ven
 four
}



}

Am I on a complete wrong way in handling this? It doesn't seem like a 
very rare idea to have footnotes in lyrics...


Best regards
Joei


Re: Incipit: horizontal alignment of instrument names

2022-09-20 Thread Johannes Roeßler

Thank you, Jean - it worked!

InstrumentName = "Org"
  \override InstrumentName.self-alignment-X = #0.8 




Incipit: horizontal alignment of instrument names

2022-09-20 Thread Johannes Roeßler

Hi Group,

I've got issues with aligning the instrument names when using incipits.

A solution discribed here 
https://lilypondforum.de/index.php/topic,894.0.html help to some degree,

but my piano staff still doesn't fit.

\version "2.22.0"


altinc={ \clef "alto" \time 2/2 \key g\major b4 }

\score {
  <<
    \new ChoirStaff
    <<
      \new Staff = Soprano
      \with {
instrumentName = "Soprano"      shortInstrumentName = "S"
      }
      {
\incipit { \clef "soprano" \omit Staff.TimeSignature s1 }
\repeat unfold 12 { c''4 c'' c'' c''}
      }

      \new Staff = Alto
      \with {
instrumentName = "Alto"
shortInstrumentName = "A"
      }
      {
\incipit \altinc
\repeat unfold 12 { c''4 c'' c'' c''}
      }

      \new Staff = Tenore
      \with {
instrumentName = "Tenore"
shortInstrumentName = "T"
      }
      {
\incipit { \clef "tenor" \omit Staff.TimeSignature s1 }
        \clef "treble_8"
\repeat unfold 12 { c'4 c' c' c' }
      }

      \new Staff = Basso
      \with {
instrumentName = "Basso"
shortInstrumentName = "B"
      }
      {
\repeat unfold 12 { c''4 c'' c'' c'' }
      }
    >>
    \new PianoStaff
    \with {
instrumentName = "Orgel"
shortInstrumentName = "Org"
    } <<
      \new Staff = "right"

      {
\repeat unfold 12 { c''4 c'' c'' c'' }
      }


      \new Staff = "left"

      {
\repeat unfold 12 { c''4 c'' c'' c'' }
      }

    >>
  >>
}
\layout {
  indent = 5\cm
short-indent = 1\cm
incipit-width = 3\cm
  \override Staff.InstrumentName.self-alignment-X = #LEFT
}

Any advice?

Thx and best regards
Joei



Re: offset \breathe sign

2020-12-30 Thread Johannes Roeßler

thx Pierre, that worked - I did not find it... now bookmarked..
See also: 
http://lilypond.org/doc/v2.19/Documentation/internals/breathingsign 
<http://lilypond.org/doc/v2.19/Documentation/internals/breathingsign>

E.g.:

\version "2.19.58"
{
  \time 3/2 e''4 e'' a''2
  %\tweak extra-offset #'(-1 . 1)
  %\tweak X-offset #-1
  \tweak space-alist.first-note #'(fixed-space . 3.0)
  \breathe a''!2
}

Cheers,
Pierre

Le mer. 30 déc. 2020 à 11:01, Pierre Perol-Schneider 
<mailto:pierre.schneider.pa...@gmail.com>> a écrit :


For such tiny adjsutment why not 'extra-offset?
E.g.

\version "2.19.58"
{
  \time 3/2 e''4 e'' a''2
  \tweak extra-offset #'(-1 . 1)
  %\tweak X-offset #-5
  \breathe a''!2
}

Cheers,
Pierre

Le mer. 30 déc. 2020 à 10:55, Johannes Roeßler mailto:j...@joei.de>> a écrit :

thx Pierre - thats whta I tried - doesn't work..
\version "2.19.58"
{\time 3/2 e''4 e'' a''2 \tweak X-offset #-5 \breathe a''!2}

Cheers
Joei

Hi Johannes,
How about:

\version "2.20"
{ c'1 \tweak X-offset #-5 \breathe 1 }

Cheers,
    Pierre

Le mer. 30 déc. 2020 à 10:06, Johannes Roeßler mailto:j...@joei.de>> a écrit :

Hi group,

what would be the right way to shift a \breathe sign to
the left - I
only managed to move it up and down with \offset commands
but not to the
left :(

Using 2.19.58

Cheers
Joei








Re: offset \breathe sign

2020-12-30 Thread Johannes Roeßler

thx Pierre - thats whta I tried - doesn't work..
\version "2.19.58"
{\time 3/2 e''4 e'' a''2 \tweak X-offset #-5 \breathe a''!2}

Cheers
Joei

Hi Johannes,
How about:

\version "2.20"
{ c'1 \tweak X-offset #-5 \breathe 1 }

Cheers,
Pierre

Le mer. 30 déc. 2020 à 10:06, Johannes Roeßler <mailto:j...@joei.de>> a écrit :


Hi group,

what would be the right way to shift a \breathe sign to the left - I
only managed to move it up and down with \offset commands but not
to the
left :(

Using 2.19.58

Cheers
Joei






offset \breathe sign

2020-12-30 Thread Johannes Roeßler

Hi group,

what would be the right way to shift a \breathe sign to the left - I 
only managed to move it up and down with \offset commands but not to the 
left :(


Using 2.19.58

Cheers
Joei




Usage of Text-Fonts on MAC

2020-10-13 Thread Johannes Roeßler

Hi Group,

I recently switched to MAC. Unfortnuately there seeem to be issues with 
the fonts?


e.g. - I'd like to use Calluna - which is installed and I can use it in 
Office etc - even the autocomplete of frescobaldi detects it - but no 
change in the result, its not used there.



8<-

\version "2.20.0"

\header {
  title = \markup { \override #'(font-name . "Calluna") \abs-fontsize 
#24 { "Should print in Calluna"}}

}

{r1}

>8

Cheers
Joei




centered rest sign in partial

2020-10-13 Thread Johannes Roeßler

Hi Group,

I've got an issue with centered rests in partials:

\version "2.20.0"
{
\time 4/4
\partial 2
R2
}

gives an invisible rest. Any hints?

Thx, Joei





Naming a StaffGroup

2018-09-14 Thread Johannes Roeßler

Hi Lilypondians,

I've got an issue with the instrumnt names for ChoirStaffs. For a better 
understanding see the picture here: http://joeigraphie.de/lily/Bild8.png

Here the (hopfully small enough) example source code:
~8<~~

\version "2.19.58"


einzel = \new Staff
\with {
  instrumentName = "LongSingle"
  shortInstrumentName = "A"
}
\repeat unfold 50 r1

gruppe = \new StaffGroup
\with {
  instrumentName = \markup \rotate #90 "Chor II_l"
  shortInstrumentName = \markup \rotate #90 "Chor II_s"
}

<<
  \new Staff
  \with {
    instrumentName = "long"
    shortInstrumentName = " "
  }
  \relative { \repeat unfold 50 r1 }
  \new Staff   \with {
    instrumentName = "long"
    shortInstrumentName = " "
  }
  \relative {\repeat unfold 50 r1 }




\score {

  <<
    \einzel
    \gruppe
  >>

  \layout {
    indent = 2.5\cm
    short-indent = 2\cm


    \context {
      \Staff
       \override InstrumentName #'self-alignment-X = #0.5

    }

    \context {
      \StaffGroup
     \override InstrumentName #'self-alignment-X = #-0.5
     }
  }
}

~~~>8~~

In the first system I move the "long" InstrumentName of the group with \override 
InstrumentName #'self-alignment-X = #-0.5 to the left, so it doesn't collide with the staff names 
which I want to have in the first system. Later I only want to have the group name there, but in 
alignment with the staff names of the "non-group"-staffs. Unfortunately InstrumentName 
and ShortInstrumentName cannot be modified independently. Otherwise I would have left the contents 
of InstrumentName and ShortInstrumentName the same and moved one of them for the StaffGroup 
context, the other not.

Cheers Joei


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


Re: usage of OLL notation-fonts

2018-02-15 Thread Johannes Roeßler

great hint Martin, so I was able to fix this issue for me... its indeed 
os-path-join instead of os-path-join-unix... thx!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: usage of OLL notation-fonts

2018-02-15 Thread Johannes Roeßler

added this issue... but just like discribed here - cant condense it further ;)
Cheers Joei
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


usage of OLL notation-fonts

2018-02-15 Thread Johannes Roeßler

Hi,

I'm trying to change the music font according to the descrition on github: 
https://github.com/openlilylib/notation-fonts

Whith this source code:

\version "2.19.58"

\include "oll-core/package.ily"
\loadPackage notation-fonts

\useNotationFont "beethoven"

\relative c' {
  c8 d e f g a b c
  c, e g r d f a r
}


I get this log and now result:
Starte lilypond-windows.exe 2.19.58 [example.ly]...
»C:/Users/Johannes/AppData/Local/Temp/frescobaldi-b939qq8v/tmpcg17kub8/example.ly«
 wird verarbeitet
Analysieren...
C:/Users/Johannes/OLL/notation-fonts/__init__.ily:81:2: Fehler: GUILE 
signalisierte einen Fehler für den hier beginnenden Ausdruck
#
 (let*
C:/Users/Johannes/AppData/Local/Temp/frescobaldi-b939qq8v/tmpcg17kub8/example.ly:6:1:
 Warnung:

Trying to access non-existent option: global.installed-fonts.otf


\useNotationFont "beethoven"

Unbound variable: os-path-join-unix
C:/Users/Johannes/OLL/notation-fonts/package.ily:102:12: In procedure member in expression 
(member use-name (# " \\getChildOption 
global.installed-fonts
    #(cond
  ((eq? 'svg (ly:get-option 'backend))
   'svg)
  ((eq? 'svg-woff (ly:get-option 'backend))
   'woff)
  (else 'otf))
 " "C:/Users/Johannes/OLL/notation-fonts/package.ily" ...)):
C:/Users/Johannes/OLL/notation-fonts/package.ily:102:12: Wrong type argument in 
position 2: #f
Wurde mit dem Return-Code 1 beendet.

I do remeber there might be issues with the path? Any hints?

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


Re: Tromba "mo"

2018-02-09 Thread Johannes Roeßler


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 Johannes Roeßler

*facepalm* - yep, thats it... thx all!

Uh, oh, this means `Tromba primo', `first Tromba', so please forget what
I talked about solmisation :-)


 Werner



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


Re: Tromba "mo"

2018-02-09 Thread Johannes Roeßler

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 <j...@joei.de 
<mailto:j...@joei.de>> 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


Tromba "mo"

2018-02-09 Thread Johannes Roeßler

Hi,

my apologies for being slightly off topic - but hoping for some musical 
knowledge here ;)

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?

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


Re: Sessions with Frescobaldi 3.0

2018-01-19 Thread Johannes Roeßler

Hi Guys,

I'm working on WIN10.

@URS:
- Syntax highlighting works when working without sessions
- Does not compile: it states the version is missing - it seems that it 
doesnt see the source - first warning:
"Warnung: keine \version-Anweisung gefunden" - although there is a 
version...


- opening with parameter -v produces errors:

"Traceback (most recent call last):
File "CAPythonBSMibXsite-packagesXcx.FreezeXinitscriptsXConsole.py", 
line 21, in 

File "../frescobaldi", line 11, in 
File "C:\Program Files (x86)\Frescobaldi\frescobaldi_app\main.py", line 
185, in main

args = parse_commandlineO
File "C:\Program Files (x86)\Frescobaldi\frescobaldi_app\main.py", line 
98, in parse_commandline

return parser.parse_args(args[1:])
File "C:\Python35\lib\argparse.py", line 1726, in parse_args File 
"C:\Python35\lib\argparse.py", line 1758, in parse_known_args File 
"C:\Python35\lib\argparse.py", line 1964, in _parse_known_args File 
"C:\Python35\lib\argparse.py", line 1904, in consume_optional File 
"C:\Python35\lib\argparse.py", line 1832, in take_action

File "C:\Python35\lib\argparse.py", line 1042, in    call
File "C:\Python35\lib\argparse.py", line 2364, in _print_message 
AttributeError: 'NoneType' object has no attribute 'write'"


Looks like my installation is broken and it only affects the session 
features..


I'll try a reinstall.

Thx, Joei

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


Re: OpenLilyLib with Windows

2018-01-11 Thread Johannes Roeßler

what a pity.. unfortunately I'm not experienced in Angular and node...  by the 
way - there also seems to be a mailing issue ;) - got this reply:

 :
 delta.ursliska.de [85.25.3.15]:
 >>> RCPT TO:
 <<< 450 4.1.1: Recipient address rejected: unverified address: 
host 127.0.0.1[127.0.0.1] said: 550 5.1.1  User doesn't 
exist:i...@openlilylib.org  (in reply to RCPT TO command)

Cheers Joei

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


Re: OpenLilyLib with Windows

2018-01-11 Thread Johannes Roeßler



Hm, looks all correct.

Could you please

a) try to enter C:/OLL/ to Frescobaldi's path (just a guess)
b) try if you can access *any* file that is relative to a path given 
toFrescobaldi's include path?Urs

Hi Urs,

unfortunately you have to "pick" a folder - I can't enter the path manually. 
But for I actually couldn't access *any* file - your question pointed me to the solution: 
- I have to put it into my Users-Directory - just on root does'nt work (as long you're 
not logged in as admin, I assume) - now its working.

So like c:\users\Joei\OLL

BTW - are you the one maintaining Openlilylib.org? It looks very promising - 
alas there is no real content :)

Cheers Joei

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


OpenLilyLib with Windows

2018-01-11 Thread Johannes Roeßler

Hi Urs,

PATH to oll-core/package.ily: C:\OLL\oll-core\
Path given in Frescobaldi: C:/OLL
Log:
-8<---
Starte lilypond-windows.exe 2.19.22 [Ohne Titel]...
»C:/Users/Johannes/AppData/Local/Temp/frescobaldi-n0yqeelr/tmpd46l6ljs/document.ly«
 wird verarbeitet
Analysieren...
C:/Users/Johannes/AppData/Local/Temp/frescobaldi-n0yqeelr/tmpd46l6ljs/document.ly:2:10:
 Fehler: Datei »oll-core/package.ily« kann nicht gefunden werden
(Suchpfad: 
»C:/Users/Johannes/AppData/Local/Temp/frescobaldi-n0yqeelr/tmpd46l6ljs;C:/Program
 Files (x86)/LilyPond-2.19.22/usr/share/lilypond/current/fonts/svg/;C:/Program 
Files (x86)/LilyPond-2.19.22/usr/share/lilypond/current/fonts/type1/;C:/Program 
Files (x86)/LilyPond-2.19.22/usr/share/lilypond/current/fonts/otf/;C:/Program 
Files (x86)/LilyPond-2.19.22/usr/share/lilypond/current/scm;C:/Program Files 
(x86)/LilyPond-2.19.22/usr/share/lilypond/current/ps;C:/Program Files 
(x86)/LilyPond-2.19.22/usr/share/lilypond/current/ly;C:/OLL;«)
\include
 "oll-core/package.ily"
schwerer Fehler: gescheiterte Dateien: 
"C:\\Users\\Johannes\\AppData\\Local\\Temp\\frescobaldi-n0yqeelr\\tmpd46l6ljs\\document.ly"
Wurde mit dem Return-Code 1 beendet.
->8-

Cheers, Joei

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


OpenLilyLib with Windows

2018-01-11 Thread Johannes Roeßler

Hi, anybody here who was able to use OpenLilyLib successfully under windows 10? 
I struggle with the paths
I included the OLL-Directory in the Settings of Frescobaldi, I also removed the 
"master" from the folder name generated by Git - still not working.
There was an interesting discussion regarding such an issue on 
http://lilypond.1069038.n5.nabble.com/openLilyLib-on-Windows-10-td204416.html - 
but no conclusion.
Cheers Joei
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: CueVoice and tagging

2018-01-10 Thread Johannes Roeßler

Thanks for your patience and explanation ;)

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


Re: CueVoice and tagging

2018-01-10 Thread Johannes Roeßler
thx David, got it. Changed the voice, so that it doesn't start with the 
\cue. (See attached file)

What I still don't get, is what happens when I start voiceB with

\clef "bass"

Joei


Johannes Roeßler <j...@joei.de> writes:


Hi Guys,

sort of an didactic question. Maybe I was tired or just stupid - I
forgot about the \killCues command and tried to build this on my own.
So - that means I know (now) the correct way to get rid of the cues -
but I'd still like to know where I was wrong with my idea:

\version "2.19.58"
\language "deutsch"


8<--
voiceA = \relative c' {
   g8 a h c d e e e e2 e
}

voiceB = \relative c' {
   %\clef "bass"

\tag #'voice {
     \new CueVoice {\set instrumentCueName = "Voice A"}
     \cueDuringWithClef #"voiceA" #UP #"treble" { r2 r2 }
   }

\tag #'partitur { r1}
   a1
}

\addQuote "voiceA" {\voiceA}

<<
   \voiceA
   \removeWithTag #'partitur { \voiceB}

Your example contains cut marks in the middle of the example and
non-breaking spaces.  If you cannot teach your mail client to keep
spaces as-is, try attaching the file instead.


1) This example nearly works - but the "a1" in voiceB will be printed
small like a cue note. No idea why.

The documentation states in the section about \cue:

File: lilypond-notation.info,  Node: Formatting cue notes,  Prev: Quoting other 
voices,  Up: Writing parts

[...]

   Note: When a ‘Voice’ starts with ‘\cueDuring’, as in the
   following example, the ‘Voice’ context must be explicitly
   declared, or else the entire music expression would belong to
   the ‘CueVoice’ context.



voiceA = \relative c' {
  a1 g8 a h c d e e e e2 e
}

voiceB = \relative c' {
  \clef "bass"

\tag #'voice {
  a1
\new CueVoice {\set instrumentCueName = "Voice A"}
\cueDuringWithClef #"voiceA" #UP #"treble" { r2 r2 }
  }

\tag #'partitur { r1}
  a1
}

\addQuote "voiceA" {\voiceA}

<<
  \voiceA
  \removeWithTag #'partitur { \voiceB}
>>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


CueVoice and tagging

2018-01-10 Thread Johannes Roeßler

Hi Guys,

sort of an didactic question. Maybe I was tired or just stupid - I 
forgot about the \killCues command and tried to build this on my own.
So - that means I know (now) the correct way to get rid of the cues - 
but I'd still like to know where I was wrong with my idea:


\version "2.19.58"
\language "deutsch"


8<--
voiceA = \relative c' {
  g8 a h c d e e e e2 e
}

voiceB = \relative c' {
  %\clef "bass"

\tag #'voice {
    \new CueVoice {\set instrumentCueName = "Voice A"}
    \cueDuringWithClef #"voiceA" #UP #"treble" { r2 r2 }
  }

\tag #'partitur { r1}
  a1
}

\addQuote "voiceA" {\voiceA}

<<
  \voiceA
  \removeWithTag #'partitur { \voiceB}
>>

>8---

1) This example nearly works - but the "a1" in voiceB will be printed 
small like a cue note. No idea why.


2) Now uncomment the "\clef "bass"" in VoiceB - its getting even stranger.

I assume the construction tagged with #'voice is too complex?

Cheers

Joei



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


Re: optional Dynamics with tag#?

2018-01-10 Thread Johannes Roeßler

thx Kieren - I will check it out! Sound promising...

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


Re: optional Dynamics with tag#?

2018-01-10 Thread Johannes Roeßler

thx David... it can be so simple *facepalm* - and regarding "says who": me :)

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


Re: optional Dynamics with tag#?

2018-01-10 Thread Johannes Roeßler

thx Michael, works as desired :)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


optional Dynamics with tag#?

2018-01-10 Thread Johannes Roeßler

Dear Lilypondians ;)

another day another question - I try to make optional dynamics for a critical 
edition,
is it possible, that just dynmaics signs can't be toggled with tags?

8<

\version "2.19.58"

music = \relative {
  g'8. c32 d \tag #'dyn {\p } c32 d
 }
\score {
  \keepWithTag #'dyn \music
}

--->8

Do I really have to use

\tag #'dyn {a4\p} \tag#'nodyn {a4}

and than either \keepWithTag #'dyn \music or \keepWithTag #'nodyn \music?

Cheers Joei

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


Figured Bass / Vertical Spacing

2018-01-09 Thread Johannes Roeßler

Good evening,

good somebody please hint me how to manipulate the vertical distance of 
the bass figures? I don't like this jumping...


See attached file.

Joei

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


Re: Staff Group Bracket

2017-12-28 Thread Johannes Roeßler

thx Malte, works as wished.

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


Re: Dynmaic size

2017-12-28 Thread Johannes Roeßler

thx Malte - perfect.

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


Staff Group Bracket

2017-12-27 Thread Johannes Roeßler

Hi,

is it possible (ok, its Lilypond, let me rephrase that... HOW is it 
possible) to tweek the distance of the staff-group bracket from the 
staff lines? (See attachment for clarification)


Cheers Joei


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


Dynmaic size

2017-12-27 Thread Johannes Roeßler

Hi,

I'm a little bit frustrated for I tried to figure this simple-seaming 
issue out on my own but didn't manage it.
I'd like to define an extra dynamic sign that's smaller than the 
original one.


First surprise:
I thought to use a definition like this
ep=\markup {  \dynamic {p}}
as a base for the size change - but it doesn't work even like this

So I found this: (Its scheme? right?)
ep = #(make-dynamic-script (markup #:dynamic "p" ))
- but I have no idea how to integrate the size here.

I could work with

\override DynamicText.font-size = #-2, but maybe there is an even 
simpler option.


Cheers

Joei


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


Folder Structure for sources / path settings

2017-12-06 Thread Johannes Roeßler

Hi,

certainly some of you know the great editions of Nicolas Sceaux. When I try to 
compile them on my windows system I'm always in trouble how to either built my 
folder structure accordingly or - to set the correct path information in 
frescobaldi (where I only fins path settings for the hypenation).

I tried it with this source: 
http://nicolas.sceaux.free.fr/charpentier/H9_MesseMinuit.tar.gz

I guess there is an easy way - at least easier than rewriting all links...

Cheers, Joei

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


3 Voices mess

2017-05-16 Thread Johannes Roeßler
Hi list :)

I'm setting an 18th century piano fantasy and need advice.

There is one spot with 3 Voice in one staff. In the manuscript the direction of 
the stem seems (to me) to indicate the hand that should be used.

Now I have to decide to keep this information an receive an ugly and hardly 
readable print or to drop this information and try to work with chords whenever 
this is possible.

Or u guys got a helpful hint...

Cheers, Joei

Here my code - the stemUps and Downs are used to force the original setting...


--8<-
\version "2.19.58"
\language "deutsch"

global = {
  \key f \major
  \time 2/4
}

rightOne = \relative c''' {
  \global
r8  b16 d, d[ (es)] es (f) f[(g)] c e, e[(f)] f(g) g[ a c8] c4
}

rightTwo = \relative c'' {
  \global
 r8 \stemUp b8 r8  \stemDown b8~b  \stemUp c4   c8~c \stemDown a' a4
}

rightThree = \relative c'' {
  \global \stemDown
r8 as8[ g d] es b' a e f4 r16 d e fis
 }

\score {
  \new PianoStaff \with {
instrumentName = "Kl."
  } <<
\new Staff = "right" \with {
  midiInstrument = "acoustic grand"
} << \rightOne \\ \rightTwo \\ \rightThree >>
 >>
  \layout { }
  }



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


Re: Strange indent

2017-05-11 Thread Johannes Roeßler

Dear Andrew,

I definitely have to improve my archiv-searching skills ;) - but it 
worked, your guess regarding the grace notes was correct - and with you 
mentioning it I recalled that I had this issue a few years ago..


thx and cheers, Joei



Hi Joel,

I had this same error message once, and asked about it on the list. 
There's some discussion if you search the archives. I can't recall 
that there was any good resolution of the topic.


It is suspicious that the erroring line has a grace at the start. Can 
you try applying a grace spacer rest of the same duration in the bass 
clef at the same musical moment? I have a feeling this may be the 
famous grace note bug that lilypond has.


Andrew





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


Strange indent

2017-05-11 Thread Johannes Roeßler

Hi Group,

I've got a strange indent at the right edge of my notes and  no idea, 
where it comes from.
I can't construct  a minimal example that reproduces the effect - but 
maybe you can give me hints

where to look?

I also got tons of "Mis-predicted Force Errors" in the log.

"Programmierfehler: mis-predicted force, 97.877480 ~= 97.925119"

Cheers Joei

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


Beams of sixteenths

2017-05-07 Thread Johannes Roeßler

Hi,

professional editions often try to avoid angles that let visual staff 
lines between the beams - and when dealing with notes shorter than 
eighth notes,
the beams should not cross the staff lines - I now could change them all 
manually - but that's not really feasible (or not that what I'd like to do)


Is there any option I can set to handle this?
~~~8<~
\version "2.19.49"
{
  \time 2/8
  f'16[^"a" c']
  \once \override Staff.Beam.positions = #'(2 . 1.6)
  f'[^"b" c']
}
~~~8<~
Cheers, Joei

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


Re: 3 Voices one staff

2017-05-04 Thread Johannes Roeßler

first - thx for your help - much appreciated!

to clarify the context: it is 18th century, it is a "fantasy" - and in 
other parts the stem direction clearly indicates the hand like here:


I think I'll stick in this case with Simon and the New Bach Edition..

But David, I'll clear up my \stemUp and Downs per your advice at aother 
places in my code! Thx.


Joei

Am 04.05.2017 um 18:47 schrieb David Kastrup:

Simon Albrecht <simon.albre...@mail.de> writes:


Am 04.05.2017 um 18:13 schrieb Johannes Roeßler:

With the direction of the stems indicating the hand

I think in order to really judge it one needs more context. From what
time is the music, are you in touch with the composer, what kind of
editorial policies are imposed, … ?
If it were 18th century music, the voice notation and stem direction
would certainly not indicate hand distribution and turning the lower
two voices into chords of one voice would be a sensible editorial
decision (if I played it I’d probably distribute hands like that).

If it were 18th century music, mushing together separate voices into
chords would be a complete no-no.  Even when played on a simplistic
one-manual keyboard (or the new-fangled pianoforte), the player would be
expected to keep the separate voices coherent or he could without loss
be replaced with an automaton.


Come on, don’t exaggerate. If they’re written as chords, an 
intelligent player like you envisage would still recognise them as two 
voices and play them appropriately.
I’m very much in favour of sticking with the original notation, but I 
agree with Urs that that’s not really feasible here. So you have to 
die one death: either change stem direction, change beaming, move it 
on two staves, interlock beams in a very unpleasant way or write 
chords. The New Bach Edition for example often went with the latter, 
because with up to five homophonic voices on one staff not sharing any 
stems everything else is not compatible with modern engraving.
Also, it depends on whether it’s a strict contrapunctal composition 
like a fugue or not.


Best, Simon



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


3 Voices one staff

2017-05-04 Thread Johannes Roeßler

Hi,

I have to set this piano notes:



With the direction of the stems indicating the hand (so I can't put the 
lower two just into accords).


Not surprisingly it looks rather ugly - even without beaming the middle 
voice together





\version "2.19.58"

\relative c'{
<<{\stemUp a'8 b b }\\{\stemUp dis16[ e] e[fis] fis[gis32 a] 
}\\{\stemDown  fis,8[ g dis]}>>

}

Any hints?

Cheers and thx, Joei


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


strict notespacing with lyrics

2017-04-23 Thread Johannes Roeßler

Hi,

any ideas how to get a more even - ot lets say rhytmic - distribution of 
the notes with lyrics?
In this example I don't like the gap after the 4th quaver in the upper 
voice caused by the long syllable "Herrn" in the second voice.
I know, it will become ugly for very long syllables - but may be there 
is a way to get a little bit more even spacing?
(and yes - I searched the archive - but maybe my english isn't good 
enough to find the matching search terms :( )


-8<--

\version "2.19.58"

global = {
  \autoBeamOff
}

soprano = \relative c'' {
  \global
  a8 a a a a a a4
}

alto = \relative c' {
  \global
  a4 a8 a a4 a8 a
}

sopranoVerse = \lyricmode {
  sein, da -- heim zu sein da -- heim
}

altoVerse = \lyricmode {
  sein bei dem Herrn und da
}

\score {
  \new ChoirStaff <<
\new Staff  \soprano
\addlyrics { \sopranoVerse }
\new Staff  \alto
\addlyrics { \altoVerse }
  >>
}

->8--

cheers Joei

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


Re: Center Systems

2017-04-22 Thread Johannes Roeßler

Hi Kieren,

yes, I did search - obviously not in the right way.. was to fixated on 
"centered" that I didn't look for "middle of the page" - anyway, thx - 
your hint was the one I needed!


@Harm: thx for trying to help too - should have posted a pic... 
http://joeigraphie.de/lily/CenteredSystem.png


cheers, Joei



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


Re: Center Systems

2017-04-22 Thread Johannes Roeßler

Nobody? :(

Hi again,

I'd like to centre my systems vertically. Up to now the only options to
manipulate the vertical features I use/know are
ragged-bottom = ##f or ##t in the \paper-Env or explicit
system-system-spacings. But is there an option to keep the auto-distance that
is used for ragged-bottom = ##t but all systems not top-aligned but
centre-aligned?


\version "2.19.58"

\header { tagline = ##f }
\paper {
  ragged-bottom = ##f
  ragged-last-bottom = ##f
}

\score {
  <<
\new Staff <<
  \repeat unfold 15 { c'4 c' c' c' }
>>
\new Staff {
  \repeat unfold 15 { d'4 d' d' d' }
}
  >>
}

cheers Joei

***


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


Re: Header for each page

2017-04-21 Thread Johannes Roeßler
Hi Michael, Hi caagr98

nice to see you too Michael... (its you from the HDE? Right?)

I wasn't aware that the "instrument" from the header shows up on every page - 
shame on me :(
Bt.. On the first page it will appear below(!) title and subtitle - how do 
I get it above?

I minimized Michaels example...

8<-

\version "2.19.58"


\header {
  title = "My perfect piece"
  subtitle = "This is above the instrument"
  composer = "Music: by me"
  poet = "Words: by my wife ;-)"
  instrument = "My wonderful Voice"
}

 \repeat unfold 160 { c'4 c' c' c' }

->8

cheers, Joei
> Hallo Johannes,
>
> nice to see you here!
>
>> for printing parts I'd like to place the instruments name on the very top of
>> each(!) page - I have no idea how this can be done.
> As already answered normally the instrument is repeated on every page anyway.
>
> However you write about parts and without a minimal working example I can only
> guess as to what you do.
>
> Assuming you do it "like it is supposed to be done" you'll likely use 
> something
> like the attached small example:
>
> %%% snip %%%
> \version "2.18.2"
>
> \header {
>   title = "My perfect piece"
>   composer = "Music: by me"
>   poet = "Words: by my wife ;-)"
> }
>
> musicc = \repeat unfold 120 { c'4 c' c' c' }
> musicd = \repeat unfold 120 { d'4 d' d' d' }
>
> \book {
>   \bookOutputSuffix "Full"
>   \header {
> instrument = "Full Score"
>   }
>   \score {
> <<
> \musicc
> \musicd
> >>
>   }
> }
>
> \book {
>   \bookOutputSuffix "music-c"
>   \header {
> instrument = "music c"
>   }
>   \score {
> \musicc
>   }
> }
>
> \book {
>   \bookOutputSuffix "music-d"
>   \header {
> instrument = "music d"
>   }
>   \score {
> \musicd
>   }
> }
> %%% snip %%%
>
>
> HTH,
> Michael
> --
> Michael Gerdau   email: m...@qata.de
> GPG-keys available on request or at public keyserver




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


Center Systems

2017-04-21 Thread Johannes Roeßler
Hi again,

I'd like to centre my systems vertically. Up to now the only options to 
manipulate the vertical features I use/know are
ragged-bottom = ##f or ##t in the \paper-Env or explicit 
system-system-spacings. But is there an option to keep the auto-distance that 
is used for ragged-bottom = ##t but all systems not top-aligned but 
centre-aligned?


\version "2.19.58"

\header { tagline = ##f }
\paper {
  ragged-bottom = ##f
  ragged-last-bottom = ##f
}

\score {
  <<
\new Staff <<
  \repeat unfold 15 { c'4 c' c' c' }
>>
\new Staff {
  \repeat unfold 15 { d'4 d' d' d' }
}
  >>
}

cheers Joei



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


  1   2   >