summaryrefslogtreecommitdiff
path: root/lily/dynamic-performer.cc
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2011-04-03 10:45:45 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2011-04-03 10:46:17 +0200
commit93b7a6ff072d73dcdd41da59cd18da8aa8d8e8cb (patch)
tree770bffcec8b21996fb3261c34398db8e155e09a9 /lily/dynamic-performer.cc
parent41bf7534250b6f0b60d74d082b5dfc26a5387144 (diff)
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.
Diffstat (limited to 'lily/dynamic-performer.cc')
-rw-r--r--lily/dynamic-performer.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/lily/dynamic-performer.cc b/lily/dynamic-performer.cc
index f45c662024..d96545af95 100644
--- a/lily/dynamic-performer.cc
+++ b/lily/dynamic-performer.cc
@@ -144,7 +144,6 @@ Dynamic_performer::process_music ()
announce_element (info);
}
-
if (span_dynamic_)
span_dynamic_->add_absolute (absolute_);