parametize default MIDI scroomer (and thus MIDI track) note range

This commit is contained in:
Paul Davis 2022-04-16 11:10:43 -06:00
parent 1237a4f3bb
commit a4f26f91c8
2 changed files with 4 additions and 2 deletions

View file

@ -67,8 +67,8 @@ MidiStreamView::MidiStreamView (MidiTimeAxisView& tv)
, note_range_adjustment(0.0f, 0.0f, 0.0f)
, _range_dirty(false)
, _range_sum_cache(-1.0)
, _lowest_note(60)
, _highest_note(71)
, _lowest_note(UIConfiguration::instance().get_default_lower_midi_note())
, _highest_note(UIConfiguration::instance().get_default_upper_midi_note())
, _data_note_min(60)
, _data_note_max(71)
, _note_lines (0)