Hi Paolo,
Just to avoid any surprise, I'd add \once before the overrides.
Also, I found the comma size a little too big compare to the fermata dot,
E.g.:

\version "2.20.0"

breatheWithFermata =
  #(define-music-function (offs) (number?)
    #{
      \once\override BreathingSign.Y-offset = $offs
      \once\override BreathingSign.text = \markup {
        \override #'(baseline-skip . .8)
        \center-column {
          \musicglyph "scripts.ufermata"
          \abs-fontsize #21 ","
        }
      }
      \breathe
    #})

{
  c'2.
  % construct the symbol
  \breatheWithFermata #3.7
   c'4
}

Cheers,
Pierre

Le lun. 8 juin 2020 à 15:28, Paolo Prete <paolopr...@gmail.com> a écrit :

>
>
> On Sun, Jun 7, 2020 at 9:01 PM Pierre Perol-Schneider <
> pierre.schneider.pa...@gmail.com> wrote:
>
>> Hi Paolo,
>> How about:
>>
>> breatheWithFermata = #(define-music-function (parser location offs)
>> (number?)
>> #{
>>   \override BreathingSign.Y-offset = $offs
>>   \override BreathingSign.text = \markup {
>>     \override #'(baseline-skip . 1)
>>     \center-column {
>>       \musicglyph #"scripts.ufermata"
>>       \abs-fontsize #24 ","
>>     }
>>   }
>>   \breathe
>> #})
>>
>> {
>>   c'2.
>>   % construct the symbol
>>   \breatheWithFermata #4
>>    c'4
>> }
>>
>
> Thanks Pierre, that's perfect
>

Reply via email to