diff --git a/gtk2_ardour/midi_list_editor.cc b/gtk2_ardour/midi_list_editor.cc index e5950f1b07..5e28c52f09 100644 --- a/gtk2_ardour/midi_list_editor.cc +++ b/gtk2_ardour/midi_list_editor.cc @@ -54,14 +54,14 @@ static map note_length_map; static void fill_note_length_map () { - note_length_map.insert (make_pair (Temporal::ticks_per_beat/1, _("Whole"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/2, _("Half"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/3, _("Triplet"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/4, _("Quarter"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/8, _("Eighth"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/16, _("Sixteenth"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/32, _("Thirty-second"))); - note_length_map.insert (make_pair (Temporal::ticks_per_beat/64, _("Sixty-fourth"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat*4, _("Whole"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat*2, _("Half"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat*2/3 , _("Triplet"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat/1, _("Quarter"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat/2, _("Eighth"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat/4, _("Sixteenth"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat/8, _("Thirty-second"))); + note_length_map.insert (make_pair (Temporal::ticks_per_beat/16, _("Sixty-fourth"))); } MidiListEditor::MidiListEditor (Session* s, std::shared_ptr r, std::shared_ptr tr)