summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/tempo.h
AgeCommit message (Collapse)Author
2016-11-23constify some TempoMap functions.nick_m
2016-11-11rename note_divisions_per_minute -> ote_types_per_minute (double note_type)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.
2016-11-11tempo doc explains that currently Tempo::beats_per_minute means something else.nick_m
- Tempo beats_per_minute() is currently implemented as note types per minute. a further patch will change Tempo to reflect this and provide some helpers.
2016-11-11more tempo documentation.nick_m
2016-11-11remove unused TempoMap::tempo_at_beat(). implement unused ↵nick_m
tempo_at_quarter_note().
2016-11-11tempo.h reorganization. should be a no-opnick_m
2016-11-11remove remaining frame api from TempoSection.nick_m
2016-11-11remove public pulse methods from TempoMap.nick_m
- the only object whose musical position is not expressed in quarter notes is MetricSection. there is now no need to expose this.
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-19Improve bbt ruler drawing performance for large time ranges.nick_m
- when the timeline displays many bars, zoom/autoscroll speed is improved by calculating the bbt ruler scale first then requesting a suitably scaled grid.
2016-10-18Initialize TempoMetric _pulse in sonstructor.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-10-02Remove unused methods, add tests to ensure meter divisors don't mess with Beats.nick_m
- TempoMap::framepos_minus_beats() was only used by its test, so don't build the test.
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-04Revert part of d50df8279966.nick_m
2016-09-03Fix various paste errors in tempo.cc. Should fix recent regressions.nick_m
2016-08-31Fix incorrect inclusion of note_type in Tempo::pulses_per_minute().nick_m
2016-08-31Amend f3c0c1a865 (Add quarter-note position methods).nick_m
2016-08-31Add quarter-note position methods to TempoMap.nick_m
2016-08-18Add methods for plugin APIs to obtsin quarter pulses ('beats' for AU) from ↵nick_m
the tempo map.
2016-08-10Fix test compilation error.nick_m
2016-07-10remove reference "const int32_t&" -> const int32_t"Robin Gareus
this simplifies lua-bindings and also let's the compiler worry about constant primitive types.
2016-07-09const bool METHOD() const makes no sensePaul Davis
2016-07-10Fix long-standing spelling bug.nick_m
- should be a no-op.
2016-07-10Avoid the use of dynamic_cast in TempoMap for performance improvement.nick_m
- review / comment would be appreciated here.
2016-07-10Make some musical operations on music-locked regions operate in beats.nick_m
- use exact beats to determine frame position. - see comments in tempo.cc for more. - this hasn't been done for split yet, but dragging and trimming are supported.
2016-06-12Set tempo sections to the exact pulse when snapped to a musical grid.nick_m
2016-06-01remove duplicate call: MeterSection is-a MetricSectionRobin Gareus
2016-05-28Tempo ramps - fix merge conflicts, add bbt_at_frame_rt().nick_m
2016-05-27Tempo ramps - implement TempoMap::tempo_at_beat().nick_m
2016-05-27Tempo ramps - add a gradient limit to the ramp, more comments.nick_m
- things are fine without this, but overall it feels slicker with a linit.
2016-05-27Tempo ramps - rename meter/tempo_section_at() -> meter/tempo_section_at_frame()nick_m
2016-05-27Tempo ramps - add TempoMap::frame_at_tempo()nick_m
2016-05-27Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> ↵nick_m
frame_at_bbt()
2016-05-27Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker ↵nick_m
slightly more efficient.
2016-05-27Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the ↵nick_m
audioclock tempo display.
2016-05-27Tempo ramps -remove unused code.nick_m
2016-05-27Tempo ramps - clean up tempo dragging.nick_m
2016-05-27Tempo ramps - rename for consistency, remove some testing code, add meter ↵nick_m
based bbt->pulse conversions.
2016-05-27Tempo ramps - consolidate meter dragging code.nick_m
2016-05-27Tempo ramps - rework tempo drags, improve comments.nick_m
2016-05-27Tempo ramps - consolidate TempoMap::predict_tempo()nick_m
2016-05-27Tempo ramps - more code cleanup, fix cross-marker jumping using tempo dialog bbtnick_m
2016-05-27Tempo ramps - no more tempo dilation on meter drag.nick_m
- its now a bbt ruler / marker lane thing with the constraint modifier.
2016-05-27Tempo ramps - code layout, check_solved() is lock-style agnostic, remove ↵nick_m
uncalled code.
2016-05-27Tempo ramps - more code consolidation wrt add meter/tempo.nick_m
2016-05-27Tempo ramps - clean up add/replace temponick_m