Hi,

the first page of J.Seb.Bach's Partita Nr. 6 looks properly in the paper
output, but sounds terrible in the midi output.

There are tuplets with seven sixteenth on each quarter in the bars 3 and
4 and again in bar 7, and it seems, that these tuplets disturbe the midi
output, but not the paper output: In the midi output the right hand and
the left hand are not any more on the same time after the tuplets.

I changed the tuplets with normal four sixteenth on each quarter, and
this works correctly in both, the paper and the midi output.

To demonstrate I attached the two different lilypond source files:

        toccata-changed.ly
        toccata.ly

Probably it would be better first to listen to the toccata-changed,
which has the correct timing in the midi.

The toccata.ly is the original (unless the appoggiatura in bar 5 and 6,
which I wrote as two eighth in both of them, because appoggiaturas also
disturbe the midi-timing) with the wrong timing in the midi.

Because of the midi files are quite short, I attach them, too.

If I did something wrong, please help me, I can't see the mistake! :)
If this is a bug, please tell me how I have to make a bug report!

Best Regards           Roland
\header{
  filename      =       "toccata-changed.ly"
  source        =       "henle"
  title         =       "PARTITA 6"
  subtitle      =       ""
  composer      =       "Johann Sebastian Bach (1685-1750)"
  opus          =       "BWV 830"
  enteredby     =       "rg"
  copyright     =       "public domain"
}

\version "2.2.0"

\include "deutsch.ly"

global = \notes{
  \time 2/2
  \key e \minor
  s1*12
  \bar "|"
}

rechts = \notes \relative c' {
  \stemBoth
  #(override-auto-beam-setting '(end * * * *) 1 4)
  \change Staff = down  e,16 [ g32 h e ]
  \change Staff = up \stemUp g [ h e ]
  g8. g16
    \context Staff <<
      \new Voice { \voiceOne g4 ( fis ) }
      \new Voice { \voiceTwo \stemUp \shiftOn c2 }
      \new Voice { \voiceThree \stemDown \shiftOnn a2 }
    >>                                                           % bar  1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \change Staff = down \stemDown dis,,16 [ fis32 a c ]
  \change Staff = up \stemUp dis [ fis g ]
  a8. a16
    \context Staff <<
      \new Voice { \voiceOne a4 ( g ) }
      \new Voice { \voiceTwo \stemUp \shiftOn fis4 s }
      \new Voice { \voiceThree \stemDown \slurDown dis4 ( e ) }
    >>                                                           % bar  2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  e16 g h d a c e g
\bar ""\break
  d, fis a c g h dis fis                                         % bar  3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  c, e g h fis ais cis e h dis fis a dis, fis a c                % bar  4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \change Staff = down  e,,,16 [ g32 h e ]
  \change Staff = up \stemUp g [ h e ]
  g8. g16
    \context Staff <<
      \new Voice {
        #(override-auto-beam-setting '(end * * * *) 1 4)
        \voiceOne g16 fis e fis32 g d8 cis8 }
      \new Voice { \voiceTwo a2 }
    >>                                                           % bar  5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \change Staff = down  d,,16 [ fis32 a d ]
  \change Staff = up \stemUp fis [ a cis ]
  fis8. fis16
    \context Staff <<
      \new Voice {
        #(override-auto-beam-setting '(end * * * *) 1 4)
        \voiceOne fis16 e d e32 fis cis!8 h8 }
      \new Voice { \voiceTwo g2 }
    >>                                                           % bar  6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  g16 h cis e fis, ais h d e, g ais cis cis, ais' e' g           % bar  7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \context Staff <<
      \new Voice { \voiceOne
        #(override-auto-beam-setting '(end * * * *) 1 4)
        fis8. h,16
        \once \override Beam #'positions = #'(3.8 . 3.4)
        cis8. ais16 ais4 ( h16 ) a g fis }
      \new Voice { \voiceTwo
        #(override-auto-beam-setting '(end * * * *) 1 4)
        s4.. \stemUp\shiftOnn e16 }
      \new Voice { \voiceThree
        #(override-auto-beam-setting '(end * * * *) 1 4)
        s8. \stemDown d16 e8. cis16 \stemDown\slurDown e4 ( dis8 ) r }
      \new Voice { \voiceFour
        #(override-auto-beam-setting '(end * * * *) 1 4)
        r8 r16 \stemUp g g8. fis16 \stemDown\shiftOnn fis2 }
    >>                                                           % bar  8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 4)
  g16 ( ais h cis ) h ais h g fis ais h cis h ais h fis          % bar  9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  e h' cis d cis h cis e, d fis gis ais h fis d' h               % bar 10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 2)
  \stemBoth
  e8 ( h g ) e' \stemUp d h fis d'                               % bar 11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  cis ais e ais h fis d r                                        % bar 12
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}

