bug-lilypond
[Top][All Lists]
Advanced

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

Re: [LSR-620] Vertical line as a baroque articulation mark


From: Pierre Perol-Schneider
Subject: Re: [LSR-620] Vertical line as a baroque articulation mark
Date: Wed, 8 Apr 2015 11:55:34 +0200

Ok, so how about:

%{
  This short vertical line placed above the note is commonly used in
baroque music.
  <p>Its meaning can vary, but generally indicates notes that should be
played "staccatissimo".
  <p>The following example demonstrates how to achieve such a notation.
%}

baroqueStaccatissimo =
#(define-event-function (parser location) ()
   #{
      %% possible tweaks here, e.g:
      %-\tweak padding #1
      %-\tweak avoid-slur #'around
      %-\tweak direction #DOWN
      -\tweak stencil #(lambda (grob) (grob-interpret-markup grob
                          #{
                             \markup
                             \override #'(thickness . 3)
                             \draw-line #'(0 . 1)
                          #}))
       \stopped
   #})

\relative c' {
  a'4^\baroqueStaccatissimo a( c d')_\baroqueStaccatissimo
}

Cheers,
Pierre

2015-04-07 18:35 GMT+02:00 Mats Bengtsson <address@hidden>:

> As a side-note, I normally typeset this articulation as a staccatissimo,
> when transcribing baroque music and as far as I know, it's common practice.
> This can at least be worth to mention in the comment of the snippet.
>
>    /Mats
>
>
> On 2015-04-07 18:01, address@hidden wrote:
>
>> Hi Squad Members,
>>
>> Regarding this snippet:
>> http://lsr.di.unimi.it/LSR/Item?id=620
>> I'm not sure about the 'font-size 3' effect; was it for the articulation
>> line thickness?
>> Anyway I'm thinking about putting a more user-friendly script.
>> How about:
>>
>> upline =
>> #(define-event-function (parser location) ()
>>     #{
>>        %% possible tweaks here, e.g:
>>        %-\tweak padding #1
>>        %-\tweak avoid-slur #'around
>>        %-\tweak direction #DOWN
>>        -\tweak stencil #(lambda (grob) (grob-interpret-markup grob
>>                            #{
>>                               \markup
>>                               \override #'(thickness . 3)
>>                               \draw-line #'(0 . 1)
>>                            #}))
>>         \stopped
>>     #})
>>
>> \relative c' {
>>    a'4^\upline a( c d')_\upline
>> }
>>
>> Cheers,
>> Pierre
>>
>
> --
> =============================================
>         Mats Bengtsson
>         Signal Processing
>         School of Electrical Engineering
>         Royal Institute of Technology (KTH)
>         SE-100 44  STOCKHOLM
>         Sweden
>         Phone: (+46) 8 790 8463
>         Email: address@hidden
>         WWW: http://www.ee.kth.se/~mabe
> =============================================
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-lilypond
>


reply via email to

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