From: Jan Nieuwenhuizen Date: Mon, 14 Mar 2011 14:18:48 +0000 (+0100) Subject: MIDI: midiChannelMapping = #'staff mode creates only one Track per staff. X-Git-Tag: release/2.13.55-1~11^2~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=768fea9a27b9ff848f24267af8cd5ab4f3b73ae2;p=lilypond.git MIDI: midiChannelMapping = #'staff mode creates only one Track per staff. This should reproduce the old behaviour. --- diff --git a/lily/staff-performer.cc b/lily/staff-performer.cc index df2697060b..35b1746b8a 100644 --- a/lily/staff-performer.cc +++ b/lily/staff-performer.cc @@ -122,7 +122,7 @@ Audio_staff* Staff_performer::get_audio_staff (string voice) { SCM channel_mapping = get_property ("midiChannelMapping"); - if (channel_mapping != ly_symbol2scm ("voice") + if (channel_mapping != ly_symbol2scm ("instrument") && staff_map_.size ()) return staff_map_.begin ()->second;