Commit graph

448 commits

Author SHA1 Message Date
nick_m
1316fe6601 Make TempoMap::framewalk_to_beats () more correct. 2016-05-30 01:23:19 +10:00
nick_m
ecd93207ad Fix bbt dragging wrt audio-locked tempos. 2016-05-29 06:58:24 +10:00
nick_m
a924e938aa Allow non-musical snap when dragging bbt ruler.
- probably not what the user wants,
	  unless snapping beats to timecode frames.
2016-05-28 06:50:22 +10:00
nick_m
3e6c80bbc0 Ifdef out some debugging-related code. 2016-05-28 04:37:52 +10:00
nick_m
78bec77c3e Tempo ramps - fix merge conflicts, add bbt_at_frame_rt(). 2016-05-28 00:10:53 +10:00
nick_m
bf96a74e96 Tempo ramps - more comment fixes. 2016-05-27 23:38:18 +10:00
nick_m
7ab9f36c8a Tempo ramps - comments, 2016-05-27 23:38:18 +10:00
nick_m
877a0de3a8 Tempo ramps - code cleanup. 2016-05-27 23:38:18 +10:00
nick_m
5bdd16fbee Tempo ramps - implement TempoMap::tempo_at_beat(). 2016-05-27 23:38:18 +10:00
nick_m
023a48a41c Tempo ramps - fiddle with gradient limit. 2016-05-27 23:38:18 +10:00
nick_m
73db86bf49 Tempo ramps - add a gradient limit to the ramp, more comments.
- things are fine without this, but overall it feels slicker with a linit.
2016-05-27 23:38:18 +10:00
nick_m
aad7b129b6 Tempo ramps - rename meter/tempo_section_at() -> meter/tempo_section_at_frame() 2016-05-27 23:38:18 +10:00
nick_m
1d85229500 Tempo ramps - fix up previous commit. 2016-05-27 23:38:18 +10:00
nick_m
e2330739ed Tempo ramps - add TempoMap::frame_at_tempo() 2016-05-27 23:38:18 +10:00
nick_m
34c9ac9dd7 Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt() 2016-05-27 23:38:17 +10:00
nick_m
b564f07635 Tempo ramps - add comment 2016-05-27 23:38:17 +10:00
nick_m
baf8f37967 Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more efficient. 2016-05-27 23:38:17 +10:00
nick_m
8f3bc6f809 Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock tempo display. 2016-05-27 23:38:17 +10:00
nick_m
250c88c038 Tempo ramps - check the curve not the integral. 2016-05-27 23:38:17 +10:00
nick_m
48fa2e7582 Tempo ramps - fix erroneous paste. 2016-05-27 23:38:17 +10:00
nick_m
5d5fba0cfb Tempo ramps - rename no-op 2016-05-27 23:38:17 +10:00
nick_m
cfe1c85f4f Tempo ramps - first tempo is a ramp, fix extra meter recompute. 2016-05-27 23:38:17 +10:00
nick_m
2c331341cc Tempo ramps -remove unused code. 2016-05-27 23:38:17 +10:00
nick_m
43922a1fe1 Tempo ramps - clean up tempo dragging. 2016-05-27 23:38:17 +10:00
nick_m
6309807bc7 Tempo ramps - rename for consistency, remove some testing code, add meter based bbt->pulse conversions. 2016-05-27 23:38:17 +10:00
nick_m
f54b75c869 Tempo ramps - consolidate meter dragging code. 2016-05-27 23:38:17 +10:00
nick_m
8b2f73d5ac Tempo ramps - rework tempo drags, improve comments. 2016-05-27 23:38:17 +10:00
nick_m
f182235410 Tempo ramps - consolidate TempoMap::predict_tempo() 2016-05-27 23:38:17 +10:00
nick_m
d1a075110a Tempo ramps - more code cleanup, fix cross-marker jumping using tempo dialog bbt 2016-05-27 23:38:17 +10:00
nick_m
6894f468d4 Tempo ramps - no more tempo dilation on meter drag.
- its now a bbt ruler / marker lane thing with the constraint modifier.
2016-05-27 23:38:17 +10:00
nick_m
7db39a206e Tempo ramps - code layout, check_solved() is lock-style agnostic, remove uncalled code. 2016-05-27 23:38:17 +10:00
nick_m
0757dc7729 Tempo ramps - remove commented code 2016-05-27 23:38:17 +10:00
nick_m
074db3b861 Tempo ramps - more code consolidation wrt add meter/tempo. 2016-05-27 23:38:16 +10:00
nick_m
82d876b48b Tempo ramps - clean up add/replace tempo 2016-05-27 23:38:16 +10:00
nick_m
820e9a43f5 Tempo ramps - fix various sub-beat tempo line bugs.
- actual meter is taken into account now.
2016-05-27 23:38:16 +10:00
nick_m
2d3d7a5355 Tempo ramps - fix ambiguous api, fix flickering tempo curves. 2016-05-27 23:38:16 +10:00
nick_m
e5ba2bc34c Tempo ramps - rebase fixes 2016-05-27 23:38:16 +10:00
nick_m
a68ff8e540 Tempo ramps - remove unused code, small meter dilation drag cleanup. 2016-05-27 23:38:16 +10:00
nick_m
c3119852c0 Tempo ramps - remove pasted casts. 2016-05-27 23:38:16 +10:00
nick_m
5ccfeea5bc Tempo ramps - more bbt dragging work.
- display prev tempo and tempo at mouse while dragging
	- simplify ramp dilation somewhat.
2016-05-27 23:38:16 +10:00
nick_m
abac4ce854 Tempo ramps - more bbt ruler dragging work. 2016-05-27 23:38:16 +10:00
nick_m
49bd710b9b Tempo ramps - more bbt ruler drag work. 2016-05-27 23:38:16 +10:00
nick_m
8724a9f68f Tempo ramps - improve constraint mod + bbt dragging begavior. 2016-05-27 23:38:16 +10:00
nick_m
86b0268e8b Tempo ramps - add visualtempo curve, dragging bbt or music rulers with constraint modifier dilates previous tempo. 2016-05-27 23:38:16 +10:00
nick_m
652a59b317 Tempo ramps - fix recompute thinko 2016-05-27 23:38:16 +10:00
nick_m
9fb78d091d Tempo ramps - correct fix for adding/replacing meters. 2016-05-27 23:38:16 +10:00
nick_m
89ba10c05a Yempo ramps - fix new meters ending up at 0, clean code a bit. 2016-05-27 23:38:16 +10:00
nick_m
8b4f5dcd5f Tempo ramps - reinstate cross-dragging of music-locked meters, various bug fixes.
- revert failed frameoffset_t experiment
	- caclulate meters using bbt
	- fix tempo dilation when first tempo is ramped.
2016-05-27 23:38:16 +10:00
nick_m
992fc6b510 Tempo ramps - music-locked meter drags are now bbt based. 2016-05-27 23:38:16 +10:00
nick_m
3c76fa9dd1 Tempo ramps - fix various tempo dragging issues. 2016-05-27 23:38:16 +10:00