ardour.git
7 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.

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

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

7 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

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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).

7 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

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

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

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

7 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.

7 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.

7 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.

7 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..

7 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.

7 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.

7 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.

7 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.

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

7 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.

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

7 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.

7 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.

7 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 ().

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

7 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.

7 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.

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

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

7 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

7 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.

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

7 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.

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

7 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.

7 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.

7 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..

7 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.

7 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.

7 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.

7 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

7 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 :|

7 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.

7 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

7 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.

7 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.

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

7 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,

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

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

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

7 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.

7 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.

7 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.

7 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.

7 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

7 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.

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

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

7 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.

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

7 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.

7 years agoTempo ramps - more multi audio-locked meter work, code reorganisation.
nick_m [Wed, 30 Mar 2016 15:34:54 +0000 (02:34 +1100)]
Tempo ramps - more multi audio-locked meter work, code reorganisation.

7 years agoTempo gramps - fix compilatoin?
nick_m [Tue, 29 Mar 2016 19:15:24 +0000 (06:15 +1100)]
Tempo gramps - fix compilatoin?

7 years agoTempo damps - fix compilation
nick_m [Tue, 29 Mar 2016 16:54:09 +0000 (03:54 +1100)]
Tempo damps - fix compilation

7 years agoTempo cramps - do not allow tempos to share the same frame.
nick_m [Tue, 29 Mar 2016 11:09:39 +0000 (22:09 +1100)]
Tempo cramps - do not allow tempos to share the same frame.

7 years agoPerfornamce - remove dubious optimisation.
nick_m [Tue, 29 Mar 2016 05:48:56 +0000 (16:48 +1100)]
Perfornamce - remove dubious optimisation.

7 years agoTempo camp - clarify comments.
nick_m [Tue, 29 Mar 2016 03:56:33 +0000 (14:56 +1100)]
Tempo camp - clarify comments.

7 years agoTempo ramps - a saner way to snap music-locked tempos.
nick_m [Mon, 28 Mar 2016 20:19:11 +0000 (07:19 +1100)]
Tempo ramps - a saner way to snap music-locked tempos.

7 years agoTempo ramps - improvements from static analysis.
nick_m [Mon, 28 Mar 2016 20:18:12 +0000 (07:18 +1100)]
Tempo ramps - improvements from static analysis.

7 years agoTempo ramps - fix incorrect verbose cursor during tempo drag.
nick_m [Mon, 28 Mar 2016 19:11:02 +0000 (06:11 +1100)]
Tempo ramps - fix incorrect verbose cursor during tempo drag.

7 years agoTempo ramps - fix meter drag finished bug.
nick_m [Mon, 28 Mar 2016 18:57:51 +0000 (05:57 +1100)]
Tempo ramps - fix meter drag finished bug.

7 years agoTempo ramps - tempo drags respect the snap modifier. add some documentation.
nick_m [Mon, 28 Mar 2016 18:31:06 +0000 (05:31 +1100)]
Tempo ramps - tempo drags respect the snap modifier. add some documentation.

7 years agoTempo ramps - switch MusicLocked tempos to beat-based dragging. fix various bugs...
nick_m [Mon, 28 Mar 2016 17:13:37 +0000 (04:13 +1100)]
Tempo ramps - switch MusicLocked tempos to beat-based dragging. fix various bugs wrt future-snapped tempo drags

7 years agoTempo ramps - use correct meter when snapping to the future.
nick_m [Mon, 28 Mar 2016 16:14:23 +0000 (03:14 +1100)]
Tempo ramps - use correct meter when snapping to the future.

7 years agoTempo ramps - tempos now musically snap to their future.
nick_m [Mon, 28 Mar 2016 15:23:29 +0000 (02:23 +1100)]
Tempo ramps - tempos now musically snap to their future.

7 years agoPerformance - Use fixed height mode and fixed column width in region list.
nick_m [Sun, 27 Mar 2016 20:05:39 +0000 (07:05 +1100)]
Performance - Use fixed height mode and fixed column width in region list.

7 years agoTempo bambi - clean up.
nick_m [Sun, 27 Mar 2016 19:13:22 +0000 (06:13 +1100)]
Tempo bambi - clean up.

7 years agoTempo rambo - more bbt scale fiddling.
nick_m [Sun, 27 Mar 2016 19:05:20 +0000 (06:05 +1100)]
Tempo rambo - more bbt scale fiddling.

7 years agoTempo rampo - tempo tick lines no longer assume constant tempo.
nick_m [Sun, 27 Mar 2016 18:21:29 +0000 (05:21 +1100)]
Tempo rampo - tempo tick lines no longer assume constant tempo.

7 years agoTempo ramps - avoid sending negative beats to the BFC.
nick_m [Sat, 26 Mar 2016 23:45:51 +0000 (10:45 +1100)]
Tempo ramps - avoid sending negative beats to the BFC.

7 years agoTempo ramps - another approach to first meter/tempo.
nick_m [Sat, 26 Mar 2016 23:26:15 +0000 (10:26 +1100)]
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.

7 years agoTempo ramps - fix just-introduced undo crash.
nick_m [Fri, 25 Mar 2016 19:28:27 +0000 (06:28 +1100)]
Tempo ramps - fix just-introduced undo crash.