Commit Graph

378 Commits

Author SHA1 Message Date
Jonathan Moore Liles a81b174b90 Add additional version to project info. 2008-05-06 23:42:06 -05:00
Jonathan Moore Liles 9ed5394e5d Clean up some event handlig breakage from sequence region split. 2008-05-06 22:00:32 -05:00
Jonathan Moore Liles 9aa52f3e18 Fix memory leaks reported by valgrind. 2008-05-06 21:42:36 -05:00
Jonathan Moore Liles f927e39681 Handle top-level path pop. 2008-05-06 21:01:24 -05:00
Jonathan Moore Liles adf0ca22f3 Hack to make annotation pack visable. 2008-05-06 21:01:03 -05:00
Jonathan Moore Liles 42e0e380bd Destroy sequence contents in sequence destructor.
Destroy loggables in correct order.
2008-05-06 21:00:36 -05:00
Jonathan Moore Liles 1318ba3c3a Also deregister control ports during track destruction. 2008-05-06 20:03:08 -05:00
Jonathan Moore Liles c0803df843 Close project before creating new one. 2008-05-06 19:58:34 -05:00
Jonathan Moore Liles 767aa44b7c Save version and sample rate with project. 2008-05-06 19:41:07 -05:00
Jonathan Moore Liles 281607550b Oops. Actually ignore modifiers for timeline keys. 2008-05-06 18:38:55 -05:00
Jonathan Moore Liles c413255e4a s/Session/Project/ig 2008-05-06 18:33:24 -05:00
Jonathan Moore Liles 45aeb9ad89 Fix menu settings loader when operating at close to depth 0. 2008-05-06 15:35:08 -05:00
Jonathan Moore Liles 56ce6caed3 Save and load per session timeline settings.
Always select a default capture format.
2008-05-06 15:15:12 -05:00
Jonathan Moore Liles ed2e8e3f69 Only dump one top-level submenu. 2008-05-06 13:10:22 -05:00
Jonathan Moore Liles 11e11d97b2 Always terminate escape return string. 2008-05-06 00:34:46 -05:00
Jonathan Moore Liles a373535c75 Clean up some messages. 2008-05-05 23:39:31 -05:00
Jonathan Moore Liles 31e40639d2 Update menubar entires to reflect session state. 2008-05-05 23:33:41 -05:00
Jonathan Moore Liles 2881479cc2 Fix invalid read found by valgrind. 2008-05-05 23:25:05 -05:00
Jonathan Moore Liles 614f716726 Activate Open item in session menu. 2008-05-05 22:50:57 -05:00
Jonathan Moore Liles 4cb087c81a Properly free ports at Track destruction. 2008-05-05 22:24:43 -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 8677b76201 Cleanup. 2008-05-05 20:04:48 -05:00
Jonathan Moore Liles 982eed82e4 Don't begin a drag when annotations are edited! 2008-05-05 19:01:01 -05:00
Jonathan Moore Liles 4947278da5 Fix scrolling positon consistency problem. 2008-05-05 18:49:18 -05:00
Jonathan Moore Liles 89d64f66e4 Try to fix some issues with journal replay and compaction. 2008-05-05 18:24:21 -05:00
Jonathan Moore Liles 03cd2a1c45 Fix error in order of destruction for annotation_*. 2008-05-05 14:50:06 -05:00
Jonathan Moore Liles 8b1dea33a6 Only draw first line of annotation text on timeline view. 2008-05-05 13:37:54 -05:00
Jonathan Moore Liles 1025201398 Escape/unescape newlines in string parameters of journal messages. 2008-05-05 13:35:04 -05:00
Jonathan Moore Liles 35bb316a02 Use text edit window widget for annotation region. 2008-05-05 12:19:01 -05:00
Jonathan Moore Liles 03a6e80a48 Add omitted annoation region source files! 2008-05-05 11:24:54 -05:00
Jonathan Moore Liles 2824882d47 Fix fluid file build problem. 2008-05-05 00:42:26 -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 d510b21f7f Allow Annotation_Points and Annotation_Regions to co-exist on the same sequence. 2008-05-04 21:05:20 -05:00
Jonathan Moore Liles 875ff62c8a Split Region into Audio_Region and Sequence_Region base class. 2008-05-04 19:56:07 -05:00
Jonathan Moore Liles 33d78a726a Rename Region class to Audio_Region 2008-05-04 19:04:20 -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 f34496f703 Keep VERSION in Makefile 2008-05-04 17:20:38 -05:00
Jonathan Moore Liles 727b256b4b Output journal snapshot as a single transaction. 2008-05-04 02:35:35 -05:00
Jonathan Moore Liles 594f711533 Make new session dialog actually work. 2008-05-04 02:32:54 -05:00
Jonathan Moore Liles 5ca4efe837 Break session loading/creation code out into its own file. 2008-05-04 02:10:15 -05:00
Jonathan Moore Liles 25aea13004 Improve new session dialog. 2008-05-03 20:28:36 -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 af523475c4 Work on making system reset possible. 2008-05-03 17:50:32 -05:00
Jonathan Moore Liles 5f4fd49867 Minor cleanups. 2008-05-03 11:46:48 -05:00
Jonathan Moore Liles 4feb8d6a9a Bring debugging messages over from Non-Sequencer.
Begin to support session directories.

