summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo.cc
AgeCommit message (Collapse)Author
2017-02-04remove unused empoMap::round_to_beat_subdivision()nick_m
2017-02-04rework snapnick_m
snap now fills in a struct (MusicFrame) which contins a snapped frame along with a music divisor. this gives useful information wrt magnetic snap which may or may not have rounded to an exact musical position. region position may now be set musically (using quarter notes for now). this patch fixes several problems in the current code: - dragging a list of music-locked regions now maintains correct musical offsets within the list. - splitting regions using magnetic snap works correctly (#7192) - cut drag should now work correctly with magnetic snap. - musical length of split midi regions is no longer frame based.
2017-02-01Reduce continuous stream of warning messages (latent plugin, PH @ zero)Robin Gareus
2017-01-27mark session dirty when dragging tempo markers.nick_m
2017-01-07TempoMap - do frame conversion outside the lock when possible.nick_m
2017-01-07remove some excessive methods from TempoMap.nick_m
- the beginning of what hopefully will be a saner 'pulse' definition
2017-01-07more no-op renaming - TempoSection::compute_c_func_* -> compute_c_nick_m
2017-01-07clear up _initial vs _locked_to_meter TempoSection ambiguity.nick_m
2017-01-07more inactive tempi fixes.nick_m
2017-01-07actually make import of tempo maps at selected point work (missed line from ↵nick_m
3060a458eb)
2017-01-07rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0.nick_m
2017-01-07fix some inactive tempi bugsnick_m
- no tempo curve for inactive tempi - inactive and meter-locked tempi cannot be deleted.
2017-01-06warn when adding / replacing a tempo fails.nick_m
2017-01-06prevent meter-locked tempi from being moved directly when replacing.nick_m
- the audio-locked meter owns it.
2017-01-06ensure tempo lines use correct tempo type (constant/ramped)nick_m
2017-01-05disallow tempi of 0 ntpm or less.nick_m
2016-12-22check audio-locked meter ordering by frame.nick_m
2016-12-21fix yet another meter-locked tempo ordering thinko.nick_m
2016-12-19Fix the case of jump-to-next-SubdivisionBen Loftis
2016-12-19Fix the case of jump-to-next{prev}-BarBen Loftis
2016-12-19TempoMap - rename some methods.nick_m
gui_move_tempo -> gui_set_tempo_position gui_move_meter -> gui_set_meter_position gui_dilate_tempo -> gui_stretch_tempo
2016-12-19add frame parameter for Meter ctor and TempoMap::replace_meter(). allow for ↵nick_m
various failures.
2016-12-19there is no curve for identical note_types_per_minute values.nick_m
2016-12-16add copy constructor, operator= and a clean ::dump() method for TempoMapPaul Davis
2016-12-16tempo before the initial section is always constant.nick_m
2016-12-16fix thinko in TempoMap::framepos_plus_qn.nick_m
- affects region relative time conversion when initial meter is non-zero.
2016-12-12disallow placement of audio-locked tempi within a frame of any other.nick_m
2016-12-12fix loop/crash when dragging an audio-locked tempo over a music-locked one ↵nick_m
while snapped to grid.
2016-12-12no-op - rename TempoMap::set_active_tempos -> TempoMap::set_active_tempinick_m
2016-12-12clean up some odd logic.nick_m
2016-12-12rename MetricSection movable -> initial, but of course initial is !movable..nick_m
2016-12-11make TempoMap::dump slightly more readable.nick_m
2016-12-11fix incorrect audio-locked tempo position when setting bbt via tempo dialog.nick_m
2016-12-11fix bar renumbering for audio-locked metrum.nick_m
2016-11-23constify some TempoMap functions.nick_m
2016-11-22remove set but not used variable in tempo.ccnick_m
2016-11-22amend 66488e117 - BBT clock scrolling handles multiple audio-locked meters.nick_m
2016-11-22TempoMap::bbt_duration_at() handles an audio-locked meter.nick_m
- fixes some odd results when scrolling down/up over the BBT clock display.
2016-11-21fix typo in tempo.ccnick_m
2016-11-14Later code depends on prev_t not being NULL, use an assert()Robin Gareus
2016-11-14tempo map cannot be empty (help static analyzer)Robin Gareus
2016-11-11more tempo documentation.nick_m
2016-11-11TempoSection note-types-per-minute node name goes back to beats-per-minute ↵nick_m
for now.
2016-11-11use note_type explicitly when constructing a Tempo in the hope that others ↵nick_m
follow. - should be a no-op
2016-11-11remove recently added xml nodes.nick_m
2016-11-11use frame interval api for empoMap::framepos_plus_qn()nick_m
2016-11-11clarify bbt_at_frame() warning.nick_m
2016-11-11add empoMap::quarter_notes_between_frames().nick_m
- in an ideal world, this wouldn't be here at all, but is required to support framewalk_to_qn(). if Beats are at tick resolution, the frame-induced temporal rounding is acceptable.
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.