[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: that acciaccatura issue
From: |
Mark Stephen Mrotek |
Subject: |
RE: that acciaccatura issue |
Date: |
Sun, 21 Aug 2016 14:53:19 -0700 |
Thomas Morley,
Thank you for your extensive and detailed reply.
The time and knowledge that you spent on my inquiry indicates a real, and
appreciated, desire to assist.
Several times in the past I have sought aid from this list. Every "trouble" was
quickly and clearly resolved.
Never have I experienced such a kerfuffle as the present.
I am not an intimate of the workings of Lilypond. I do not know what code is
necessary. I do not know what context, or how much, is necessary for the
resolution of a "problem."
Using the code you provided
\new Staff <<
\new Voice { \time 4/4 \key bes \major \voiceOne \acciaccatura r8 r4 }
\new Voice { \voiceTwo \grace s8 r4 }
As a template applied to my "snippet" all is well.
Again, thank you for your patient assistance.
Mark
-----Original Message-----
From: Thomas Morley [mailto:address@hidden
Sent: Sunday, August 21, 2016 1:45 PM
To: Mark Stephen Mrotek <address@hidden>
Cc: Simon Albrecht <address@hidden>; lilypond-user <address@hidden>
Subject: Re: that acciaccatura issue
2016-08-21 19:59 GMT+02:00 Mark Stephen Mrotek <address@hidden>:
> Simon,
>
> Since I am not a power user as some on this list are, please indicate
> what I should leave out.
> The indication of a Piano Staff?
> The key and time signatures?
> The indication of two explicit voices in the "upper" staff?
> The inclusion of the "\grace s8" in two of the other voices?
> The pitches and durations after the first in each of the voices?
>
> Thank you for your kind consideration.
>
> Mark
>
>
> -----Original Message-----
> From: Simon Albrecht [mailto:address@hidden
> Sent: Sunday, August 21, 2016 10:23 AM
> To: Mark Stephen Mrotek <address@hidden>; address@hidden
> Subject: Re: that acciaccatura issue
>
> On 21.08.2016 19:18, Mark Stephen Mrotek wrote:
>> A minimal example was attached.
>
> No it wasn't. There were lots of stuff in it that have nothing to do
> with the problem. Please (re)read
> <http://lilypond.org/tiny-examples.html>
> carefully, and do as it says.
>
> Yours, Simon
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% About making the minimal example
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% to show the problem not needed:
\version "2.18.2"
%% next line
\new PianoStaff <<
%% next line
\set PianoStaff.instrumentName = #"Var. IX "
%% Staff-naming
\new Staff = "upper" <<
\time 4/4
\key bes \major
%% Voice-naming
\new Voice = "soprano"
{ \voiceOne \relative c'' {
\acciaccatura a8 bes4 %% rest of line: ^. r \acciaccatura a8 bes4^. r |
}
}
%% Voice-naming
\new Voice = "alto"
{ \voiceTwo \relative c'' {
\grace s8 r4 %% rest of line: \stemDown <d, f> r q |
}
}
>>
%% next 8 lines
\new Staff = "lower"
{
\time 4/4
\key bes \major
\clef bass
\relative c {
%% replace 16th with a 4th note
\grace s8 r16 bes' (f d bes4) %% rest of line: r16 bes' (f d bes4)
}
}
%% next line
>>
%% next 3lines
\layout {
}
%% I.e. remaining
\new Staff <<
\time 4/4
\key bes \major
\new Voice
{ \voiceOne \relative c'' {
\acciaccatura a8 bes4
}
}
\new Voice
{ \voiceTwo \relative c'' {
\grace s8 r4
}
}
>>
%% now we can talk further
%% why repeating relative?
%% relative can be deleted anyway, when using rests only %% all those braces,
why?
%% leads to
\new Staff <<
\time 4/4
\key bes \major
\new Voice { \voiceOne \acciaccatura r8 r4 }
\new Voice { \voiceTwo \grace s8 r4 }
>>
%% Now we have a small example.
%% Note I don't call it a minimal one, but I will not reduce it further, to %%
avoid making it too abstract.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Analysis
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Now let's see what happens
\new Staff <<
%% next line _creates_ a voice _without_ grace synchroniziation
\time 4/4
%% next line _creates_ a voice _without_ grace synchroniziation
\key bes \major
\new Voice { \voiceOne \acciaccatura r8 r4 }
\new Voice { \voiceTwo \grace s8 r4 }
>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% sollutions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Two possibilities to solve the problem:
%% First the worst, do grace synchroniziation in all voices you've created :
\new Staff <<
\new Voice { \time 4/4 \grace s8 }
\new Voice { \key bes \major \grace s8 }
\new Voice { \voiceOne \acciaccatura r8 r4 }
\new Voice { \voiceTwo \grace s8 r4 }
>>
%% I think we'll agree next one is preferable %% put \time and \key in a Voice
you creates explicitely anyway:
\new Staff <<
\new Voice { \time 4/4 \key bes \major \voiceOne \acciaccatura r8 r4 }
\new Voice { \voiceTwo \grace s8 r4 }
>>
%% Which is basically what Simon already suggested
%% Cheers,
%% Harm
- that acciaccatura issue, Mark Stephen Mrotek, 2016/08/21
- Re: that acciaccatura issue, Simon Albrecht, 2016/08/21
- RE: that acciaccatura issue, Mark Stephen Mrotek, 2016/08/21
- Re: that acciaccatura issue, Simon Albrecht, 2016/08/21
- RE: that acciaccatura issue, Mark Stephen Mrotek, 2016/08/21
- Re: that acciaccatura issue, Thomas Morley, 2016/08/21
- RE: that acciaccatura issue,
Mark Stephen Mrotek <=
- Re: that acciaccatura issue, Simon Albrecht, 2016/08/21
- RE: that acciaccatura issue, Mark Stephen Mrotek, 2016/08/21
- Re: that acciaccatura issue, Thomas Morley, 2016/08/22
- Re: that acciaccatura issue, David Kastrup, 2016/08/22
- RE: that acciaccatura issue, Mark Stephen Mrotek, 2016/08/22
- Re: that acciaccatura issue, David Kastrup, 2016/08/22
- RE: that acciaccatura issue, Mark Stephen Mrotek, 2016/08/22
- Re: that acciaccatura issue, David Kastrup, 2016/08/22
- RE: that acciaccatura issue, Mark Stephen Mrotek, 2016/08/22
- Re: that acciaccatura issue, Werner LEMBERG, 2016/08/22