[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dotted note in duration-log?
From: |
Omer Katzir |
Subject: |
Re: dotted note in duration-log? |
Date: |
Mon, 14 Jul 2014 12:03:28 +0300 |
Midi is not an issue for me and I only need it for one bar. that d in the
beginning should be dotted without changing the rest of the piece. Now, the
stem is in the right direction as I need it, I only need a dot next to the
note, that’s why I’m using \once if it helps, this section of the piece is 3/8.
__
Omer Katzir
On Jul 14, 2014, at 11:30 AM, David Kastrup <address@hidden> wrote:
> 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