Commit Graph

606 Commits

Author SHA1 Message Date
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
Jonathan Moore Liles d87b35c4e0 Make mute and solo buttons work. 2008-04-25 00:15:08 -05:00
Jonathan Moore Liles 6b40c32ce8 Connect secondary clock to playhead. 2008-04-24 23:36:02 -05:00
Jonathan Moore Liles c4288aebe6 Make control points appear when mouse passes over control sequence. 2008-04-24 22:29:28 -05:00
Jonathan Moore Liles 79d60d7ea6 Automatically save/restore options. 2008-04-24 22:15:17 -05:00
Jonathan Moore Liles 0d56c07a1d Fix off-by-one in sequence drawing. 2008-04-24 21:52:00 -05:00
Jonathan Moore Liles bb2cd56561 Make measure line drawing optional. 2008-04-24 21:48:44 -05:00
Jonathan Moore Liles 031f279eb2 Make menu loader work for radio buttons. 2008-04-24 21:37:20 -05:00
Jonathan Moore Liles fbbd5e1582 Make settings loader work. 2008-04-24 20:50:27 -05:00
Jonathan Moore Liles 050a336abb Work on STD parser for settings loading. 2008-04-24 18:45:50 -05:00
Jonathan Moore Liles f4a35bd519 Clean up menu dumping code. 2008-04-24 16:09:17 -05:00
Jonathan Moore Liles e720a06ad0 Work on saving/loading of settings. 2008-04-24 15:52:30 -05:00
Jonathan Moore Liles 80d2466c6f Add more clock types. 2008-04-24 02:27:49 -05:00
Jonathan Moore Liles dfe953c6df Don't attempt to redraw a parent that doesn't exist yet. 2008-04-24 02:08:23 -05:00
Jonathan Moore Liles ffd4dc26a8 Add support for additional cursors. 2008-04-23 21:23:29 -05:00
Jonathan Moore Liles b609a6f727 Clean up main layout.. 2008-04-23 21:10:20 -05:00
Jonathan Moore Liles 05ebbc073b Clean up compaction code. 2008-04-23 19:33:44 -05:00
Jonathan Moore Liles 2e7fab494a Actiavte compaction menu option. 2008-04-23 17:29:14 -05:00
Jonathan Moore Liles ba07b64e3d Try to straighten out the sequence label issue. 2008-04-23 16:00:51 -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 e97435d3e7 Always keep Sequence_Points sorted. 2008-04-23 11:02:42 -05:00
Jonathan Moore Liles 173aeeae82 Refine control sequence drawing code. 2008-04-23 10:41:35 -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 6cc26446b6 Show hundredths of seconds in HMS clock. 2008-04-22 23:54:03 -05:00
Jonathan Moore Liles 73282bbf4d Fix printf format in clock code. 2008-04-22 23:39:08 -05:00
Jonathan Moore Liles fd9667ea25 Give Clock the ability to update itself. 2008-04-22 23:27:55 -05:00
Jonathan Moore Liles db5febb64e Don't do anything if nothing was picked from track context menu. 2008-04-22 23:18:00 -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 a826f1533e Add 'end' button to transport group. 2008-04-22 17:38:59 -05:00
Jonathan Moore Liles 8aa8005782 Refine clock. 2008-04-22 17:07:25 -05:00
Jonathan Moore Liles ad1462d61d Add clock widget. 2008-04-22 16:23:23 -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 78a3399260 Add draw with grid option to control sequence class. 2008-04-21 19:45:17 -05:00
Jonathan Moore Liles 1bfdd8e568 Add gradient option for control sequence drawing. 2008-04-21 18:45:54 -05:00
Jonathan Moore Liles c315194435 Make control+right-click deletion work for regions again. 2008-04-21 17:39:11 -05:00
Jonathan Moore Liles b199cfadd8 Allow track channel configuration to be adjusted in the GUI. 2008-04-21 15:24:08 -05:00
Jonathan Moore Liles c4532c70d7 Fix (I think) a math error in fade out application. 2008-04-21 14:16:12 -05:00
Jonathan Moore Liles b0dc6b0dc8 Add a scope locker. 2008-04-21 13:53:02 -05:00
Jonathan Moore Liles 8a0da04a4b Restart diskstreams when track I/O is reconfigured. 2008-04-21 13:34:15 -05:00
Jonathan Moore Liles 9ce8701283 Actually rename ports when appropriate. Journal track I/O configuration. 2008-04-21 13:01:03 -05:00
Jonathan Moore Liles 604bf2861a Make fade-in/outs journaled. 2008-04-21 10:31:25 -05:00
Jonathan Moore Liles f05f6026de Add Fl_Sometimes_Input widget and use it for Track names. 2008-04-21 09:57:30 -05:00
Jonathan Moore Liles 543d9e4432 Work on restorability of tracks. 2008-04-20 22:05:25 -05:00
Jonathan Moore Liles 4160721c65 Avoid snapshotting uncreatable loggable classes. 2008-04-20 19:45:58 -05:00
Jonathan Moore Liles 8a927c8876 Cleanups. 2008-04-20 19:28:59 -05:00
Jonathan Moore Liles 212dc3e3ea Fix journaling for control points. 2008-04-20 19:28:50 -05:00
Jonathan Moore Liles 66bd927231 Fix typo in region state getter. 2008-04-20 18:22:24 -05:00
Jonathan Moore Liles 8aa07ba9df Add ommited file types.h. 2008-04-20 16:47:53 -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 5f662f3913 Get undo working again. 2008-04-20 11:42:26 -05:00
Jonathan Moore Liles 300c6c3726 Massively rework loggable interface. 2008-04-19 21:15:54 -05:00
Jonathan Moore Liles f3e781762c Allow IO thread to be started/stopped more than once. 2008-04-19 14:24:26 -05:00
Jonathan Moore Liles d3fcb162f3 Give each capture a unique name. 2008-04-19 14:21:49 -05:00
Jonathan Moore Liles 77ff82e9f4 Make the playhead more visible. 2008-04-19 00:30:41 -05:00
Jonathan Moore Liles 77ac8a2c8e Create track ports with the proper names. 2008-04-19 00:26:43 -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 feb777a050 Get rid of useless Region_Base class. 2008-04-18 21:29:15 -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 24fe463579 Move region writing code into region class. 2008-04-17 22:44:19 -05:00
Jonathan Moore Liles e7c2ac9ecd Begin to support waveform display during capture. 2008-04-17 19:26:46 -05:00
Jonathan Moore Liles ce69a3b8f0 Cleanup and begin keeping chunksize in peakfile name. 2008-04-17 17:12:38 -05:00
Jonathan Moore Liles e7b893ca24 Get rid of peakfile headers... Who needs 'em. 2008-04-17 15:37:38 -05:00
Jonathan Moore Liles 99e93c575e Stream peaks to disk during capture. 2008-04-17 14:19:41 -05:00
Jonathan Moore Liles ed9a1aaf5b Optimize waveform drawing some. 2008-04-17 12:04:55 -05:00
Jonathan Moore Liles e86123de78 Improve peak reading efficiency. 2008-04-17 11:30:20 -05:00
Jonathan Moore Liles 1b5459fe2b Don't waste time deinterleaving peaks. 2008-04-17 11:12:22 -05:00
Jonathan Moore Liles 9cbc39addd Only fork for peak building when necessary. 2008-04-17 10:59:02 -05:00
Jonathan Moore Liles c8b872ae41 Don't attempt to draw more peaks than were actually read! 2008-04-17 10:45:36 -05:00
Jonathan Moore Liles 4543d48c41 Fix a number of problems with region drawing. 2008-04-17 10:35:20 -05:00
Jonathan Moore Liles 55b2907aec WIP 2008-04-17 10:19:04 -05:00
Jonathan Moore Liles 3b40b8a093 Fix some bugs in peak reading/drawing. 2008-04-17 08:27:35 -05:00
Jonathan Moore Liles 642d6d48ea Handle empty peak file as error. 2008-04-16 13:23:34 -05:00
Jonathan Moore Liles 72a203d18b Fix a number of errors turned up by valgrind. Import new captures. 2008-04-16 13:08:00 -05:00
Jonathan Moore Liles 4684094f6f Work on improving recording. 2008-04-16 10:35:25 -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 fc2ed291aa Optimize fade calculations. 2008-04-16 00:50:32 -05:00
Jonathan Moore Liles 14330f607d Get rid of unnecessary copying in disk stream. 2008-04-16 00:03:10 -05:00
Jonathan Moore Liles 928780a820 Move some DSPish code into functions in dsp.c 2008-04-15 19:47:51 -05:00
Jonathan Moore Liles 424b68f044 Minor cleanup. 2008-04-15 19:08:48 -05:00
Jonathan Moore Liles 9c2329eb78 Clean up fade drawing issue. 2008-04-15 09:01:21 -05:00
Jonathan Moore Liles b3a3be6e55 Add context popup menu for regions to set fade-in/out curve. 2008-04-15 06:44:03 -05:00
Jonathan Moore Liles 81561d6304 Minor cleanup. 2008-04-15 03:53:36 -05:00
Jonathan Moore Liles d101d5e905 Allow setting of fade in/out durations from GUI. 2008-04-15 02:13:40 -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 7e28987f99 Add error message for failed imports. 2008-04-14 21:06:35 -05:00
Jonathan Moore Liles 6f0af6bf3f Make fades render better for crossfades. 2008-04-14 20:27:27 -05:00
Jonathan Moore Liles 30c19870d6 Clean up fade drawing code. Draw fade outs also. 2008-04-14 20:08:06 -05:00
Jonathan Moore Liles 19de318aae Work on cleaning up the way fades are displayed. 2008-04-14 18:50:01 -05:00
Jonathan Moore Liles 26a8067d42 Draw fade shapes on box layer and adjust waveform display to match. 2008-04-14 05:00:08 -05:00
Jonathan Moore Liles 8e02b99192 Cut down on the number of verticies drawn for fades 2008-04-14 04:07:18 -05:00
Jonathan Moore Liles af0e75c23c Work on graphical display of fades. 2008-04-14 03:55:22 -05:00
Jonathan Moore Liles 56b06c267a Fix a few delete's that should have been delete[]'s. 2008-04-14 03:55:03 -05:00
Jonathan Moore Liles 91abbf543d Prepare to support generalized fade-in/outs. 2008-04-14 00:12:05 -05:00
Jonathan Moore Liles ee576b7ff7 Use linear curve for declicking fades 2008-04-13 23:30:40 -05:00
Jonathan Moore Liles eab284dddb Minor cleanup. 2008-04-13 23:11:48 -05:00
Jonathan Moore Liles f78ea62e70 Implement baics for declicking. 2008-04-13 23:01:08 -05:00
Jonathan Moore Liles ebc3f8db92 Don't redraw playhead more than necessary. 2008-04-12 19:02:58 -05:00
Jonathan Moore Liles ab20e03eb2 Make mutlti-region playback and overlapped region playback work. 2008-04-12 17:55:25 -05:00
Jonathan Moore Liles fb94e119c4 Fix indexing error in deinterleave code. 2008-04-12 16:50:23 -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 3d2580dd64 Finally get rid of that distortion issue. 2008-04-09 22:44:02 -05:00
Jonathan Moore Liles ebb86a1e62 Fiddle with playback... 2008-04-08 21:20:44 -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 2a26aa85ac Actually make it compile again. 2008-04-07 05:00:16 -05:00
Jonathan Moore Liles 946b8f8e93 Continue working on playback. 2008-04-07 03:17:52 -05:00
Jonathan Moore Liles 2ddaf17bb0 Cleanup. 2008-04-07 03:00:33 -05:00
Jonathan Moore Liles 30f33a3484 Work on adding playback capability. 2008-04-07 02:29:52 -05:00
Jonathan Moore Liles 6a6c91250e Try a different way of avoiding continuous-variation on drag etc. 2008-04-02 02:19:48 -05:00
Jonathan Moore Liles 3d74d59d4a Play with push stuff. 2008-04-02 01:49:24 -05:00
Jonathan Moore Liles 16772b7e3b WIP 2008-03-31 05:00:47 -05:00
Jonathan Moore Liles 0207dc9507 Ditch the whole separate Engine idea and move everything back to Timeline. 2008-03-28 00:19:26 -05:00
Jonathan Moore Liles 48bcd7ed98 Continue switching over to peak server system. 2008-03-26 19:31:57 -05:00
Jonathan Moore Liles 2abf28095c Don't read more peaks than needed for waveform. 2008-03-26 12:53:36 -05:00
Jonathan Moore Liles b0d5b60a6f Work on switching Timeline Editor over to use the Peak Server. 2008-03-26 03:33:14 -05:00
Jonathan Moore Liles b64034fdf0 Work on sharing code between engine and timeline. 2008-03-20 20:21:00 -05:00
Jonathan Moore Liles b846d29c4b Try to get timeline working again. 2008-03-20 03:43:45 -05:00
Jonathan Moore Liles 7c6d211871 Work on reorganizing the build. 2008-03-20 02:13:45 -05:00
Jonathan Moore Liles c415fe9680 Begin rearranging. 2008-03-19 22:13:27 -05:00