summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_curve.cc
AgeCommit message (Collapse)Author
2016-11-11TempoSection::tempo_at methods return a Tempo, document the opposite direction.nick_m
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-11-11Refactor tempo api, include quarter-note distance in frames method.nick_m
- moves frame rounding up to TempoMap, which is needed in order to calculate pulse distance without frame rounding. - the time unit for tempo is still minute, but this now also applies to meter sections. (new audio locked meter sections no longer require a frame position). - there is no longer a discontinuity in the pulse for audio-locked meter/tempi. - temporarily add debugging output in Region::set_position() to test for region beat not matching region frame.
2016-10-17Tempo curve cleanup, now also works on optimized builds.nick_m
2016-10-09TempoSection methods deal in beats rather than pulses per minute.nick_m
- removes note type from curve function for a slightly more accurate result.
2016-09-05Fix the tempo note-type hallucination.nick_m
- after reports that a tempo with non-4.0 note type would produce a ramp in the preceding section, an incorrect assumption was made leading to a bogus 'fix' that redefined Tempo's pulses_per_minute(). the real fix was simple: the ramp's function constant was calculated using the note type of the proceding tempo rather than the current one. - this patch reverts e82482e8e9c and a4d67279e0086258 and maintains the old definition of Tempo::pulses_per_minute()
2016-09-04Fix graphical issues in tempo curve.nick_m
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-11Fix potential infinite loop in TempoCurve::set_position()nick_m
- it was previously possible for frame_step to be zero for tempo sections with a short duration, resulting in endlessly adding 0 to current_frame.
2016-06-16Register colour aliases for tempo curve.nick_m
2016-06-04Clamp tempo curve height.nick_m
2016-05-27Gd Lk ramps - rework auto scaling. change colour.nick_m
2016-05-27Tempo ramps - fix huge marker height mark, remove unused var.nick_m
2016-05-27Tempo ramps - fix ambiguous api, fix flickering tempo curves.nick_m
2016-05-27Tempo ramps - add Canvas::FramedCurve and use it in the tempo marker bar.nick_m
2016-05-27Tempo ramps - improve constraint mod + bbt dragging begavior.nick_m
2016-05-27Tempo ramps - clean up tempo curve a bit.nick_m
2016-05-27Tempo ramps - add visualtempo curve, dragging bbt or music rulers with ↵nick_m
constraint modifier dilates previous tempo.