another midi question. i've checked the list archives but found no info on the following:
the midi output of my grace note groups is not accurate, although the paper output is. within the midi, a segment of the duration of grace note groups is being added into the playback actual time, resulting in an offset of the voice within the midi file. ie: a 4-tone grace note gesture within one voice of a score will result in that voice being off by a 16th or more in the midi playback.
is this a known issue? any hints? thanks. best, sean ------------------------------------------ Sean Reed Web: www.seanreed.de --------------- i'm using mac os 10.3.4 and lilypond 2.2.3 here are examples: this creates the correct paper and midi output:
notes1 = \notes { \relative c'' { \time 4/4 \clef violin \set Staff.midiInstrument = #"violin" c8 \grace b16 d8 e4 f8 g8 a4 | \grace b16 c,8 d8 e4 f g8 \grace b16 a8 | r1 | c,4 d e f | } }
notes2 = \notes { \relative c { \clef bass \set Staff.midiInstrument = #"acoustic grand" c4 c c c c c c c r1 c4 c c c } }
\score { << \time 4/4 \new Staff << \notes1 >> \new Staff << \notes2 >> >> \midi { \tempo 4 = 60 } \paper {} }
this does not:
notes1 = \notes { \relative c'' { \time 4/4 \clef violin \set Staff.midiInstrument = #"violin" c4 \grace {b16[ c]} d32 e d16 e4 f8 g8 a8 | \grace b16 c,8 d4 e4 f8 g8 \grace b16 a8 | r1 | c,4 d4 e4 f4 | } }
notes2 = \notes { \relative c { \clef bass \set Staff.midiInstrument = #"acoustic grand" c4 c c c c c c c r1 c4 c c c } }
\score { << \time 4/4 \new Staff << \notes1 >> \new Staff << \notes2 >> >> \midi { \tempo 4 = 60 } \paper {} }
reducing the grace note duration value to 32nds remedies the problem in the last example
(ie, line 6 becomes: c4 \grace {b32[ c]} d32 e d16 e4 f8 g8 a8 |)
but no change of the grace note duration values provides a remedy in this example:
notes1 = \notes {
\relative c'' {
\time 4/4
\clef violin
\set Staff.midiInstrument = #"violin"
c,4 d8 e8 \grace {b64[ c d e]} f8 g8 a8 b8 |
c,8 d8 e8 f8 \grace b16 g8 a8 b4 |
r1 |
c,4 d4 e4 \grace b16 f'8 g8 |
}
}
notes2 = \notes { \relative c { \clef bass \set Staff.midiInstrument = #"acoustic grand" c4 c c c c c c c r1 c4 c c c } }
\score { << \time 4/4 \new Staff << \notes1 >> \new Staff << \notes2 >> >> \midi { \tempo 4 = 60 } \paper {} } _______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user