summaryrefslogtreecommitdiff
path: root/lily/dynamic-performer.cc
diff options
context:
space:
mode:
authorDan Eble <nine.fierce.ballads@gmail.com>2016-06-04 15:25:13 -0400
committerDan Eble <nine.fierce.ballads@gmail.com>2016-06-13 17:57:38 -0400
commit0743ea2984c2b705a5e0748721f9ac2e30c575f5 (patch)
treed635d1d319a8b6e9cb43099067808bb65c31e735 /lily/dynamic-performer.cc
parentfa512e34722a81101213ac1566175aba4da805dd (diff)
Issue 3945: fix (De)crescendo with unspecified starting volume in MIDI
Diffstat (limited to 'lily/dynamic-performer.cc')
-rw-r--r--lily/dynamic-performer.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/lily/dynamic-performer.cc b/lily/dynamic-performer.cc
index 46a8a446d3..b24b7a6305 100644
--- a/lily/dynamic-performer.cc
+++ b/lily/dynamic-performer.cc
@@ -120,16 +120,6 @@ Dynamic_performer::process_music ()
announce_element (Audio_element_info (span_dynamic_, span_events_[START]));
span_dynamic_->grow_dir_ = grow_dir_[START];
-
- if (!last_volume_initialized_ && !script_event_)
- {
- // No explicit dynamic script events have occurred yet, but there is
- // nevertheless a dynamic spanner. Initialize last_volume_ to a
- // value within the available range.
- span_events_[START]->origin ()->warning (_ ("(De)crescendo with unspecified starting volume in MIDI."));
- last_volume_ = equalize_volume (0.5);
- last_volume_initialized_ = true;
- }
}
if (script_event_