links = \notes \relative c' {
  #(override-auto-beam-setting '(end * * * *) 1 4)
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp c2 }
      \new Voice { \voiceTwo \stemUp \shiftOn a2 }
      \new Voice { \voiceThree \stemDown e2 }
    >>                                                           % bar  1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp c'4 ( h ) }
      \new Voice { \voiceTwo \stemDown e,2 }
    >>                                                           % bar  2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s1*2                                                           % bar  3 -  4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp e'2 }
      \new Voice { \voiceTwo \stemUp \shiftOn cis2 }
      \new Voice { \voiceThree \stemDown a2 }
    >>                                                           % bar  5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp d2 }
      \new Voice { \voiceTwo \stemUp \shiftOn h2 }
      \new Voice { \voiceThree \stemDown g2 }
    >>                                                           % bar  6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s1                                                             % bar  7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  d'8. g,16 e8. fis16
    \context Staff <<
      \new Voice { \voiceOne \stemUp h2 }
      \new Voice { \voiceTwo \stemDown h,2 }
    >>                                                           % bar  8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 2)
  e'8 ( h g ) e' d h fis d'                                      % bar  9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  cis ais e ais h fis d fis                                      % bar 10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 4)
  g16 ( ais h cis ) h ais h g fis ais h cis h ais h fis          % bar 11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  e h' cis d cis h cis e, d fis gis ais h fis d' h               % bar 12
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}

\score{
  \context PianoStaff <<
    \context Staff = up <<
      \global
      \rechts
    >>
    \context Staff = down <<
      \global
      \clef bass
      \links
    >>
  >>
  \paper{
    #(paper-set-staff-size (* 6.7 mm))
    indent = 8.0 \mm
    interscoreline = 0.0 \mm
    interscorelinefill = 1.0 \mm
    linewidth = 18.0 \cm
    lastpagefill = 1.0 \mm
    \context { \PianoStaffContext
      \override VerticalAlignment #'forced-distance = #12
    }
  }
  \midi{ \tempo 4 = 72 }
}
\header{
  filename      =       "toccata.ly"
  source        =       "henle"
  title         =       "PARTITA 6"
  subtitle      =       ""
  composer      =       "Johann Sebastian Bach (1685-1750)"
  opus          =       "BWV 830"
  enteredby     =       "rg"
  copyright     =       "public domain"
}

\version "2.2.0"

\include "deutsch.ly"

global = \notes{
  \time 2/2
  \key e \minor
  s1*12
  \bar "|"
}

