[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grace notes spacing
From: |
Thomas Morley |
Subject: |
Re: grace notes spacing |
Date: |
Mon, 12 Oct 2020 15:22:19 +0200 |
Am Mo., 12. Okt. 2020 um 12:13 Uhr schrieb Martín Rincón Botero
<martinrinconbotero@gmail.com>:
>
> Dear Kieren,
>
> thank you for that suggestion. Albeit tedious having to fix each note
> manually like this, it works!
>
> Am So., 11. Okt. 2020 um 21:26 Uhr schrieb Kieren MacMillan
> <kieren_macmillan@sympatico.ca>:
>>
>> Hi Martín,
>>
>> > Anyways, I couldn't make use of any of your suggestions. I couldn't figure
>> > out how to apply the mentioned tweaks.
>>
>> Here’s one possibility:
>>
>> %%%%
>> \version "2.20.0"
>>
>> fixa = \tweak NoteColumn.X-offset #-3 \etc
>> fixb = \tweak NoteColumn.X-offset #-2 \etc
>> fixc = \tweak Accidental.X-extent #'(1 . -0.5) \tweak
>> NoteHead.extra-spacing-width #'(-1 . -1) \etc
>> fixd = \tweak NoteColumn.X-offset #0.875 \etc
>>
>> {
>> <<
>> \relative c''' { r4 \appoggiatura { \fixa cis32 \fixb b \fixc ais } b4
>> gis' e }
>> \relative c'' { gis8 \fixd b gis b gis b gis b }
>> >>
>> }
>> %%%%
>>
>> Note that I had to unfold the \repeat in the lower staff, in order to easily
>> apply the tweak to the correct moment. This is one of the [many!] reasons I
>> use the edition-engraver: you can inject the tweak at an exact moment,
>> regardless of how the musical elements in that moment were generated.
>>
>> Hope this helps!
>> Kieren.
>> ________________________________
>>
>> Kieren MacMillan, composer (he/him/his)
>> ‣ website: www.kierenmacmillan.info
>> ‣ email: kieren@kierenmacmillan.info
>>
>
>
> --
> www.martinrinconbotero.com
How about:
\layout {
\context {
\Score
\override SpacingSpanner.strict-note-spacing = ##t
\override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1/20)
\override GraceSpacing.common-shortest-duration = #(ly:make-moment 1/64)
}
}
<<
\relative c''' { r4 \appoggiatura { cis32 b ais } b4 gis' e }
\relative c'' \repeat unfold 2 { gis8 b gis b }
>>
Cheers,
Harm
- grace notes spacing, Martín Rincón Botero, 2020/10/11
- Re: grace notes spacing, Kieren MacMillan, 2020/10/11
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/11
- Re: grace notes spacing, Kieren MacMillan, 2020/10/11
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/11
- Re: grace notes spacing, Kieren MacMillan, 2020/10/11
- Re: grace notes spacing, Martin Neubauer, 2020/10/11
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/12
- Re: grace notes spacing,
Thomas Morley <=
- Re: grace notes spacing, Kieren MacMillan, 2020/10/12
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/12
- Re: grace notes spacing, Kieren MacMillan, 2020/10/12
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/12
- Re: grace notes spacing, Thomas Morley, 2020/10/12
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/12
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/12
- Re: grace notes spacing, Kieren MacMillan, 2020/10/12
- Re: grace notes spacing, Martín Rincón Botero, 2020/10/12
- Re: grace notes spacing, Kieren MacMillan, 2020/10/12