Commit Graph

27168 Commits

Author SHA1 Message Date
John Emmas
22e031135a Emulate 'log1p()' and 'expm1()' using 'log()' and 'exp()'
(for MSVC which didn't implement those functions until very recent versions).
2016-05-28 19:07:22 +01:00
John Emmas
ebeffdd294 Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2016-05-28 10:44:28 +01:00
John Emmas
4c4bb98052 Accommodate newly introduced source(s) in our MSVC project (cairocanvas) 2016-05-28 10:43:50 +01: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
0d17c21410 Revert 2d7f755 2016-05-28 05:17:43 +10:00
nick_m
3e6c80bbc0 Ifdef out some debugging-related code. 2016-05-28 04:37:52 +10:00
nick_m
5d3467d768 Allow user to have the snap modifier pressed when using the constraint modifier to initiate a bbt ruler drah. 2016-05-28 04:34:10 +10:00
nick_m
2d7f755df6 Enable snap for tempo dilation. 2016-05-28 03:21:16 +10:00
nick_m
062e17a542 Don't change snap settings when dragging audio-locked meters. 2016-05-28 03:16:06 +10:00
nick_m
1c51cbcc82 Force snap when dragging meters. 2016-05-28 02:57:53 +10:00
nick_m
9506fd884d Restore snap setting in eterMarkerDrag::aborted()/ 2016-05-28 02:47:12 +10:00
Robin Gareus
4aea1285c9 fix some false-positive compiler warnings 2016-05-27 18:28:26 +02:00
Robin Gareus
46709de8ab AU tempo API updates 2016-05-27 18:28:23 +02:00
nick_m
b9f70334b6 Dragging a meter sets editor snap type to bars during drag. 2016-05-28 00:48:18 +10:00
nick_m
10228a4bc3 Tempo ramps - fix missing rt call. 2016-05-28 00:24:02 +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
2d31fa7bb1 Tempo ramps - finally fix flicker in framed curve. 2016-05-27 23:38:17 +10:00
nick_m
6e97f40d08 Tempo ramps - remove thinko 2016-05-27 23:38:17 +10:00
nick_m
390dea1684 Tempo ramps - fix comment 2016-05-27 23:38:17 +10:00
nick_m
389e35f7be Tempo ramps - ensure fake meter mark is under pointer during drags. 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
de5f8dd3d3 Temper pants - fix newly added lockup while dragging tempos sometimes. 2016-05-27 23:38:17 +10:00
nick_m
a9921c10eb Gd Lk ramps - rework auto scaling. change colour. 2016-05-27 23:38:17 +10:00
nick_m
533e5c4069 Rwbi ramps - midi regions resize when tempo map changed. 2016-05-27 23:38:17 +10:00
nick_m
2a8104f2f8 Yr,[p ramps - fix flickering tempo curves when zoomed in. 2016-05-27 23:38:17 +10:00
nick_m
1927a707c5 Tempo ramps - fix huge marker height mark, remove unused var. 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