rechts = \notes \relative c' {
  \stemBoth
  #(override-auto-beam-setting '(end * * * *) 1 4)
  \change Staff = down  e,16 [ g32 h e ]
  \change Staff = up \stemUp g [ h e ]
  g8. g16
    \context Staff <<
      \new Voice { \voiceOne g4 ( fis ) }
      \new Voice { \voiceTwo \stemUp \shiftOn c2 }
      \new Voice { \voiceThree \stemDown \shiftOnn a2 }
    >>                                                           % bar  1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \change Staff = down \stemDown dis,,16 [ fis32 a c ]
  \change Staff = up \stemUp dis [ fis g ]
  a8. a16
    \context Staff <<
      \new Voice { \voiceOne a4 ( g ) }
      \new Voice { \voiceTwo \stemUp \shiftOn fis4 s }
      \new Voice { \voiceThree \stemDown \slurDown dis4 ( e ) }
    >>                                                           % bar  2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \override TupletBracket #'bracket-visibility = ##f
  \override TupletBracket #'number-visibility = ##f
  \set tupletSpannerDuration = #(ly:make-moment 1 4)
  \times 4/7 { \stemDown e16 [ g ] \stemUp h [ c d c h ]
               \stemDown a [ c ] \stemUp e [ fis g fis e ]
             \bar ""\break
               \stemDown d, [ fis ] \stemUp a [ h c h a ]
               \stemDown g [ h ] \stemUp dis [ e fis e dis ]     % bar  3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
               \stemDown c, [ e ] \stemUp g [ a h a g ]
               \stemDown fis [ ais ] \stemUp cis [ dis e dis cis ]
               \stemDown h [ dis! ] \stemUp fis [ g a g fis ]
               \stemDown dis [ fis ] \stemUp a [ h c h a ]
  }                                                              % bar  4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \change Staff = down  e,,16 [ g32 h e ]
  \change Staff = up \stemUp g [ h e ]
  g8. g16
    \context Staff <<
      \new Voice {
        #(override-auto-beam-setting '(end * * * *) 1 4)
        \voiceOne g16 fis e fis32 g d8 cis8 }
      \new Voice { \voiceTwo a2 }
    >>                                                           % bar  5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \change Staff = down  d,,16 [ fis32 a d ]
  \change Staff = up \stemUp fis [ a cis ]
  fis8. fis16
    \context Staff <<
      \new Voice {
        #(override-auto-beam-setting '(end * * * *) 1 4)
        \voiceOne fis16 e d e32 fis cis!8 h8 }
      \new Voice { \voiceTwo g2 }
    >>                                                           % bar  6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \times 4/7 { \stemDown g16 [ h ] \stemUp cis [ d e d cis ]
               \stemDown fis, [ ais ] \stemUp h [ cis d cis h ]
               \stemDown e, [ g ] \stemUp ais! [ h cis h ais ]
               \stemDown cis, [ ais' ] \stemUp e' [ fis g fis e ]
  }                                                              % bar  7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \context Staff <<
      \new Voice { \voiceOne
        #(override-auto-beam-setting '(end * * * *) 1 4)
        fis8. h,16
        \once \override Beam #'positions = #'(3.8 . 3.4)
        cis8. ais16 ais4 ( h16 ) a g fis }
      \new Voice { \voiceTwo
        #(override-auto-beam-setting '(end * * * *) 1 4)
        s4.. \stemUp\shiftOnn e16 }
      \new Voice { \voiceThree
        #(override-auto-beam-setting '(end * * * *) 1 4)
        s8. \stemDown d16 e8. cis16 \stemDown\slurDown e4 ( dis8 ) r }
      \new Voice { \voiceFour
        #(override-auto-beam-setting '(end * * * *) 1 4)
        r8 r16 \stemUp g g8. fis16 \stemDown\shiftOnn fis2 }
    >>                                                           % bar  8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 4)
  g16 ( ais h cis ) h ais h g fis ais h cis h ais h fis          % bar  9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  e h' cis d cis h cis e, d fis gis ais h fis d' h               % bar 10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 2)
  \stemBoth
  e8 ( h g ) e' \stemUp d h fis d'                               % bar 11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  cis ais e ais h fis d r                                        % bar 12
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}

links = \notes \relative c' {
  #(override-auto-beam-setting '(end * * * *) 1 4)
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp c2 }
      \new Voice { \voiceTwo \stemUp \shiftOn a2 }
      \new Voice { \voiceThree \stemDown e2 }
    >>                                                           % bar  1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp c'4 ( h ) }
      \new Voice { \voiceTwo \stemDown e,2 }
    >>                                                           % bar  2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s1*2                                                           % bar  3 -  4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp e'2 }
      \new Voice { \voiceTwo \stemUp \shiftOn cis2 }
      \new Voice { \voiceThree \stemDown a2 }
    >>                                                           % bar  5
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s2
    \context Staff <<
      \new Voice { \voiceOne \stemUp d2 }
      \new Voice { \voiceTwo \stemUp \shiftOn h2 }
      \new Voice { \voiceThree \stemDown g2 }
    >>                                                           % bar  6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  s1                                                             % bar  7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  d'8. g,16 e8. fis16
    \context Staff <<
      \new Voice { \voiceOne \stemUp h2 }
      \new Voice { \voiceTwo \stemDown h,2 }
    >>                                                           % bar  8
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 2)
  e'8 ( h g ) e' d h fis d'                                      % bar  9
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  cis ais e ais h fis d fis                                      % bar 10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  #(override-auto-beam-setting '(end * * * *) 1 4)
  g16 ( ais h cis ) h ais h g fis ais h cis h ais h fis          % bar 11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  e h' cis d cis h cis e, d fis gis ais h fis d' h               % bar 12
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}

\score{
  \context PianoStaff <<
    \context Staff = up <<
      \global
      \rechts
    >>
    \context Staff = down <<
      \global
      \clef bass
      \links
    >>
  >>
  \paper{
    #(paper-set-staff-size (* 6.7 mm))
    indent = 8.0 \mm
    interscoreline = 0.0 \mm
    interscorelinefill = 1.0 \mm
    linewidth = 18.0 \cm
    lastpagefill = 1.0 \mm
    \context { \PianoStaffContext
      \override VerticalAlignment #'forced-distance = #12
    }
  }
  \midi{ \tempo 4 = 72 }
}
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to