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

7 years agoTempo ramps - allow constraint-drag of first tempo.
nick_m [Fri, 25 Mar 2016 19:16:47 +0000 (06:16 +1100)]
Tempo ramps - allow constraint-drag of first tempo.

7 years agoTempo ramps - bbt ruler scale tweaks.
nick_m [Fri, 25 Mar 2016 18:18:11 +0000 (05:18 +1100)]
Tempo ramps - bbt ruler scale tweaks.

7 years agoTempo ramps - pressing constraint modifier keys during tempo drag changes tempo with...
nick_m [Fri, 25 Mar 2016 17:48:29 +0000 (04:48 +1100)]
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.

7 years agoTempo ramps - small tweak to ruler scale.
nick_m [Thu, 24 Mar 2016 19:04:24 +0000 (06:04 +1100)]
Tempo ramps - small tweak to ruler scale.

7 years agoTempo ramps- bbt ruler scale accounts for non-beat ranges for consistent results.
nick_m [Thu, 24 Mar 2016 18:15:01 +0000 (05:15 +1100)]
Tempo ramps- bbt ruler scale accounts for non-beat ranges for consistent results.

7 years agoTempo ramps - display bbt in audio clock correctly when dragging tempos/meters.
nick_m [Thu, 24 Mar 2016 16:44:04 +0000 (03:44 +1100)]
Tempo ramps - display bbt in audio clock correctly when dragging tempos/meters.

7 years agoTempo ramps - towards having multiple audio-locked meters again.
nick_m [Thu, 24 Mar 2016 13:26:05 +0000 (00:26 +1100)]
Tempo ramps - towards having multiple audio-locked meters again.

- also speeds up meter dragging

7 years agoTempo ramps - bbt_time() speedup, more meter dragging performance improvements.
nick_m [Thu, 24 Mar 2016 12:22:28 +0000 (23:22 +1100)]
Tempo ramps - bbt_time() speedup, more meter dragging performance improvements.

7 years agoTempo rmps - amend last commit, speeding up dragging of audio-locked meters quite...
nick_m [Thu, 24 Mar 2016 11:17:59 +0000 (22:17 +1100)]
Tempo rmps - amend last commit, speeding up dragging of audio-locked meters quite a bit.

7 years agoTempo ramps - minor cleanup.
nick_m [Thu, 24 Mar 2016 11:09:48 +0000 (22:09 +1100)]
Tempo ramps - minor cleanup.

7 years agoTempo ramps - complete 'music locked meters are now positioned using beats' transition.
nick_m [Thu, 24 Mar 2016 08:42:28 +0000 (19:42 +1100)]
Tempo ramps - complete 'music locked meters are now positioned using beats' transition.

7 years agoTempo ramps - small bug fixes/cleanup.
nick_m [Wed, 23 Mar 2016 15:55:59 +0000 (02:55 +1100)]
Tempo ramps - small bug fixes/cleanup.

7 years agoTempo ramps - various bug fixes (meter drag undo, incorrect copy)
nick_m [Tue, 22 Mar 2016 17:55:12 +0000 (04:55 +1100)]
Tempo ramps - various bug fixes (meter drag undo, incorrect copy)

7 years agoTempo ramps - music-locked meters now use beats rather than pulses as their reference.
nick_m [Tue, 22 Mar 2016 14:11:00 +0000 (01:11 +1100)]
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.

7 years agoTempo ramps - clean up negative beat handling in beats_to_bbt_locked ()
nick_m [Mon, 21 Mar 2016 15:55:24 +0000 (02:55 +1100)]
Tempo ramps - clean up negative beat handling in beats_to_bbt_locked ()

7 years agoTempo ramps - fix crash with simplest case.
nick_m [Mon, 21 Mar 2016 15:24:04 +0000 (02:24 +1100)]
Tempo ramps - fix crash with simplest case.

7 years agoTempo ramps - fix compilation
nick_m [Mon, 21 Mar 2016 13:40:23 +0000 (00:40 +1100)]
Tempo ramps - fix compilation

7 years agoTempo ramps - show grid when dragging first meter.
nick_m [Mon, 21 Mar 2016 13:21:18 +0000 (00:21 +1100)]
Tempo ramps - show grid when dragging first meter.

7 years agoTempo ramps - improve music-locked meter drags, improve dump().
nick_m [Mon, 21 Mar 2016 12:47:57 +0000 (23:47 +1100)]
Tempo ramps - improve music-locked meter drags, improve dump().

- dump now shows cross-calculation of tempo positions.

7 years agoTempo ramps - fix constant tempos (again).
nick_m [Sun, 20 Mar 2016 12:31:44 +0000 (23:31 +1100)]
Tempo ramps - fix constant tempos (again).

7 years agoTempo ramps - remove double calls to RegionView::set_duration() and MidiRegionView...
nick_m [Sun, 20 Mar 2016 10:57:44 +0000 (21:57 +1100)]
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,

7 years agoTempo ramps - code cleanup
nick_m [Sun, 20 Mar 2016 09:22:34 +0000 (20:22 +1100)]
Tempo ramps - code cleanup

7 years agoTempo ramps - allow moving the first meter if audio locked.
nick_m [Sat, 19 Mar 2016 14:03:10 +0000 (01:03 +1100)]
Tempo ramps - allow moving the first meter if audio locked.

- strangely broken wrt the grid, but kind-of works.

7 years agoTempo ramps - fix incorrect handling of unsloveable maps.
nick_m [Sat, 19 Mar 2016 13:27:27 +0000 (00:27 +1100)]
Tempo ramps - fix incorrect handling of unsloveable maps.

7 years agoTempo ramps - respect tempo note type and meter note divisor correctly.
nick_m [Sat, 19 Mar 2016 12:44:40 +0000 (23:44 +1100)]
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.

7 years agoTempo ramps - fix erroneous tempo_at_frame(), use correct type for offsets.
nick_m [Sun, 13 Mar 2016 18:26:34 +0000 (05:26 +1100)]
Tempo ramps - fix erroneous tempo_at_frame(), use correct type for offsets.

7 years agoTempo ramps - midi notes resize when dragged, misc bug fixes.
nick_m [Sun, 13 Mar 2016 17:09:53 +0000 (04:09 +1100)]
Tempo ramps - midi notes resize when dragged, misc bug fixes.

7 years agoTempo ramps - snap uses audio-locked meter offsets.
nick_m [Sun, 13 Mar 2016 14:47:55 +0000 (01:47 +1100)]
Tempo ramps - snap uses audio-locked meter offsets.

- fixes much of the fallout from the previous commit.

7 years agoTempo ramps - hook up tempo display, a new approach to audio-locked meters
nick_m [Sat, 12 Mar 2016 20:20:16 +0000 (07:20 +1100)]
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.

7 years agoTempo ramps - new (old) map solving strategy.
nick_m [Mon, 7 Mar 2016 23:21:02 +0000 (10:21 +1100)]
Tempo ramps - new (old) map solving strategy.