]> git.donarmstrong.com Git - lilypond.git/commit
Midi: allow alternate channel mappings: per instrument, staff, voice.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 12 Mar 2011 20:01:42 +0000 (21:01 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 12 Mar 2011 20:07:09 +0000 (21:07 +0100)
commit617d9d75379510103b6a5ffa43e33c6936493e22
treee321a466234b09d5529cf65962cd499a6551366c
parentbea1783a6b70e41c45f85136146cdd7fa773fb8e
Midi: allow alternate channel mappings: per instrument, staff, voice.

The property midiChannelMapping specifies the mapping of MIDI channels:
per instrument (default), staff or voice.

The default mapping, per instrument, makes for optimal re-using of
channels.  Per voice mapping allows re-creating of voices and
arranging them on staffs with the current midi2ly.  Per staff mapping
closely matches the old default.
lily/staff-performer.cc
ly/performer-init.ly
scm/define-context-properties.scm
scripts/midi2ly.py