13
0
Commit Graph

20400 Commits

Author SHA1 Message Date
nick_m
daa07ce6e0 Tempo ramps - tempos now musically snap to their future. 2016-05-27 23:38:12 +10:00
nick_m
59df9880a4 Performance - Use fixed height mode and fixed column width in region list. 2016-05-27 23:38:12 +10:00
nick_m
16197654d1 Tempo bambi - clean up. 2016-05-27 23:38:12 +10:00
nick_m
58f01bb3f7 Tempo rambo - more bbt scale fiddling. 2016-05-27 23:38:12 +10:00
nick_m
15f8f371c3 Tempo rampo - tempo tick lines no longer assume constant tempo. 2016-05-27 23:38:12 +10:00
nick_m
a7df009de7 Tempo ramps - avoid sending negative beats to the BFC. 2016-05-27 23:38:12 +10:00
nick_m
cb43d485fa Tempo ramps - another approach to first meter/tempo.
- first tempo is glued to first meter position as they are now
	  both locked to AudioTime.
	- all existing audio-locked tempos to the left of the first meter
	  are made inactive. all to the right are made active.
2016-05-27 23:38:12 +10:00
nick_m
4de28f0745 Tempo ramps - fix just-introduced undo crash. 2016-05-27 23:38:12 +10:00
nick_m
a64e46a6b3 Tempo ramps - allow constraint-drag of first tempo. 2016-05-27 23:38:12 +10:00
nick_m
a84527cd17 Tempo ramps - bbt ruler scale tweaks. 2016-05-27 23:38:12 +10:00
nick_m
69b6379b23 Tempo ramps - pressing constraint modifier keys during tempo drag changes tempo with vertical movement, incorporating beat constraint (if present).
- makes it easy to find suitable accelerandos for hit points in conjunction
	  with playhead position, beat-locked tempos and initial meter frame.
2016-05-27 23:38:12 +10:00
nick_m
1be5a42737 Tempo ramps - small tweak to ruler scale. 2016-05-27 23:38:12 +10:00
nick_m
e2c97ab9b8 Tempo ramps- bbt ruler scale accounts for non-beat ranges for consistent results. 2016-05-27 23:38:12 +10:00
nick_m
3f2a8fe81d Tempo ramps - display bbt in audio clock correctly when dragging tempos/meters. 2016-05-27 23:38:12 +10:00
nick_m
187122ce5b Tempo ramps - towards having multiple audio-locked meters again.
- also speeds up meter dragging
2016-05-27 23:38:12 +10:00
nick_m
e4dfd23d2e Tempo ramps - bbt_time() speedup, more meter dragging performance improvements. 2016-05-27 23:38:12 +10:00
nick_m
591a2026c0 Tempo rmps - amend last commit, speeding up dragging of audio-locked meters quite a bit. 2016-05-27 23:38:12 +10:00
nick_m
3f3ad715ef Tempo ramps - minor cleanup. 2016-05-27 23:38:12 +10:00
nick_m
3c2ad63de7 Tempo ramps - complete 'music locked meters are now positioned using beats' transition. 2016-05-27 23:38:12 +10:00
nick_m
33e98186e4 Tempo ramps - small bug fixes/cleanup. 2016-05-27 23:38:12 +10:00
nick_m
99efddb050 Tempo ramps - various bug fixes (meter drag undo, incorrect copy) 2016-05-27 23:38:12 +10:00
nick_m
58d4889ad3 Tempo ramps - music-locked meters now use beats rather than pulses as their reference.
- fixes many problems with a non-zero audio-locked first meter.
2016-05-27 23:38:12 +10:00
nick_m
ba3ae54f51 Tempo ramps - clean up negative beat handling in beats_to_bbt_locked () 2016-05-27 23:38:12 +10:00
nick_m
cab7335d58 Tempo ramps - fix crash with simplest case. 2016-05-27 23:38:12 +10:00
nick_m
7d06651a5c Tempo ramps - fix compilation 2016-05-27 23:38:12 +10:00
nick_m
1c1bf4a06b Tempo ramps - show grid when dragging first meter. 2016-05-27 23:38:11 +10:00
nick_m
b47bb55226 Tempo ramps - improve music-locked meter drags, improve dump().
- dump now shows cross-calculation of tempo positions.
2016-05-27 23:38:11 +10:00
nick_m
a58f862640 Tempo ramps - fix constant tempos (again). 2016-05-27 23:38:11 +10:00
nick_m
e82c997b3d Tempo ramps - remove double calls to RegionView::set_duration() and MidiRegionView::redisplay_model()
- massively improves note redrawing performance when dragging tempos
	  and audio-locked meters,
