\articulate command doesn't handle {c4 4}

2015-02-15 Thread Cynthia Karl

The Notation Manual seems to allow a naked duration to represent the last pitch 
with that duration.  The following extract from the NM shows what I'm talking 
about:



(you'd think that since we're only on p6, it would be easy to find the explicit 
permission to do this, but I can't find it.  Maybe it's somewhere later in the 
NM.  You'd probably also think that since the difference between absolute and 
relative pitch entry has already been discussed this snippet should read:  
cis''1~ 1~ \break cis''.)

Another illustration of this use of naked duration occurs on NM p371:



which produces:



If examples such as this are modified by the \articulate command, the midi file 
is non-representative of the LP input.  For example,

\version 2.19.15
\include articulate.ly

\score { {
\unfoldRepeats \articulate
\new Staff  {cis''1~ 1~ \break cis''}
 }
 \midi {  }
}

produces a midi file which consists of 4 beats of cis'' folowed by 4 beats of 
rest or silence followed by 4 beats of cis''.






___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \articulate command doesn't handle {c4 4}

2015-02-15 Thread Simon Albrecht

Hello,

the support for standalone durations was one of the first (and most 
important?) changes made in 2.19 (see 
http://lilypond.org/doc/v2.19/Documentation/changes/index.html. But 
indeed, it seems to be a bug if \articulate can't handle them.


Yours, Simon

Am 15.02.2015 15:26, schrieb Cynthia Karl:


The Notation Manual seems to allow a naked duration to represent the 
last pitch with that duration.  The following extract from the NM 
shows what I'm talking about:



(you'd think that since we're only on p6, it would be easy to find the 
explicit permission to do this, but I can't find it.  Maybe it's 
somewhere later in the NM.  You'd probably also think that since the 
difference between absolute and relative pitch entry has already been 
discussed this snippet should read:  cis''1~ 1~ \break cis''.)


Another illustration of this use of naked duration occurs on NM p371:


which produces:


If examples such as this are modified by the \articulate command, the 
midi file is non-representative of the LP input.  For example,


\version 2.19.15
\include articulate.ly http://articulate.ly

\score { {
\unfoldRepeats \articulate
\new Staff  {cis''1~ 1~ \break cis''}
 }
 \midi {  }
}

produces a midi file which consists of 4 beats of cis'' folowed by 4 
beats of rest or silence followed by 4 beats of cis''.









___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \articulate command doesn't handle {c4 4}

2015-02-15 Thread Thomas Morley
2015-02-15 18:25 GMT+01:00 Simon Albrecht simon.albre...@mail.de:

  Hello,

 the support for standalone durations was one of the first (and most
 important?) changes made in 2.19 (see
 http://lilypond.org/doc/v2.19/Documentation/changes/index.html
 http://lilypond.org/doc/v2.19/Documentation/changes/index.html. But
 indeed, it seems to be a bug if \articulate can’t handle them.

 Yours, Simon

 Am 15.02.2015 15:26, schrieb Cynthia Karl:

 For example,

  \version 2.19.15
 \include articulate.ly

 \score { {
 \unfoldRepeats \articulate
  \new Staff  {cis''1~ 1~ \break cis''}
  }
  \midi {  }
 }
  produces a midi file which consists of 4 beats of cis'' folowed by 4
 beats of rest or silence followed by 4 beats of cis''.

 Isolated durations are working copying the previous note or chord, the
result is a _NoteEvent_ without 'pitch (not an EventChord, even if the
previous event was an EventChord).
Look at the terminal-output of 1. example

Otoh, the articulate-script _needs_ to have all relevant events as
EventChords.
Though, wrapping a NoteEvent without pitch into an EventChord will result
in rubbish even without \articulate.
Look at the printed and terminal output of 2. example.

\version 2.19.15

mus = { dis'' fis''1 1 }

%% 1. example
\displayMusic
  \mus

%% 2. example
\displayMusic
  $(map-some-music
(lambda (m)
  (event-chord-wrap! m parser))
mus)

Have a look into articulate.ly again. You'll find:
% CHANGELOG
%  * David Kastrup: basic 2.15.28 compatibility by using event-chord-wrap!
%This should really be done by rewriting the code more thoroughly.

Seems David was prophetic again.


Pease write a bug-report.


Cheers,
  Harm
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user