Am 19.08.2011 21:36, schrieb Marc Hohl:
Am 19.08.2011 19:13, schrieb Patrick Karl:
I am having a problem with the \articulate command in LilyPond 2.14.1
on a mac with OSX 10.6.8.
For example, with the lilypond input file (I call it
"articulate_problem.ly):
\version "2.14.1"
\include "articulate.ly"
music = \relative b' {
a b c d
a2 b
c4. d r4
}
\score {
\articulate
\new Staff { \music }
\layout {}
\midi {}
}
AFAIK articulate is used to include articulations in MIDI output
files, so the MIDI sounds a bit more
"realistic". For that reason, it multiplies the notes by some computed
values, so a quarter note
may be 90% of a normal quarter, whereas the following rest is 10% of a
quarter note.
I use two score blocks, one for the printed music,
\score {
\articulate
\new Staff { \music }
}
(without \midi { }, you can delete the \layout { })
Sorry - here I meant
\score {
\new Staff { \music }
}
without the \articulate, of course!
Marc
and one for MIDI:
\score {
\articulate
\new Staff { \music }
\midi {}
}
(here, we don't want to get printable scores).
HTH,
Marc
and the command: lilypond --png -I
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ly
articulate_problem.ly
I get the attached png file.
The problem is in the pdf/png output file. Instead of what one would
expect (3 bars of 4 beats each), the output file shows three measures
with each of the notes followed by a rest of the same duration. Thus
the 1st bar contains effectively: a4 r b r c r d r. These eight are
packed into a single measure! The 2nd measure is: a2 r b 4, again
eight beats packed into a single measure. The 3rd measure is: c4. r
d r r4, or 7 beats packed into a single measure.
I get the same result if I compile the input file in LilyPond (i.e.,
the little editor that comes with it) or Jedit. If I remove the
"\articulate" command, the output is then correct. Adding the
"unfoldRepeats" command has no effect on the output.
The midi file (also attached) does not seem to be affected by the
problem.
Note: The log file generated contains the lines:
Converting to PNG...
*** Warning: GenericResourceDir doesn't point to a valid resource
directory.
the -sGenericResourceDir=... option can be used to
set this.
but it doesn't seem to have any effect on the output. I have tried
to find what the GenericResourceDir should be set to, but so far
unsuccessfully.
_______________________________________________
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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user