2016-05-27 23:38:11 +10:00
nick_m
9def5caeaf Tempo ramps - code cleanup 2016-05-27 23:38:11 +10:00
nick_m
f16089ba88 Tempo ramps - allow moving the first meter if audio locked.
- strangely broken wrt the grid, but kind-of works.
2016-05-27 23:38:11 +10:00
nick_m
17a6cda89a Tempo ramps - fix incorrect handling of unsloveable maps. 2016-05-27 23:38:11 +10:00
nick_m
b415b59f79 Tempo ramps - respect tempo note type and meter note divisor correctly.
- tempo and meter position is now pulse-based,
	  although meter still has a beat for convenience.
2016-05-27 23:38:11 +10:00
nick_m
a47359c382 Tempo ramps - fix erroneous tempo_at_frame(), use correct type for offsets. 2016-05-27 23:38:11 +10:00
nick_m
d3c24fe0ca Tempo ramps - midi notes resize when dragged, misc bug fixes. 2016-05-27 23:38:11 +10:00
nick_m
8fce08610a Tempo ramps - snap uses audio-locked meter offsets.
- fixes much of the fallout from the previous commit.
2016-05-27 23:38:11 +10:00
nick_m
ec791c8dd4 Tempo ramps - hook up tempo display, a new approach to audio-locked meters
- audio locked meters define an offset which is used for all public
	  TempoMap methods while the internal map remains contiguous.
	  Probably a few unexpected consequences here, but seems to work mostly.
2016-05-27 23:38:11 +10:00
nick_m
3a2ff0a4a7 Tempo ramps - new (old) map solving strategy. 2016-05-27 23:38:11 +10:00
nick_m
7e408b38d8 Tempo ramps - comment out debugging 2016-05-27 23:38:11 +10:00
nick_m
acf7c2592a Tempo ramps -consolidate code, add precision check for tempo metrics. 2016-05-27 23:38:11 +10:00
nick_m
4d9b6a4ced Tempo ramps - fix various thinkos. 2016-05-27 23:38:11 +10:00
nick_m
278ad73259 Tempo ramps - check for impossible locations tempo dialog bbt entry. reorganise code. 2016-05-27 23:38:11 +10:00
nick_m
36ec551a8a Tempo ramps - fix music-locked meter drags. 2016-05-27 23:38:11 +10:00
nick_m
eeb20bc392 Tempo ramps - grid now follows dragging meter section. 2016-05-27 23:38:11 +10:00
nick_m
a0558694df Tempo ramps - audio-locked meters have a bbt of 1|1|0
- possibly lots going wrong with this due to multiple occurences
	  of 1|1|0.
2016-05-27 23:38:11 +10:00
nick_m
6ecef52d76 Tempo ramps - meter sections drag again. 2016-05-27 23:38:11 +10:00
nick_m
b4f0695780 Tempo ramps - comment and tidy. 2016-05-27 23:38:11 +10:00
nick_m
989089a4e9 Tempo ramps - add method to handle beat-based tempo reordering. clean code. 2016-05-27 23:38:11 +10:00
nick_m
aa95ffbc97 Tempo ramps - change some prototypes, rename some methods. 2016-05-27 23:38:11 +10:00
nick_m
96b511e221 Tempo ramps - fix ordering glitches when dragging tempos. 2016-05-27 23:38:11 +10:00