Commit Graph

145 Commits

Author SHA1 Message Date
Jonathan Moore Liles b3d2cf94a1 Un-unify tempo and time sequences...
Add an update_tempomap() method to Timeline instead, which must be
called every time the time or tempo tracks are edited. This is perhaps as
ugly as the unified map was, but is at least a bit more compatible with
the possibility of moving all the meat of tempomapping into a library.
2008-05-14 16:50:31 -05:00
Jonathan Moore Liles 577f0bd1d0 Improve tick calculation. 2008-05-14 16:31:42 -05:00
Jonathan Moore Liles 682645f2e1 Add (possibly bogus) timebase callback. 2008-05-14 16:31:42 -05:00
Jonathan Moore Liles b5c5a01fd9 Fix measure line drawing. 2008-05-14 16:31:07 -05:00
Jonathan Moore Liles 558430847c Fix beat and tick calcualtion. 2008-05-14 16:31:06 -05:00
Jonathan Moore Liles 1cd36adce8 Improve tempomap rendering. 2008-05-14 16:31:05 -05:00
Jonathan Moore Liles 4f52567504 Simplify and improve tempomap, measure line drawing and snapping. 2008-05-14 16:31:05 -05:00
Jonathan Moore Liles 974618863b Improve the measure line drawing routine. 2008-05-14 16:30:09 -05:00
Jonathan Moore Liles 62625f35f7 Improve drawing of unified tempomap. 2008-05-14 16:26:23 -05:00
Jonathan Moore Liles 6dd66f328f Include tick ibn BBT info. 2008-05-13 16:38:13 -05:00
Jonathan Moore Liles 9bb119e0b5 Get BBT info right. 2008-05-13 16:16:14 -05:00
Jonathan Moore Liles d4d5c17e44 Work on actually rendering tempo map into BBT info. 2008-05-13 03:31:25 -05:00
Jonathan Moore Liles 30b4c1bb4b Try to be more accurate in drawing measure lines. 2008-05-12 23:38:36 -05:00
Jonathan Moore Liles 50897c6cd7 Clean up snap behavior. 2008-05-12 23:38:05 -05:00
Jonathan Moore Liles f41f23c306 Oops. Fix draw_measure's use of renamed sequence widget properties. 2008-05-12 10:14:35 -05:00
Jonathan Moore Liles fc99144548 Work on making peak streaming work again. 2008-05-10 20:10:16 -05:00
Jonathan Moore Liles 9df497a50a Fixup tempo/time points, which were broken by recent renaming. 2008-05-07 17:55:01 -05:00
Jonathan Moore Liles a57db305f2 Symbol name cleanup. 2008-05-07 11:18:57 -05:00
Jonathan Moore Liles 281607550b Oops. Actually ignore modifiers for timeline keys. 2008-05-06 18:38:55 -05:00
Jonathan Moore Liles b3c3a3956b Use stricter shortcut for timeline context menu. 2008-05-05 22:00:30 -05:00
Jonathan Moore Liles f9d93f4307 Small hack to fix one-pixel size difference when there are no annotation tracks. 2008-05-05 21:56:26 -05:00
Jonathan Moore Liles 4947278da5 Fix scrolling positon consistency problem. 2008-05-05 18:49:18 -05:00
Jonathan Moore Liles c3a20870f7 Big fix for loggability which was broken by the previous attempt at making Time and Tempo sequences unlogged. 2008-05-05 00:29:39 -05:00
Jonathan Moore Liles 42a1983116 Allow each track to contain multiple Annotation_Sequences. 2008-05-04 18:52:24 -05:00
Jonathan Moore Liles f16bbb1ab6 Rename Ruler_* to Annotation_* 2008-05-04 17:32:08 -05:00
Jonathan Moore Liles aef0d1c6b1 Minor cleanup. 2008-05-03 18:44:28 -05:00
Jonathan Moore Liles 951c1ca23b Hack to make Time, Tempo, and Ruler sequences unjournaled to simplify session teardown. 2008-05-03 18:25:59 -05:00
Jonathan Moore Liles 4b51c8f82a Make zoom follow mouse. 2008-05-02 21:17:34 -05:00
Jonathan Moore Liles 6bb756d4dc Adapt snapping code to use the new measure line rendering code. 2008-05-02 20:48:16 -05:00
Jonathan Moore Liles 0645c0ebbf Make zoom-fit menu item work. 2008-05-02 18:03:44 -05:00
Jonathan Moore Liles 0da462b62d Make zoom to time work again. 2008-05-02 17:34:43 -05:00
Jonathan Moore Liles 013dbe26f9 Don't popup timeline menu on right-click if any modifiers are active. 2008-05-02 01:01:35 -05:00
Jonathan Moore Liles c8bb330e8e Try to clean up region dragging. 2008-05-02 00:52:50 -05:00
Jonathan Moore Liles 900bfdebb0 Fix invalid read reported by valgrind. 2008-05-01 20:21:35 -05:00
Jonathan Moore Liles 68f924ab1b Add more xruns info to the GUI. 2008-05-01 06:35:42 -05:00
Jonathan Moore Liles 821a3feedc Quit using FLTK's weird DND system for inter-track drags. 2008-05-01 04:47:37 -05:00
Jonathan Moore Liles aba6910629 Make playhead centering optional and disable it while recording. 2008-05-01 01:47:49 -05:00
Jonathan Moore Liles 8e791e2cd9 Improve the way Sequence_Points are drawn. 2008-04-30 23:24:20 -05:00
Jonathan Moore Liles 34400df589 Attempt to draw measure lines with a more efficient incremental algorithm. 2008-04-30 19:24:47 -05:00
Jonathan Moore Liles 323a913cf1 Minor adjustment to scrolling. 2008-04-30 01:17:07 -05:00
Jonathan Moore Liles 7c516615d8 Don't automatically create a control track for each new track. 2008-04-29 20:12:35 -05:00
Jonathan Moore Liles 98afd445ed Add "Follow Playhead" option. 2008-04-29 20:08:49 -05:00
Jonathan Moore Liles b307642224 Incrementally redraw as peaks become available. 2008-04-29 19:38:28 -05:00
Jonathan Moore Liles 707e898d36 Add Select None option to the GUI. 2008-04-29 16:16:09 -05:00
Jonathan Moore Liles c464c73ab9 Improve the way sequence widgets are selected. 2008-04-29 15:47:03 -05:00
Jonathan Moore Liles 95f8a8905a Fix errors found by valgrind. 2008-04-28 11:48:35 -05:00
Jonathan Moore Liles 9f95f2b910 Get vertical scrolling right. 2008-04-28 00:11:47 -05:00
Jonathan Moore Liles f7514d2fcf Redraw timeline background properly when scrolling. 2008-04-27 23:42:05 -05:00
Jonathan Moore Liles 193c24bd37 Add option for magnetic snapping. 2008-04-27 13:56:20 -05:00
Jonathan Moore Liles 96051065db Continue cleaning up scrolling issues. 2008-04-27 13:44:20 -05:00
Jonathan Moore Liles d3ac3b5d5a Minor opt. 2008-04-27 11:01:55 -05:00
Jonathan Moore Liles 146126f2af Enforce power of two zoom levels. 2008-04-27 10:45:49 -05:00
Jonathan Moore Liles fb5f111167 Clean up zooming/horizontal scrolling. 2008-04-27 08:37:50 -05:00
Jonathan Moore Liles bbc4376ee2 Hack a fix for drag scrolling. 2008-04-27 07:34:33 -05:00
Jonathan Moore Liles ad756bc1b2 Don't fake sample rate. 2008-04-27 07:04:37 -05:00
Jonathan Moore Liles 28d1b4754b Minor costmetic cleanup. 2008-04-27 05:33:26 -05:00
Jonathan Moore Liles acc1283e31 Fix exectution order in timeline redraw.
This fixes the issue where scrolling with the mouse wheel while
the cursor was over a sequence widget would cause the widget
to a appear to jump.
2008-04-27 02:18:03 -05:00
Jonathan Moore Liles 754aa55af4 Clean up some focus and display issues. 2008-04-26 22:50:58 -05:00
Jonathan Moore Liles 8e1bc189e6 Make snap type configurable. 2008-04-26 11:07:43 -05:00
Jonathan Moore Liles 07b193c9c5 Make mark labels editable. 2008-04-26 07:37:25 -05:00
Jonathan Moore Liles c4812d0ade Don't forget to journal random color picked at track creation. 2008-04-26 07:07:39 -05:00
Jonathan Moore Liles 55a1e60484 Add marks to ruler. 2008-04-26 06:58:50 -05:00
Jonathan Moore Liles 24bbc24e16 Replace lost return statement. 2008-04-26 05:24:09 -05:00
Jonathan Moore Liles 0f162df41f Hack fix for misresizing of timeline scrollbars. 2008-04-26 05:17:47 -05:00
Jonathan Moore Liles 1a89c40d7b Permit user to pick track color. Journal track color. 2008-04-26 03:42:44 -05:00
Jonathan Moore Liles 6b97c912eb Fig logging for captures. 2008-04-25 02:35:55 -05:00
Jonathan Moore Liles 63ebacb872 Massive consting. 2008-04-25 01:34:08 -05:00
Jonathan Moore Liles bb2cd56561 Make measure line drawing optional. 2008-04-24 21:48:44 -05:00
Jonathan Moore Liles ffd4dc26a8 Add support for additional cursors. 2008-04-23 21:23:29 -05:00
Jonathan Moore Liles 2e7fab494a Actiavte compaction menu option. 2008-04-23 17:29:14 -05:00
Jonathan Moore Liles 2dd18e842f Activate a number of entries in the menu. 2008-04-23 15:56:33 -05:00
Jonathan Moore Liles 90e263719a Fix ruler resizing. 2008-04-23 01:33:21 -05:00
Jonathan Moore Liles a7483f7c2d Refine the playhead. 2008-04-23 01:01:32 -05:00
Jonathan Moore Liles 8622209fe1 Actually update buffer and dsp percentages in GUI. 2008-04-23 00:35:49 -05:00
Jonathan Moore Liles f8ce7eab64 Clean up some edge conditions with sequence drawing/scrolling. 2008-04-22 22:40:31 -05:00
Jonathan Moore Liles d85cc1c61c Work on adding the rest of the GUI. 2008-04-22 21:53:46 -05:00
Jonathan Moore Liles ce2b1e02ed Add transport controls to the GUI. 2008-04-22 12:24:30 -05:00
Jonathan Moore Liles 0a6a6b4a0a Add bindings to stop, start, and zero transport. 2008-04-21 21:15:32 -05:00
Jonathan Moore Liles 2a7f14870c Allow moving the playhead to the mouse position with 'p' press. 2008-04-21 20:14:43 -05:00
Jonathan Moore Liles 23aeefb5d6 Try to get session loading up and running. 2008-04-20 16:46:47 -05:00
Jonathan Moore Liles 77ff82e9f4 Make the playhead more visible. 2008-04-19 00:30:41 -05:00
Jonathan Moore Liles ed813d0c03 Name newly created tracks. 2008-04-19 00:09:42 -05:00
Jonathan Moore Liles e54f63e605 Massive renames. 2008-04-18 23:22:49 -05:00
Jonathan Moore Liles d316e8772c Permit adding of tracks from GUI. 2008-04-18 21:26:27 -05:00
Jonathan Moore Liles 793fb05176 Work on making journal replay at startup. 2008-04-18 20:05:57 -05:00
Jonathan Moore Liles 714fc8766c Crudely begin to support drawing of timecodes on ruler. 2008-04-18 15:18:07 -05:00
Jonathan Moore Liles fbb4b17dca Split Disk_Stream into a base class and Playback_DS and Record_DS. 2008-04-16 06:30:04 -05:00
Jonathan Moore Liles a10d86ecfd Allow timeline widget to take keyboard focus and pass keyboard events on to children. 2008-04-15 02:13:22 -05:00
Jonathan Moore Liles ebc3f8db92 Don't redraw playhead more than necessary. 2008-04-12 19:02:58 -05:00
Jonathan Moore Liles 61c5707d01 Improve bounaries of playhead drawing. 2008-04-12 16:47:33 -05:00
Jonathan Moore Liles afe06f59e9 Add playhead to the GUI. 2008-04-12 14:50:36 -05:00
Jonathan Moore Liles 904daf8fe4 Work on making diskstreams follow the transport. 2008-04-12 14:17:01 -05:00
Jonathan Moore Liles 7f43a99030 Actually get playback through JACK, kind of. 2008-04-08 19:05:15 -05:00
Jonathan Moore Liles 0dff4be584 Continue working on engine functionality. 2008-04-08 15:06:38 -05:00
Jonathan Moore Liles c415fe9680 Begin rearranging. 2008-03-19 22:13:27 -05:00