lilypond-user
[Top][All Lists]
Advanced

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

Re: Overlapping notes and midi output


From: Janek Warchoł
Subject: Re: Overlapping notes and midi output
Date: Sun, 13 Mar 2011 08:15:09 +0100

2011/3/13 Hinrik ÖrnSigurðsson <address@hidden>
>
> When I have overlapping notes in a song, they will both be heard in the midi
> output if they are on separate staffs (see the first measure in my code
> example). But if they occur on the same staff, the latter one is not heard 
> (see
> the second measure).
>
> I'm using timidity+pmidi on Linux. Is this a bug in lilypond's midi output or 
> is
> there something wrong with the midi player I'm using? Timidity's 
> --overlap-voice
> option has no effect on this issue.
>
> Gmane's web form seems to think I'm top-posting no matter where I place my 
> code
> example, so I've pasted it here: https://gist.github.com/867886

Here is a workaround - add this to your \midi { } block:

\context {
    \Staff \remove "Staff_performer"
  }
\context {
    \Voice \consists "Staff_performer"
  }

This tells LilyPond to create separate channels for each voice in MIDI output.

HTH,
Janek



reply via email to

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