ardour.git
8 years agoTempo ramps - ensure displayed grid extends beyond the leftmost frame.
nick_m [Wed, 18 May 2016 15:26:02 +0000 (01:26 +1000)]
Tempo ramps - ensure displayed grid extends beyond the leftmost frame.

8 years agoTempo ramps - fix ambiguous api, fix flickering tempo curves.
nick_m [Wed, 18 May 2016 15:01:08 +0000 (01:01 +1000)]
Tempo ramps - fix ambiguous api, fix flickering tempo curves.

8 years agoTempo ramps - rebase fixes
nick_m [Wed, 18 May 2016 13:11:42 +0000 (23:11 +1000)]
Tempo ramps - rebase fixes

8 years agoTempo ramps - tempo marker's mark indicates curve height ar point.
nick_m [Tue, 17 May 2016 18:47:40 +0000 (04:47 +1000)]
Tempo ramps - tempo marker's mark indicates curve height ar point.

8 years agoTempo ramps - add Canvas::FramedCurve and use it in the tempo marker bar.
nick_m [Tue, 17 May 2016 17:26:18 +0000 (03:26 +1000)]
Tempo ramps - add Canvas::FramedCurve and use it in the tempo marker bar.

8 years agoTempo ramps - revert earlier change to Canvas::Curve
nick_m [Tue, 17 May 2016 17:23:55 +0000 (03:23 +1000)]
Tempo ramps - revert earlier change to Canvas::Curve

8 years agoTempo ramps - remove unused code, small meter dilation drag cleanup.
nick_m [Tue, 17 May 2016 14:40:49 +0000 (00:40 +1000)]
Tempo ramps - remove unused code, small meter dilation drag cleanup.

8 years agoTempo ramps - remove pasted casts.
nick_m [Tue, 17 May 2016 14:16:38 +0000 (00:16 +1000)]
Tempo ramps - remove pasted casts.

8 years agoTempo ramps - more bbt dragging work.
nick_m [Tue, 17 May 2016 14:12:28 +0000 (00:12 +1000)]
Tempo ramps - more bbt dragging work.

- display prev tempo and tempo at mouse while dragging
- simplify ramp dilation somewhat.

8 years agoTempo ramps - more bbt ruler dragging work.
nick_m [Wed, 11 May 2016 19:32:38 +0000 (05:32 +1000)]
Tempo ramps - more bbt ruler dragging work.

8 years agoTempo ramps - more bbt ruler drag work.
nick_m [Tue, 10 May 2016 15:40:43 +0000 (01:40 +1000)]
Tempo ramps - more bbt ruler drag work.

8 years agoTempo ramps - improve constraint mod + bbt dragging begavior.
nick_m [Mon, 9 May 2016 19:25:53 +0000 (05:25 +1000)]
Tempo ramps - improve constraint mod + bbt dragging begavior.

8 years agoTempo ramps - clean up tempo curve a bit.
nick_m [Sat, 7 May 2016 17:54:52 +0000 (03:54 +1000)]
Tempo ramps - clean up tempo curve a bit.

8 years agoTempo ramps - add visualtempo curve, dragging bbt or music rulers with constraint...
nick_m [Sat, 7 May 2016 17:03:12 +0000 (03:03 +1000)]
Tempo ramps - add visualtempo curve, dragging bbt or music rulers with constraint modifier dilates previous tempo.

8 years agoTempo ramps - fix recompute thinko
nick_m [Thu, 5 May 2016 03:58:52 +0000 (13:58 +1000)]
Tempo ramps - fix recompute thinko

8 years agoTempo ramps - correct fix for adding/replacing meters.
nick_m [Thu, 5 May 2016 03:49:01 +0000 (13:49 +1000)]
Tempo ramps - correct fix for adding/replacing meters.

8 years agoYempo ramps - fix new meters ending up at 0, clean code a bit.
nick_m [Thu, 5 May 2016 02:32:36 +0000 (12:32 +1000)]
Yempo ramps - fix new meters ending up at 0, clean code a bit.

8 years agoTempo ramps - reinstate cross-dragging of music-locked meters, various bug fixes.
nick_m [Tue, 3 May 2016 12:15:10 +0000 (22:15 +1000)]
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.

8 years agoTempo ramps - music-locked meter drags are now bbt based.
nick_m [Mon, 2 May 2016 17:31:27 +0000 (03:31 +1000)]
Tempo ramps - music-locked meter drags are now bbt based.

8 years agoTempo ramps - fix various tempo dragging issues.
nick_m [Sun, 1 May 2016 20:12:33 +0000 (06:12 +1000)]
Tempo ramps - fix various tempo dragging issues.

