lilypond-user
[Top][All Lists]
Advanced

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

Re: how to create baroque ornaments


From: Giso Grimm
Subject: Re: how to create baroque ornaments
Date: Wed, 29 Jun 2011 12:25:26 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

On 06/29/2011 08:54 AM, Giso Grimm wrote:
> On 06/27/2011 11:26 PM, Nicolas Sceaux wrote:
>> Le 27 juin 2011 à 21:23, Giso Grimm a écrit :
>>
>>> How can I create ornaments like those in the attached example?
>>>
>>> I tried \markup with creating a path, however, this is always placed
>>> outside the staff. The desired ornament should always appear at a fixed
>>> distance to the note head (similar to accidentials, but after the note
>>> head).
>>
>> This file might gives some basis for what you want:
>> <https://github.com/nsceaux/nenuvar/blob/master/common/side-ornementations.ily>
>>
>> For instance:
>>
>> \include "side-ornementations.ily"
>> {
>>   \parc bes'4. \parb c''!8 \para d''4. <\pralla c'' \pralla e''>8 \bar ""
>> }
> 
> Is it easily possible to vertically shift the musicglyph in one of the
> functions para/parb/... without changing the other scripts?

The answer was yes, the #:raise command does what I wanted:

%% Battement after note head
battement =
#(define-music-function (parser loc arg) (ly:music?)
   (side-ornate-event arg
                      (markup #:fontsize -2 #:raise 1 #:rotate 30
#:concat (#:hspace 0.5 #:vspace 0.3 #:musicglyph "scripts.prall"))
                      RIGHT))

Still I don't know how to get it printed after the dot.

Giso




reply via email to

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