]> git.donarmstrong.com Git - lilypond.git/commit
Midi: Map voices to tracks in MIDI output.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 12 Mar 2011 13:45:24 +0000 (14:45 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 12 Mar 2011 20:07:09 +0000 (21:07 +0100)
commitbea1783a6b70e41c45f85136146cdd7fa773fb8e
treedbb57c6f0b2f868c144c8b234692c65436a0a70b
parent9d97e2551dd3eff7a1234434aa01bcf5a6d0c6ce
Midi: Map voices to tracks in MIDI output.

With voices mapped to tracks, midi2ly can neatly recreate voices
without needing to do tricky guessing.  Some extra trickery will
be needed to re-assign the voices to the correct staves.

Also, midi channels are optimally re-used: identical midi instruments
accross different staves share the same channel.  This can fix
running out of channels in some cases, where similar instruments
are notated on different staves.
lily/audio-item.cc
lily/include/audio-item.hh
lily/midi-chunk.cc
lily/midi-item.cc
lily/staff-performer.cc
scm/define-context-properties.scm