Show session name in TLE.
2008-05-02 23:44:48 -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 61f3d56611 Allow the user to add/edit tempo points. 2008-05-02 15:02:24 -05:00
Jonathan Moore Liles 595100be8e Give each sequence type its own default cursor.
Use a cross-hair cursor for control sequences.
2008-05-02 06:42:50 -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 0f402d0851 Avoid unnecessary copying in Record_DS as well. 2008-05-01 23:12:51 -05:00
Jonathan Moore Liles 14a891e462 Attempt to get rid of missing samples in playback for good. 2008-05-01 21:19:12 -05:00
Jonathan Moore Liles ea057edddc Quiet uninitialized value warning from valgrind. 2008-05-01 20:24:45 -05:00
Jonathan Moore Liles 900bfdebb0 Fix invalid read reported by valgrind. 2008-05-01 20:21:35 -05:00
Jonathan Moore Liles f17dac7c87 Fix idexing errors in playback ringbuffer stuffing. 2008-05-01 19:42:01 -05:00
Jonathan Moore Liles bdd9dc56e4 Try to get captures to begin and end on the proper frame. 2008-05-01 18:35:46 -05:00
Jonathan Moore Liles 68f924ab1b Add more xruns info to the GUI. 2008-05-01 06:35:42 -05:00
Jonathan Moore Liles 1b51531bc5 Check for termination status AFTER awaking up, rather than BEFORE going to sleep. 2008-05-01 06:35:11 -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 84a2bdcb17 Switch to single makefile. 2008-05-01 03:13:40 -05:00
Jonathan Moore Liles 9814d34ac6 Make region normalization possible again. 2008-05-01 02:13:58 -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 84af307881 Move audio specific sequence code into Audio_Sequence class. 2008-05-01 01:31:33 -05:00
Jonathan Moore Liles 7a1fb271d4 Always show selected control points. 2008-05-01 00:29:46 -05:00
Jonathan Moore Liles 01fa14f04c Chnage the way control points are drawn. 2008-05-01 00:26:57 -05:00
Jonathan Moore Liles 8e791e2cd9 Improve the way Sequence_Points are drawn. 2008-04-30 23:24:20 -05:00
Jonathan Moore Liles 2bec4b16f1 Enhance the way sequence widget labels are drawn. 2008-04-30 19:57:11 -05:00
Jonathan Moore Liles 80005dcf89 Enhance the way sequence points are drawn. 2008-04-30 19:38:49 -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 0af8d7e124 Try to avoid excessive drawing. 2008-04-30 01:40:33 -05:00
Jonathan Moore Liles 323a913cf1 Minor adjustment to scrolling. 2008-04-30 01:17:07 -05:00
Jonathan Moore Liles e7ab9a3727 Fix problem interaction between waveform outlines and scrolling. 2008-04-30 01:09:50 -05:00
Jonathan Moore Liles 1b5cac563b Make extra disk buffering optional. 2008-04-29 23:42:28 -05:00
Jonathan Moore Liles 4756fe3361 Oops. Create new captures with the right samplerate! 2008-04-29 23:29:09 -05:00
Jonathan Moore Liles f596d205db Read from disk in larger chunks. 2008-04-29 23:15:58 -05:00
Jonathan Moore Liles 7793863d46 Output silence when stopped. 2008-04-29 21:46: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 95b7fab478 Fix capture alignment problem. 2008-04-29 19:07:14 -05:00
Jonathan Moore Liles c99b2f1424 Try harder to avoid redrawing capture regions. 2008-04-29 18:48:11 -05:00
Jonathan Moore Liles 981f92bc69 Don't forget to initialize xrun count. 2008-04-29 16:18:47 -05:00
Jonathan Moore Liles 707e898d36 Add Select None option to the GUI. 2008-04-29 16:16:09 -05:00
Jonathan Moore Liles 5293eae6d9 Draw selected control points in selection color. 2008-04-29 15:57:52 -05:00
Jonathan Moore Liles 458bb7cc05 Improve selection movement for control points. 2008-04-29 15:54:41 -05:00
Jonathan Moore Liles c464c73ab9 Improve the way sequence widgets are selected. 2008-04-29 15:47:03 -05:00
Jonathan Moore Liles 221e66d91a Don't bother interpolating for disconnected control tracks. 2008-04-29 13:30:54 -05:00
Jonathan Moore Liles 7452987e05 Oops. Fix recursive typo in xrun callback. 2008-04-29 12:37:40 -05:00
Jonathan Moore Liles 55e1c3546f Fix a small problem with track header resizing. 2008-04-29 12:35:45 -05:00
Jonathan Moore Liles a213dd2c66 Add xrun display to GUI. 2008-04-29 12:18:27 -05:00
Jonathan Moore Liles 1fae0b89d7 Optimize control point interpolation. 2008-04-28 21:33:35 -05:00
Jonathan Moore Liles f168b90e07 Play with curve interpolation. 2008-04-28 20:06:45 -05:00
Jonathan Moore Liles 311daf498c Oops. Can't pass a pointer to an element of std::vector! 2008-04-28 14:04:16 -05:00
Jonathan Moore Liles 11f420a1a4 Allow renaming of control sequences. 2008-04-28 13:17:46 -05:00
Jonathan Moore Liles 95f8a8905a Fix errors found by valgrind. 2008-04-28 11:48:35 -05:00
Jonathan Moore Liles e637da4b77 Attempt to create control output ports properly. 2008-04-28 11:19:25 -05:00
Jonathan Moore Liles a77e7a708c Actually generate CV output for control sequences. 2008-04-28 09:20:17 -05:00
Jonathan Moore Liles 4af2a85cc7 Don't eat all keys in region input handler. 2008-04-28 03:33:22 -05:00
Jonathan Moore Liles 0eb8babb3e Fix interaction between shortcut handling and multiple undo. 2008-04-28 03:29:59 -05:00
Jonathan Moore Liles 21e8fab30f Add GPL header. 2008-04-28 01:34:33 -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 5a4cb046d0 Refine transport controls. 2008-04-27 16:08:30 -05:00
Jonathan Moore Liles 6bcadabe8d Clean up logic in control sequence display options. 2008-04-27 14:37:52 -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 ae9e52ac77 Minor cosmetic. 2008-04-27 07:04:56 -05:00
Jonathan Moore Liles ad756bc1b2 Don't fake sample rate. 2008-04-27 07:04:37 -05:00
Jonathan Moore Liles 46e7378cb4 Use the background color for sequences. 2008-04-27 05:41:53 -05:00
Jonathan Moore Liles 28d1b4754b Minor costmetic cleanup. 2008-04-27 05:33:26 -05:00
Jonathan Moore Liles d7b8ecc591 Try to improve appearance with new 'crystal' boxtypes. 2008-04-27 05:18:03 -05:00
Jonathan Moore Liles 63ce948a8e Blend region color against track base. 2008-04-27 02:24:13 -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 78175d1d64 Dim some currently unimplemented menu items. 2008-04-27 02:10:37 -05:00
Jonathan Moore Liles 3b4dae6049 Add about dialog. 2008-04-27 02:07:16 -05:00
Jonathan Moore Liles 326192c214 Fix right-aligned sequence widget label drawing for scrolling. 2008-04-27 00:59:07 -05:00
Jonathan Moore Liles afa0a690bc Work on cleaning up scrolling bounardy conditions (not done). 2008-04-27 00:25:46 -05:00
Jonathan Moore Liles 6d2521312e Fix math error in fade application. 2008-04-27 00:25:34 -05:00
Jonathan Moore Liles 754aa55af4 Clean up some focus and display issues. 2008-04-26 22:50:58 -05:00
Jonathan Moore Liles 82ada52b71 Fix error in quote parsing of log entries. 2008-04-26 21:45:24 -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 2ccae56fb1 Correct indexing error in peakfile reader. 2008-04-26 06:20:02 -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 155b9464c2 Work around the fact that Fl::get_system_colors() only works once. 2008-04-26 05:11:19 -05:00
Jonathan Moore Liles d178a08152 Refine track colors. 2008-04-26 04:01:54 -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 7e36e037dc Fix options load/save which was broken by capture format menu. 2008-04-26 03:42:30 -05:00
Jonathan Moore Liles d426aac08d Avoid opening libsndfile sources in RDWR mode (doesn't work with FLAC) 2008-04-26 01:33:44 -05:00
Jonathan Moore Liles 7980d4b147 Lock timeline when deleting widgets... 2008-04-26 01:33:00 -05:00
Jonathan Moore Liles a32f8ca17a Allow the user to choose capture format. 2008-04-26 00:33:04 -05:00
Jonathan Moore Liles 783ba38120 Begin to make tracks removable. 2008-04-25 16:35:51 -05:00
Jonathan Moore Liles 7f1055e845 Don't redraw capture regions so often. 2008-04-25 03:14:13 -05:00
Jonathan Moore Liles 6b97c912eb Fig logging for captures. 2008-04-25 02:35:55 -05:00
Jonathan Moore Liles ef0851b426 Draw capture in red. 2008-04-25 02:07:18 -05:00
Jonathan Moore Liles 4bee9a7053 Darken inactive objects on the timeline. 2008-04-25 01:58:08 -05:00
Jonathan Moore Liles 63ebacb872 Massive consting. 2008-04-25 01:34:08 -05:00