summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_curve.cc
AgeCommit message (Collapse)Author
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-02-27_group, group.. who cares?nick_m
2017-02-27clicking on curve text does the right thing.nick_m
2017-02-27initial rework of tempo text display (numbers are curve items)nick_m
- move tempo numbers to a layer above the curve. - the offset of the text box in Marker is horrible here. what to do?
2017-02-27back to using shift-ctrl for pinch drag. set colours of affected curves.nick_m
2017-02-27rework tempo editing.nick_m
most changes are due to a new design where tempo discontinuities at the beginning of a ramped section may be set. this allows easier mapping of live performance, especially in the common case of a ramped ritard before the beginning of a new section. feature summary: holding constraint modifier (shift) while dragging the BBT ruler area drags the tempo lines by changing the start tempo (as before) holding copy modifier (control) while dragging the BBT ruler area drags the tempo lines by changing the end tempo (ahem. not quite there) dragging a tempo mark while holding constraint (shift) will change the previous end tempo to match the marker position *worth trying*. holding constraint and copy modifier (control + shift) while dragging the BBT ruler area attempts to'pinch' or twist the surrounding tempi sp that later ones are not repositioned (currently suffereng from rounding errors)
2017-01-07rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0.nick_m
2016-12-11tempo curve fiddling.nick_m
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.