From 768fea9a27b9ff848f24267af8cd5ab4f3b73ae2 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 14 Mar 2011 15:18:48 +0100 Subject: [PATCH] MIDI: midiChannelMapping = #'staff mode creates only one Track per staff. This should reproduce the old behaviour. --- lily/staff-performer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2