bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI bug - re-attacking a note


From: Erik Sandberg
Subject: Re: MIDI bug - re-attacking a note
Date: Sun, 14 Aug 2005 23:53:12 +0200
User-agent: KMail/1.8.1

On Sunday 14 August 2005 19.18, Yuval Harel wrote:
> On Sat, 13 Aug 2005 16:04:16 +0200, Erik Sandberg
>
> <address@hidden> wrote:
> > On Saturday 13 August 2005 12.58, Yuval Harel wrote:
> >> On Fri, 12 Aug 2005 18:53:13 +0200, Erik Sandberg
> >>
> >>
> >> Actually, this example works fine for me (on version 2.6.3 on Windows) -
> >> the MIDI output plays
> >> both notes. In any case, it seems like a different bug: the bug I
> >> reported
> >> concerns two notes
> >> of the same pitch when one is attacked while the other is still playing.
> >
> > Oops, my mistake. Thanks for pointing it out. Here's the correct file,
> > will
> > soon be added as midi-polyphony-single-staff.ly in CVS:
> >
> > %
> > %Yuval Harel
> >
> > \header {
> >   texidoc = "If notes from two polyphonic voices inside one staff
> > overlap, the
> > second one isn't output to midi."
> >   reportedin = "2.4.0"
> > }
> >
> > \version "2.6.3"
> >
> > \score {
> >
> > \new Staff <<
> >   \new Voice c4
> >   \new Voice {r8 dis}
> >
> > \midi {}
> > }
>
> Hmmm, this also works fine for me - the two notes are of different pitch.

You're right. I don't have working sound right now, so I relied on midi2ly 
which didn't output the dis.

In any case, the above example is also problematic: the {r8 dis} is inserted 
_after_ the c4, which delays all subsequent midi output by 1/4. New attempt:

%
%Yuval Harel

\header {
  texidoc = "If notes from two polyphonic voices inside one staff overlap, 
midi output is delayed.
If the overlapping notes are identical, the second one is not played. "
  reportedin = "2.4.0"
}

\version "2.6.3"

\score {

<<
  \new Staff <<
    \new Voice {c4 c c}
    \new Voice {r8 dis d4 d}
  >>
  \new Staff {e4 e e e}
  \new Staff <<
    \new Voice {r2 f4}
    \new Voice {r2 r8 f}
  >>
>>
\midi {}
}

-- 
Erik Sandberg
Maintainer of the Lilypond bug CVS archive,
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lily-bugs/bugs/
http://lilypond.org/bugs/v2.6/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]