13
0
Commit Graph

20506 Commits

Author SHA1 Message Date
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
ccf6ce76d9 Tempo ramps - clean up tempo curve a bit. 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
nick_m
6f3ac9d626 Tempo ramps - fix some leaks 2016-05-27 23:38:16 +10:00
nick_m
118d04cce6 Tempo ramps - fix dragging issues wrt audio-locked meters.
- also minor rename and remove some unnecessary checks.
2016-05-27 23:38:16 +10:00
nick_m
b9158178e8 Tempo ramps - ahem. 2016-05-27 23:38:16 +10:00
nick_m
fc7233c256 Tempo ramps - amend last commit 2016-05-27 23:38:16 +10:00
nick_m
8bcf57cad4 Tempo ramps - a different approach to audio-locked meters.
- the bbt of a meter cannot be changed by moving tempos or other meters.
	  e.g. tempo motion will be disallowed if it would cause a bbt overlap
2016-05-27 23:38:15 +10:00
nick_m
37ed0f6e9b Tempo ramps - restore correct drag behaviour wrt audio-locked meters and right-click of associalted tempo 2016-05-27 23:38:15 +10:00
nick_m
bfeb105256 Tempo ramps - remove some code, fix up ramp dilation near limits a bit. 2016-05-27 23:38:15 +10:00
nick_m
601ac8565d Tempo ramps - disallow tempo dilation on first meter. 2016-05-27 23:38:15 +10:00
nick_m
e0607ca913 Tempo ramps - add gui dilation of tempos.
- a meter can be dragged using the constraint modifier, which
	  sets the previous tempo accordingly.
	  This could be added to the bbt ruler to allow direct dragging
	  of beats and bars, but the exact behavior of that is still
	  undecided. comments?

	- also preliminary work on the necessary tempos locked to
	  audio-locked meters.
2016-05-27 23:38:15 +10:00
nick_m
54758ddd4a Tempo ramps - make documentation more confusing. 2016-05-27 23:38:15 +10:00
nick_m
29e0b2e5bf Tempo ramps - make moving music-locked meters less flakey, remove some code. 2016-05-27 23:38:15 +10:00
nick_m
5e2280eead Tempo ramps - remove some code - should be a no-op. 2016-05-27 23:38:15 +10:00
nick_m
1d7fd8d1be Tempo ramps - clean up code, fix off-by-one bar when switching meter to audio-locked. 2016-05-27 23:38:15 +10:00
nick_m
7b9eec5678 Tempo ramps - fix mucally-snapped dragging across the 'no time' gap (audio-locked meters). 2016-05-27 23:38:15 +10:00
nick_m
8b0a2897b9 Tempo ramps - clean up some frame/beat ambiguity 2016-05-27 23:38:15 +10:00
nick_m
ea91593968 Tempo ramps - more click fixing. 2016-05-27 23:38:15 +10:00
nick_m
94e7e4e53b Tempo ramps - before the first meter, the beat is 0.0 2016-05-27 23:38:15 +10:00
nick_m
4820a11180 Tempo ramps - fix click, fix various thinkos wrt using the correct metrics. 2016-05-27 23:38:15 +10:00
nick_m
b24ce3fbe9 Tempo ramps - one approach to audio-locked meters.
- audio-locked meters retain their 'home' bar position
	  unless altered by another metric.
	  this is an alternative to a more strict model
	  which isn't quite so flexible.
2016-05-27 23:38:15 +10:00
nick_m
4f8fa6787a Tempo ramps - add undo to right-click lock style & ramp type changes. 2016-05-27 23:38:15 +10:00
nick_m
eb70cdce1f Tempo ramps - don't set incorrect lock style when changing tempo type.
- fixes random crashes when changing tempo type with right click.
2016-05-27 23:38:15 +10:00
nick_m
71a90399fe Tempo ramps - fix BBTPoint wtf.
- tempo tick lines should draw properly now.
2016-05-27 23:38:15 +10:00
nick_m
105999956e Tempo ramps - remove unused var. 2016-05-27 23:38:15 +10:00
nick_m
462d08acbb Tempo ramps - don't allow cross-dragging the first meter. 2016-05-27 23:38:15 +10:00
nick_m
06f294fa18 Tempo ramps - prevent adding tempos before the first tempo. 2016-05-27 23:38:15 +10:00
nick_m
932c7b07fd Tempo ramps - adding a new tempo doesn't involve a dialog. 2016-05-27 23:38:15 +10:00
nick_m
b6afce7173 Tempo ramps - ok so you really do need to redisplay when tempo lock style is changed.. 2016-05-27 23:38:15 +10:00
nick_m
f0955aeb57 Tempo ramps - redraw correctly when changing meter lock style. 2016-05-27 23:38:15 +10:00
nick_m
c6a66f1014 Tempo ramps - redraw after setting tempo type (ramped, constant) from context menu.
- not needed for lock style change.
2016-05-27 23:38:15 +10:00
nick_m
85c3284adc Tempo ramps - add some right-click options to meter and tempo markers. 2016-05-27 23:38:15 +10:00
nick_m
480fe7d0b7 Tempo ramps - fix more constructor confusion. 2016-05-27 23:38:15 +10:00
nick_m
fe648e97fb Tempo ramps - correct previous commit. 2016-05-27 23:38:15 +10:00
nick_m
0b2c476148 Tempo ramps - formatting, ensure correct initial lock style. 2016-05-27 23:38:14 +10:00
nick_m
0080781ddf Tempo ramps - fix OSX compilation. 2016-05-27 23:38:14 +10:00
nick_m
4f7a4cd233 Crapola - this is an experimental performance hack that must be reverted. 2016-05-27 23:38:14 +10:00
nick_m
c6d9d8193b Performance - speed up switching of playlists with non-destructive diskstreams. 2016-05-27 23:38:14 +10:00
nick_m
618a391346 Preformance - reinstate EditorRegions::freeze_tree_model (). 2016-05-27 23:38:14 +10:00