8 years agoTempo ramps - fix some leaks
nick_m [Sun, 1 May 2016 19:34:25 +0000 (05:34 +1000)]
Tempo ramps - fix some leaks

8 years agoTempo ramps - fix dragging issues wrt audio-locked meters.
nick_m [Sun, 1 May 2016 19:11:39 +0000 (05:11 +1000)]
Tempo ramps - fix dragging issues wrt audio-locked meters.

- also minor rename and remove some unnecessary checks.

8 years agoTempo ramps - ahem.
nick_m [Sat, 30 Apr 2016 19:21:34 +0000 (05:21 +1000)]
Tempo ramps - ahem.

8 years agoTempo ramps - amend last commit
nick_m [Sat, 30 Apr 2016 19:02:01 +0000 (05:02 +1000)]
Tempo ramps - amend last commit

8 years agoTempo ramps - a different approach to audio-locked meters.
nick_m [Sat, 30 Apr 2016 18:35:12 +0000 (04:35 +1000)]
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

8 years agoTempo ramps - restore correct drag behaviour wrt audio-locked meters and right-click...
nick_m [Thu, 28 Apr 2016 17:27:08 +0000 (03:27 +1000)]
Tempo ramps - restore correct drag behaviour wrt audio-locked meters and right-click of associalted tempo

8 years agoTempo ramps - remove some code, fix up ramp dilation near limits a bit.
nick_m [Mon, 25 Apr 2016 19:09:10 +0000 (05:09 +1000)]
Tempo ramps - remove some code, fix up ramp dilation near limits a bit.

8 years agoTempo ramps - disallow tempo dilation on first meter.
nick_m [Mon, 25 Apr 2016 18:08:03 +0000 (04:08 +1000)]
Tempo ramps - disallow tempo dilation on first meter.

8 years agoTempo ramps - add gui dilation of tempos.
nick_m [Mon, 25 Apr 2016 17:21:48 +0000 (03:21 +1000)]
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.

8 years agoTempo ramps - make documentation more confusing.
nick_m [Tue, 19 Apr 2016 13:24:55 +0000 (23:24 +1000)]
Tempo ramps - make documentation more confusing.

8 years agoTempo ramps - make moving music-locked meters less flakey, remove some code.
nick_m [Sun, 17 Apr 2016 21:00:19 +0000 (07:00 +1000)]
Tempo ramps - make moving music-locked meters less flakey, remove some code.

8 years agoTempo ramps - remove some code - should be a no-op.
nick_m [Sun, 17 Apr 2016 19:23:06 +0000 (05:23 +1000)]
Tempo ramps - remove some code - should be a no-op.

8 years agoTempo ramps - clean up code, fix off-by-one bar when switching meter to audio-locked.
nick_m [Sun, 17 Apr 2016 18:27:33 +0000 (04:27 +1000)]
Tempo ramps - clean up code, fix off-by-one bar when switching meter to audio-locked.

