[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dotted note in duration-log?
From: |
David Kastrup |
Subject: |
Re: dotted note in duration-log? |
Date: |
Mon, 14 Jul 2014 10:30:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Omer Katzir <address@hidden> writes:
> nothing much to say, I want the note modified by the duration-log to
> be dotted. couldn’t really understand
> http://www.lilypond.org/doc/v2.18/Documentation/internals/notehead
>
> %%%%%
> \version 2.18.2
>
> \once \override NoteHead #'duration-log = 3 d,16 fis' b a <a fis>8
Well, on the assumption that the Midi is wonked anyway, you can add the
dot manually and then compensate for it:
{ \tweak duration-log 1 d,16.*2/3 fis'16 b a <a fis>8 r8 r2 }
If you want to be closer to the actual music (and get a proper Midi) you
can use something like
\new Staff \with { \mergeDifferentlyHeadedOn \mergeDifferentlyDottedOn }
<< \new Voice { \stemUp d,16 fis'16 b a <a fis>8 r8 r2 }
\new Voice { \stemDown \single \omit Stem d,2. } >>
It's a bit strange to use different stem directions and then omit the
stem, but that seems to be a precondition for successful head merging.
Maybe somebody has a more straightforward approach, and maybe LilyPond
should just not require multiple stems when producing a "foreign" head
that does not fit the beams/flags.
--
David Kastrup