X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fstep_editor.cc;h=079644eabc1d28e2b1caae93f7d830456575e65e;hb=95bb346926e237b903059c83a70e58ed9253eaca;hp=c4d62def90c7141a20e8bb50604a2d7de3cfe3fb;hpb=73192bc1a7ea55fa1864dc3826845b15c00dd2ec;p=ardour.git diff --git a/gtk2_ardour/step_editor.cc b/gtk2_ardour/step_editor.cc index c4d62def90..079644eabc 100644 --- a/gtk2_ardour/step_editor.cc +++ b/gtk2_ardour/step_editor.cc @@ -273,8 +273,8 @@ StepEditor::step_add_note (uint8_t channel, uint8_t pitch, uint8_t velocity, Evo up by 1 tick from where the last note ended */ - at += 1.0/Meter::ticks_per_beat; - len -= 1.0/Meter::ticks_per_beat; + at += 1.0/Timecode::BBT_Time::ticks_per_beat; + len -= 1.0/Timecode::BBT_Time::ticks_per_beat; } step_edit_region_view->step_add_note (channel, pitch, velocity, at, len); @@ -294,7 +294,7 @@ StepEditor::step_add_note (uint8_t channel, uint8_t pitch, uint8_t velocity, Evo step_edit_beat_pos += beat_duration; step_edit_region_view->move_step_edit_cursor (step_edit_beat_pos); } else { - step_edit_beat_pos += 1.0/Meter::ticks_per_beat; // tiny, but no longer overlapping + step_edit_beat_pos += 1.0/Timecode::BBT_Time::ticks_per_beat; // tiny, but no longer overlapping _step_edit_chord_duration = max (_step_edit_chord_duration, beat_duration); }