On Thu, 2024-01-11 at 10:43 +0000, Eef Weenink wrote:
> Good day to all of you.
> 
> I am working on a figured bass, and now it is needed to get an
> extended line under two notes, not showing the number:
> Afbeelding met lijn, Lettertype, ontvangst, tekst
> 
> Automatisch gegenereerde beschrijving
> The line under the d and e have the meaning: Read as 5 and extend to
> next note.
> I made this using this command: 
>   \new FiguredBass \with { implicitBassFigures = #'(5) }
>  
> But this surpresses ALL the “fives” in the fragment. It I set it to
> “0” or leave it out, I see this:
> Afbeelding met Lettertype, lijn, muziek
> 
> Automatisch gegenereerde beschrijving
> Only the 5 at d and e should be surpressed. So I input these lines: 
> <5 4->8
>       \extendOn
>       \set Staff.implicitBassFigures = #'(5)
>       %{if I set the implicitBass to 5, or other number, it DOES NOT
> do anything%}
>       <5 3>4
>           \set Staff.implicitBassFigures = #'(0)
> 
> Big puzzle now is how to get this to work. I read somewhere this
> would be caused by combination of implicitBassfigures and
> \bassFigureExtendersOn.
> However it is no option to leave \bassFigureExtendersOn out (I would
> not get the line I need).
> 
> For testing, here is the example I used: 
> %%-------------------
> \version "2.24.3"
>  
> extendOn = \bassFigureExtendersOn
> extendOff = \bassFigureExtendersOff
>  
> \score {
>   \new StaffGroup <<
>     \new Staff = "violone" \with {
>       instrumentName = \markup {
>         \center-column { Violone, \line { e Cembalo. } }
>       }
>     }
>     {
>       \time 4/4
>       \clef bass
>       fis8 d8 e8 fis8 g8 g,4 g16 f
>     }
>  
>     \new FiguredBass \with { implicitBassFigures = #'(0) }
>     %{if I set the implicitBass to 5, or other number, it works for
> the whole passage%}
>     \figuremode {
>       \set figuredBassAlterationDirection = #RIGHT
>       \set figuredBassPlusDirection = #RIGHT
>       \override BassFigureAlignment.stacking-dir = #DOWN
>       <6 5->8 <5 4->8
>       \extendOn
>       \set Staff.implicitBassFigures = #'(5)
>       %{if I set the implicitBass to 5, or other number, it DOES NOT
> do anything%}
>       <5 3>4 
>           \set Staff.implicitBassFigures = #'(0)
>       \extendOff <5 _+>8
>       <7>8 <6>8 <5>4
>     }
>   >>
> }
> %%----------------
You don't have to use 5 as the implicit figure:

Try:
\version "2.24.3"
 
extendOn = \bassFigureExtendersOn
extendOff = \bassFigureExtendersOff
 
\score {
  \new StaffGroup <<
    \new Staff = "violone" \with {
      instrumentName = \markup {
        \center-column { Violone, \line { e Cembalo. } }
      }
    }
    {
      \time 4/4
      \clef bass
      fis8 d8 e8 fis8 g8 g,4 g16 f
    }
 
    \new FiguredBass \with { implicitBassFigures = #'(0) }
    %{if I set the implicitBass to 5, or other number, it works for the
whole passage%}
    \figuremode {
      \set figuredBassAlterationDirection = #RIGHT
      \set figuredBassPlusDirection = #RIGHT
      \override BassFigureAlignment.stacking-dir = #DOWN
      <6 5->8 <0 4->8
      \extendOn
     % \set Staff.implicitBassFigures = #'(5)
      %{if I set the implicitBass to 5, or other number, it DOES NOT do
anything%}
      <0 3>4
          \set Staff.implicitBassFigures = #'(0)
      \extendOff <5 _+>8
      <7>8 <6>8 <5>4
    }
  >>
}
%%----------------

Richard


Reply via email to