8 years agoTempo ramps - fix mucally-snapped dragging across the 'no time' gap (audio-locked...
nick_m [Sat, 16 Apr 2016 20:48:49 +0000 (06:48 +1000)]
Tempo ramps - fix mucally-snapped dragging across the 'no time' gap (audio-locked meters).

8 years agoTempo ramps - clean up some frame/beat ambiguity
nick_m [Sat, 16 Apr 2016 20:18:05 +0000 (06:18 +1000)]
Tempo ramps - clean up some frame/beat ambiguity

8 years agoTempo ramps - more click fixing.
nick_m [Sat, 16 Apr 2016 18:31:08 +0000 (04:31 +1000)]
Tempo ramps - more click fixing.

8 years agoTempo ramps - before the first meter, the beat is 0.0
nick_m [Sat, 16 Apr 2016 18:26:19 +0000 (04:26 +1000)]
Tempo ramps - before the first meter, the beat is 0.0

8 years agoTempo ramps - fix click, fix various thinkos wrt using the correct metrics.
nick_m [Sat, 16 Apr 2016 18:11:59 +0000 (04:11 +1000)]
Tempo ramps - fix click, fix various thinkos wrt using the correct metrics.

8 years agoTempo ramps - one approach to audio-locked meters.
nick_m [Sat, 16 Apr 2016 16:34:40 +0000 (02:34 +1000)]
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.

8 years agoTempo ramps - add undo to right-click lock style & ramp type changes.
nick_m [Fri, 15 Apr 2016 21:07:42 +0000 (07:07 +1000)]
Tempo ramps - add undo to right-click lock style & ramp type changes.

8 years agoTempo ramps - don't set incorrect lock style when changing tempo type.
nick_m [Fri, 15 Apr 2016 20:29:15 +0000 (06:29 +1000)]
Tempo ramps - don't set incorrect lock style when changing tempo type.

- fixes random crashes when changing tempo type with right click.

8 years agoTempo ramps - fix BBTPoint wtf.
nick_m [Thu, 14 Apr 2016 16:19:30 +0000 (02:19 +1000)]
Tempo ramps - fix BBTPoint wtf.

- tempo tick lines should draw properly now.

8 years agoTempo ramps - remove unused var.
nick_m [Thu, 14 Apr 2016 15:13:55 +0000 (01:13 +1000)]
Tempo ramps - remove unused var.

8 years agoTempo ramps - don't allow cross-dragging the first meter.
nick_m [Thu, 14 Apr 2016 15:13:14 +0000 (01:13 +1000)]
Tempo ramps - don't allow cross-dragging the first meter.

8 years agoTempo ramps - prevent adding tempos before the first tempo.
nick_m [Wed, 13 Apr 2016 20:14:51 +0000 (06:14 +1000)]
Tempo ramps - prevent adding tempos before the first tempo.

8 years agoTempo ramps - adding a new tempo doesn't involve a dialog.
nick_m [Wed, 13 Apr 2016 20:03:20 +0000 (06:03 +1000)]
Tempo ramps - adding a new tempo doesn't involve a dialog.

8 years agoTempo ramps - ok so you really do need to redisplay when tempo lock style is changed..
nick_m [Wed, 13 Apr 2016 18:53:07 +0000 (04:53 +1000)]
Tempo ramps - ok so you really do need to redisplay when tempo lock style is changed..

8 years agoTempo ramps - redraw correctly when changing meter lock style.
nick_m [Wed, 13 Apr 2016 18:47:16 +0000 (04:47 +1000)]
Tempo ramps - redraw correctly when changing meter lock style.

8 years agoTempo ramps - redraw after setting tempo type (ramped, constant) from context menu.
nick_m [Wed, 13 Apr 2016 18:38:16 +0000 (04:38 +1000)]
Tempo ramps - redraw after setting tempo type (ramped, constant) from context menu.

- not needed for lock style change.

8 years agoTempo ramps - add some right-click options to meter and tempo markers.
nick_m [Wed, 13 Apr 2016 18:16:24 +0000 (04:16 +1000)]
Tempo ramps - add some right-click options to meter and tempo markers.

8 years agoTempo ramps - fix more constructor confusion.
nick_m [Wed, 13 Apr 2016 17:16:47 +0000 (03:16 +1000)]
Tempo ramps - fix more constructor confusion.

8 years agoTempo ramps - correct previous commit.
nick_m [Wed, 13 Apr 2016 16:06:22 +0000 (02:06 +1000)]
Tempo ramps - correct previous commit.

8 years agoTempo ramps - formatting, ensure correct initial lock style.
nick_m [Wed, 13 Apr 2016 14:30:48 +0000 (00:30 +1000)]
Tempo ramps - formatting, ensure correct initial lock style.

8 years agoTempo ramps - fix OSX compilation.
nick_m [Wed, 13 Apr 2016 13:27:45 +0000 (23:27 +1000)]
Tempo ramps - fix OSX compilation.

8 years agoCrapola - this is an experimental performance hack that must be reverted.
nick_m [Tue, 12 Apr 2016 19:38:31 +0000 (05:38 +1000)]
Crapola - this is an experimental performance hack that must be reverted.

8 years agoPerformance - speed up switching of playlists with non-destructive diskstreams.
nick_m [Mon, 11 Apr 2016 16:57:10 +0000 (02:57 +1000)]
Performance - speed up switching of playlists with non-destructive diskstreams.

8 years agoPreformance - reinstate EditorRegions::freeze_tree_model ().
nick_m [Fri, 8 Apr 2016 17:21:13 +0000 (03:21 +1000)]
Preformance - reinstate EditorRegions::freeze_tree_model ().

8 years agoTempo ramps - fix more wtfery.
nick_m [Wed, 6 Apr 2016 17:46:29 +0000 (03:46 +1000)]
Tempo ramps - fix more wtfery.

8 years agoTempo ramps - be a bit more efficient when detecting legacy sessions.
nick_m [Mon, 4 Apr 2016 19:32:50 +0000 (05:32 +1000)]
Tempo ramps - be a bit more efficient when detecting legacy sessions.

8 years agoTempo ramps - make legacy session detection more robust.
nick_m [Mon, 4 Apr 2016 19:22:44 +0000 (05:22 +1000)]
Tempo ramps - make legacy session detection more robust.

8 years agoTempo rampos -reorder tempo dialog.
nick_m [Mon, 4 Apr 2016 18:15:55 +0000 (04:15 +1000)]
Tempo rampos -reorder tempo dialog.

8 years agoTempo ramps - newline fix.
nick_m [Mon, 4 Apr 2016 17:58:04 +0000 (03:58 +1000)]
Tempo ramps - newline fix.

8 years agoTempo ramps - first tempo and meter are always audio locked wrt gui.
nick_m [Mon, 4 Apr 2016 17:56:38 +0000 (03:56 +1000)]
Tempo ramps - first tempo and meter are always audio locked wrt gui.

- fixes some gtk warnings as well

8 years agoTempo ramps - rulers don't request negative bbt.
nick_m [Mon, 4 Apr 2016 17:38:30 +0000 (03:38 +1000)]
Tempo ramps - rulers don't request negative bbt.

- i'm reluctant to fix this at the map level.

8 years agoTempo ramps - remove odd check.
nick_m [Mon, 4 Apr 2016 17:24:06 +0000 (03:24 +1000)]
Tempo ramps - remove odd check.

8 years agoTempo ramps - clean up state load.
nick_m [Mon, 4 Apr 2016 17:19:06 +0000 (03:19 +1000)]
Tempo ramps - clean up state load.

8 years agoTempo ramps - legacy session. ugh.
nick_m [Mon, 4 Apr 2016 16:46:24 +0000 (02:46 +1000)]
Tempo ramps - legacy session. ugh.

8 years agoTempo ramps - rename, more legacy session handling.
nick_m [Mon, 4 Apr 2016 15:46:29 +0000 (01:46 +1000)]
Tempo ramps - rename, more legacy session handling.

8 years agoTempo ramps - add legacy session comment.
nick_m [Mon, 4 Apr 2016 14:41:57 +0000 (00:41 +1000)]
Tempo ramps - add legacy session comment.

8 years agoTempo ramps - restrict legacy session handling to legacy sessions..
nick_m [Mon, 4 Apr 2016 14:39:48 +0000 (00:39 +1000)]
Tempo ramps - restrict legacy session handling to legacy sessions..

8 years agoTempo ramps - set legacy session's metric pulses correctly.
nick_m [Mon, 4 Apr 2016 14:36:33 +0000 (00:36 +1000)]
Tempo ramps - set legacy session's metric pulses correctly.

8 years agoTempo ramps - possible fix for loading bjbjb's session, remove insane level 3 map...
nick_m [Mon, 4 Apr 2016 14:11:37 +0000 (00:11 +1000)]
Tempo ramps - possible fix for loading bjbjb's session, remove insane level 3 map solver.

8 years agoTempo ramps - fix copy/paste error.
nick_m [Sun, 3 Apr 2016 19:11:49 +0000 (05:11 +1000)]
Tempo ramps - fix copy/paste error.

8 years agoTempo ramps - remove erroneous (for now) #ifdef
nick_m [Sun, 3 Apr 2016 17:02:58 +0000 (03:02 +1000)]
Tempo ramps - remove erroneous (for now) #ifdef

8 years agoTempo ramps - tempo marks use mvc-style copy drag, don't crash if two successive...
nick_m [Sun, 3 Apr 2016 17:00:40 +0000 (03:00 +1000)]
Tempo ramps - tempo marks use mvc-style copy drag, don't crash if two successive ramped tempos are the same :|

8 years agoTempo ramps - fix dragging audio-locked meters across each other.
nick_m [Sat, 2 Apr 2016 19:31:16 +0000 (05:31 +1000)]
Tempo ramps - fix dragging audio-locked meters across each other.

8 years agoTempo ramps - fix thinko in meter drag aborted handling
nick_m [Sat, 2 Apr 2016 18:33:58 +0000 (04:33 +1000)]
Tempo ramps - fix thinko in meter drag aborted handling

8 years agoTempo ramps - don't replace the meter when drag finished. handle aborted.
nick_m [Sat, 2 Apr 2016 18:32:14 +0000 (04:32 +1000)]
Tempo ramps - don't replace the meter when drag finished. handle aborted.

- meter has already been placed there.

8 years agoTempo ramps - fix for dragging audio-locked meters over no time.
nick_m [Sat, 2 Apr 2016 18:20:47 +0000 (04:20 +1000)]
Tempo ramps - fix for dragging audio-locked meters over no time.

8 years agoTempo ranps - fix compilation
nick_m [Sat, 2 Apr 2016 18:09:39 +0000 (04:09 +1000)]
Tempo ranps - fix compilation

8 years agoTempo ramps - meters can be dragged across each other.
nick_m [Sat, 2 Apr 2016 17:57:33 +0000 (03:57 +1000)]
Tempo ramps - meters can be dragged across each other.

- also removes some fairly silly code,

8 years agoTempo ramps - copy-drag meters works again.
nick_m [Sat, 2 Apr 2016 14:41:27 +0000 (01:41 +1100)]
Tempo ramps - copy-drag meters works again.

- meter drags now use mvc style.

8 years agoTempo ramps - api change, remove some code.
nick_m [Fri, 1 Apr 2016 18:41:16 +0000 (05:41 +1100)]
Tempo ramps - api change, remove some code.

8 years agoTempo ramps - rename - should be a no-op.
nick_m [Fri, 1 Apr 2016 18:11:25 +0000 (05:11 +1100)]
Tempo ramps - rename - should be a no-op.

8 years agoTempo ramps - fix bug revealed by test. also small rename.
nick_m [Fri, 1 Apr 2016 18:01:06 +0000 (05:01 +1100)]
Tempo ramps - fix bug revealed by test. also small rename.

8 years agoTempo ramps - make ramp test more challenging.
nick_m [Fri, 1 Apr 2016 18:00:14 +0000 (05:00 +1100)]
Tempo ramps - make ramp test more challenging.

8 years agoTempo ramps - tempo related tests pass, add ramp test.
nick_m [Fri, 1 Apr 2016 16:23:51 +0000 (03:23 +1100)]
Tempo ramps - tempo related tests pass, add ramp test.

8 years agoTempo ramps - remove more code.
nick_m [Thu, 31 Mar 2016 18:50:08 +0000 (05:50 +1100)]
Tempo ramps - remove more code.

8 years agoTempo ramps - neaten code layout.
nick_m [Thu, 31 Mar 2016 17:22:55 +0000 (04:22 +1100)]
Tempo ramps - neaten code layout.

8 years agoTempo ramps - fix some silly code.
nick_m [Thu, 31 Mar 2016 15:12:34 +0000 (02:12 +1100)]
Tempo ramps - fix some silly code.

8 years agoTempo ramps - calculate bars correctly when setting meter position.
nick_m [Thu, 31 Mar 2016 14:34:55 +0000 (01:34 +1100)]
Tempo ramps - calculate bars correctly when setting meter position.

8 years agoTempo ramps - fix thinko in a could-be-more-efficient manner.
nick_m [Thu, 31 Mar 2016 13:51:23 +0000 (00:51 +1100)]
Tempo ramps - fix thinko in a could-be-more-efficient manner.

- some form of 'no time' now functions correctly between audio locked meters.

8 years agoTempo ramps - set correct beat on audio locked meters.
nick_m [Thu, 31 Mar 2016 13:32:52 +0000 (00:32 +1100)]
Tempo ramps - set correct beat on audio locked meters.

8 years agoTempo ramps - multiple audio-locked meters are go.
nick_m [Wed, 30 Mar 2016 19:45:44 +0000 (06:45 +1100)]
Tempo ramps - multiple audio-locked meters are go.

- more or less

8 years agoTempo ramps - more clarity i hope take 2.
nick_m [Wed, 30 Mar 2016 19:03:10 +0000 (06:03 +1100)]
Tempo ramps - more clarity i hope take 2.

8 years agoTempo ramps - hopefully better overview.
nick_m [Wed, 30 Mar 2016 18:48:22 +0000 (05:48 +1100)]
Tempo ramps - hopefully better overview.

8 years agoTempo spamr - smallify some code.
nick_m [Wed, 30 Mar 2016 18:26:09 +0000 (05:26 +1100)]
Tempo spamr - smallify some code.

8 years agoTempo ramps - more code reorganization, almost audio-locked meter nirvana.
nick_m [Wed, 30 Mar 2016 17:50:26 +0000 (04:50 +1100)]
Tempo ramps - more code reorganization, almost audio-locked meter nirvana.

8 years agoRampo Temps - remove nonsense.
nick_m [Wed, 30 Mar 2016 16:53:21 +0000 (03:53 +1100)]
Rampo Temps - remove nonsense.

8 years agoTempo ramps -update audio-locked meter bbt correctly, a bit more explanation.
nick_m [Wed, 30 Mar 2016 16:47:30 +0000 (03:47 +1100)]
Tempo ramps -update audio-locked meter bbt correctly, a bit more explanation.