]> git.donarmstrong.com Git - lilypond.git/commit
Midi: Use span dynamics render results for note velocities. Fixes #1586.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 3 Apr 2011 08:45:45 +0000 (10:45 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 3 Apr 2011 08:46:17 +0000 (10:46 +0200)
commit93b7a6ff072d73dcdd41da59cd18da8aa8d8e8cb
tree770bffcec8b21996fb3261c34398db8e155e09a9
parent41bf7534250b6f0b60d74d082b5dfc26a5387144
Midi: Use span dynamics render results for note velocities. Fixes #1586.

Using Audio_dynamic's volume_ when announced does not work for
span dynamics: only in stop_translation_timestep the actual
volume is rendered and filled-in.

Also, make using note-velocity vs midi dynamics switchable.  Currently
it it always on, as it is mandatory when using the default
midiChannelMapping = 'instrument (as we need different volume settings
in voices that share a channel) and probably preferrable in all
other cases too.
lily/audio-item.cc
lily/dynamic-performer.cc
lily/include/audio-item.hh
lily/midi-chunk.cc
lily/midi-item.cc
lily/staff-performer.cc