|
From: | Richard Sabey |
Subject: | MIDI notes in wrong instrument if Staff_performer is in Voice context |
Date: | Thu, 12 May 2011 10:03:41 +0000 |
I am getting notes in Lilypond's MIDI output being played by the MIDI "piano" instrument rather than the instrument I specify. This occurs when I remove "Staff_performer" from the Staff context and insert it into the Voice context. Here's a tiny example. The MIDI file I get plays the first two notes with "violin" (which is right) then the second two notes with "acoustic grand". I'm using Windows XP, and MIDI files play using Windows Media Player. %%%%%%%%%%%%%%%%%%%%%% \version "2.13.61" x = { << { c'4 r c' } \\ { c4 r c } >> } \score { \new Staff \with { midiInstrument = #"violin"} << \x >> \midi { \context { \Staff \remove "Staff_performer" } \context { \Voice \consists "Staff_performer" } } } % score %%%%%%%%%%%%%%%%%%%%%% |
[Prev in Thread] | Current Thread | [Next in Thread] |