ardour.git
7 years agoTempo ramps - fiddle with gradient limit.
nick_m [Thu, 26 May 2016 21:03:55 +0000 (07:03 +1000)]
Tempo ramps - fiddle with gradient limit.

7 years agoTempo ramps - add a gradient limit to the ramp, more comments.
nick_m [Thu, 26 May 2016 20:48:45 +0000 (06:48 +1000)]
Tempo ramps - add a gradient limit to the ramp, more comments.

- things are fine without this, but overall it feels slicker with a linit.

7 years agoTempo ramps - rename meter/tempo_section_at() -> meter/tempo_section_at_frame()
nick_m [Thu, 26 May 2016 19:39:28 +0000 (05:39 +1000)]
Tempo ramps - rename meter/tempo_section_at() -> meter/tempo_section_at_frame()

7 years agoTempo ramps - fix up previous commit.
nick_m [Thu, 26 May 2016 18:17:49 +0000 (04:17 +1000)]
Tempo ramps - fix up previous commit.

7 years agoTempo ramps - add TempoMap::frame_at_tempo()
nick_m [Thu, 26 May 2016 17:55:11 +0000 (03:55 +1000)]
Tempo ramps - add TempoMap::frame_at_tempo()

7 years agoTempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()
nick_m [Thu, 26 May 2016 17:22:24 +0000 (03:22 +1000)]
Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()

7 years agoTempo ramps - add comment
nick_m [Thu, 26 May 2016 16:16:31 +0000 (02:16 +1000)]
Tempo ramps - add comment

7 years agoTempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more...
nick_m [Thu, 26 May 2016 15:44:58 +0000 (01:44 +1000)]
Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more efficient.

7 years agoTempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock...
nick_m [Thu, 26 May 2016 15:25:47 +0000 (01:25 +1000)]
Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the audioclock tempo display.

7 years agoTempo ramps - check the curve not the integral.
nick_m [Thu, 26 May 2016 14:46:46 +0000 (00:46 +1000)]
Tempo ramps - check the curve not the integral.

7 years agoTempo ramps - finally fix flicker in framed curve.
nick_m [Wed, 25 May 2016 02:31:17 +0000 (12:31 +1000)]
Tempo ramps - finally fix flicker in framed curve.

7 years agoTempo ramps - remove thinko
nick_m [Wed, 25 May 2016 01:55:53 +0000 (11:55 +1000)]
Tempo ramps - remove thinko

7 years agoTempo ramps - fix comment
nick_m [Wed, 25 May 2016 01:49:45 +0000 (11:49 +1000)]
Tempo ramps - fix comment

7 years agoTempo ramps - ensure fake meter mark is under pointer during drags.
nick_m [Wed, 25 May 2016 01:40:38 +0000 (11:40 +1000)]
Tempo ramps - ensure fake meter mark is under pointer during drags.

7 years agoTempo ramps - fix erroneous paste.
nick_m [Wed, 25 May 2016 01:31:41 +0000 (11:31 +1000)]
Tempo ramps - fix erroneous paste.

7 years agoTemper pants - fix newly added lockup while dragging tempos sometimes.
nick_m [Wed, 25 May 2016 01:30:12 +0000 (11:30 +1000)]
Temper pants - fix newly added lockup while dragging tempos sometimes.

7 years agoGd Lk ramps - rework auto scaling. change colour.
nick_m [Tue, 24 May 2016 18:10:22 +0000 (04:10 +1000)]
Gd Lk ramps - rework auto scaling. change colour.

7 years agoRwbi ramps - midi regions resize when tempo map changed.
nick_m [Tue, 24 May 2016 18:09:15 +0000 (04:09 +1000)]
Rwbi ramps - midi regions resize when tempo map changed.

7 years agoYr,[p ramps - fix flickering tempo curves when zoomed in.
nick_m [Tue, 24 May 2016 18:07:38 +0000 (04:07 +1000)]
Yr,[p ramps - fix flickering tempo curves when zoomed in.

7 years agoTempo ramps - fix huge marker height mark, remove unused var.
nick_m [Mon, 23 May 2016 20:49:52 +0000 (06:49 +1000)]
Tempo ramps - fix huge marker height mark, remove unused var.

7 years agoTempo ramps - rename no-op
nick_m [Mon, 23 May 2016 20:28:06 +0000 (06:28 +1000)]
Tempo ramps - rename no-op

7 years agoTempo ramps - first tempo is a ramp, fix extra meter recompute.
nick_m [Mon, 23 May 2016 20:19:36 +0000 (06:19 +1000)]
Tempo ramps - first tempo is a ramp, fix extra meter recompute.

7 years agoTempo ramps -remove unused code.
nick_m [Mon, 23 May 2016 19:56:16 +0000 (05:56 +1000)]
Tempo ramps -remove unused code.

7 years agoTempo ramps - clean up tempo dragging.
nick_m [Mon, 23 May 2016 19:49:58 +0000 (05:49 +1000)]
Tempo ramps - clean up tempo dragging.

7 years agoTempo ramps - rename for consistency, remove some testing code, add meter based bbt...
nick_m [Mon, 23 May 2016 18:17:35 +0000 (04:17 +1000)]
Tempo ramps - rename for consistency, remove some testing code, add meter based bbt->pulse conversions.

7 years agoTempo ramps - consolidate meter dragging code.
nick_m [Mon, 23 May 2016 16:50:42 +0000 (02:50 +1000)]
Tempo ramps - consolidate meter dragging code.

7 years agoTempo ramps - rework tempo drags, improve comments.
nick_m [Mon, 23 May 2016 14:03:58 +0000 (00:03 +1000)]
Tempo ramps - rework tempo drags, improve comments.

7 years agoTempo ramps - consolidate TempoMap::predict_tempo()
nick_m [Fri, 20 May 2016 19:33:31 +0000 (05:33 +1000)]
Tempo ramps - consolidate TempoMap::predict_tempo()

7 years agoTempo ramps - more code cleanup, fix cross-marker jumping using tempo dialog bbt
nick_m [Fri, 20 May 2016 18:48:42 +0000 (04:48 +1000)]
Tempo ramps - more code cleanup, fix cross-marker jumping using tempo dialog bbt

7 years agoTempo ramps - no more tempo dilation on meter drag.
nick_m [Fri, 20 May 2016 17:54:29 +0000 (03:54 +1000)]
Tempo ramps - no more tempo dilation on meter drag.

- its now a bbt ruler / marker lane thing with the constraint modifier.

7 years agoTempo ramps - code layout, check_solved() is lock-style agnostic, remove uncalled...
nick_m [Fri, 20 May 2016 17:45:53 +0000 (03:45 +1000)]
Tempo ramps - code layout, check_solved() is lock-style agnostic, remove uncalled code.

7 years agoTempo ramps - remove commented code
nick_m [Fri, 20 May 2016 15:46:50 +0000 (01:46 +1000)]
Tempo ramps - remove commented code

7 years agoTempo ramps - more code consolidation wrt add meter/tempo.
nick_m [Fri, 20 May 2016 15:45:37 +0000 (01:45 +1000)]
Tempo ramps - more code consolidation wrt add meter/tempo.

7 years agoTempo ramps - clean up add/replace tempo
nick_m [Thu, 19 May 2016 20:39:48 +0000 (06:39 +1000)]
Tempo ramps - clean up add/replace tempo

7 years agoTempo ramps - fix various sub-beat tempo line bugs.
nick_m [Thu, 19 May 2016 11:27:02 +0000 (21:27 +1000)]
Tempo ramps - fix various sub-beat tempo line bugs.

- actual meter is taken into account now.

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

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

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

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

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

7 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.