Commit Graph

492 Commits

Author SHA1 Message Date
Jonathan Moore Liles 0d40ca5b6b build: use git to generate lists of sources for makefile. 2008-05-25 09:39:29 -05:00
Jonathan Moore Liles 26b9f2cf6b Move more timeline keybindings into menu. 2008-05-25 01:18:30 -05:00
Jonathan Moore Liles 06a0518463 Rearrange menus. Keep timeline menu in timeline class and share it with popup menu. 2008-05-25 01:14:17 -05:00
Jonathan Moore Liles 3d40848e52 TLE: Rename menu items. 2008-05-24 23:31:41 -05:00
Jonathan Moore Liles ba430eb236 Add 't' key on timeline to add a tempo point using the current range as the beat length. 2008-05-24 22:27:23 -05:00
Jonathan Moore Liles 734e3b555b Cleanup. 2008-05-23 18:48:44 -05:00
Jonathan Moore Liles 1616465e39 Overhaul capture finalization. 2008-05-22 21:23:41 -05:00
Jonathan Moore Liles 232d23915a Mipmap peak building actually happens in the UI thread, not the IO thread.
Therefore, it is always necessary to fork when mipmapping peaks after capture.
2008-05-22 18:12:51 -05:00
Jonathan Moore Liles 33c646109f Adapt other classes to the new handle_widget_change() method. 2008-05-22 17:02:39 -05:00
Jonathan Moore Liles 8eb4cb8735 Cleanup. 2008-05-22 15:58:36 -05:00
Jonathan Moore Liles c79d48c663 Rebuffer when an audio region is moved. 2008-05-22 15:34:21 -05:00
Jonathan Moore Liles 6c9e2c8c07 Add locking for sequence widget drags. 2008-05-22 14:20:15 -05:00
Jonathan Moore Liles 98507e60bd Add locking for track widget drags. 2008-05-22 14:19:39 -05:00
Jonathan Moore Liles f9fb837c58 Add missing GPL headers. 2008-05-22 11:34:33 -05:00
Jonathan Moore Liles df93c3f8ef Minor build cleanup. 2008-05-22 02:13:27 -05:00
Jonathan Moore Liles bd82f954a8 Move (mostly) all Engine functionality into Engine/ directory. 2008-05-22 02:05:49 -05:00
Jonathan Moore Liles 0840face8f Cleanup. 2008-05-21 22:05:10 -05:00
Jonathan Moore Liles 2a1eac2731 Set visual at startup. 2008-05-21 22:02:38 -05:00
Jonathan Moore Liles 821250d9de Allow the user to use r+drag to set the range. 2008-05-21 21:49:14 -05:00
Jonathan Moore Liles 3938253a5a Change the way cursor caps are drawn. 2008-05-21 21:29:06 -05:00
Jonathan Moore Liles d9a8ec1d13 Minor cleanups. 2008-05-21 19:40:25 -05:00
Jonathan Moore Liles fc6ffee22e Handle missing sources gracefully. 2008-05-20 19:46:02 -05:00
Jonathan Moore Liles 7e72339ea9 configure: always name *_LIBS and *_FLAGS in uppercase. 2008-05-20 16:07:03 -05:00
Jonathan Moore Liles 48d7f61f8a Respond appropriately to changes in JACK buffer size. 2008-05-19 23:30:08 -05:00
Jonathan Moore Liles 97f0283780 Add locking to redraws triggered while recording. 2008-05-19 00:07:42 -05:00
Jonathan Moore Liles 8d385de54c Draw secondary cursors on timeline instead of in the overlay. 2008-05-18 22:45:37 -05:00
Jonathan Moore Liles ef254cfbae Initialize properties in the right order. 2008-05-18 22:45:07 -05:00
Jonathan Moore Liles 11add2dd63 Oops. Don't allow an unselected sequence widget to drag past 0 either. 2008-05-18 22:06:14 -05:00
Jonathan Moore Liles 47dbf6c537 Clear up a load of compiler warnings. 2008-05-18 22:01:09 -05:00
Jonathan Moore Liles 9ef454291a Fix selection issues.
This fixes the bug where some selected wigets would disappear to frame 0.
It also prevents moving any widget behind 0.
2008-05-18 21:40:42 -05:00
Jonathan Moore Liles 06de784661 Minor cleanup. 2008-05-18 21:01:59 -05:00
Jonathan Moore Liles d40bc52a5a Cleanups. Move waveform scaling into Waveform class. 2008-05-18 19:42:27 -05:00
Jonathan Moore Liles 8d7bee3050 Improve about dialog. 2008-05-18 19:31:27 -05:00
Jonathan Moore Liles 3e1a32c8be Cleanup. 2008-05-18 00:09:18 -05:00
Jonathan Moore Liles 117d7cf9f7 Move helper functions out of 'configure' script. 2008-05-17 21:52:57 -05:00
Jonathan Moore Liles 60132b8595 Work on freewheel mode. 2008-05-17 20:45:56 -05:00
Jonathan Moore Liles 5cd2475609 Cleanup build. 2008-05-18 00:15:39 +00:00
Jonathan Moore Liles 2695f9eed5 Add some framework for freewheeling mode. 2008-05-17 16:37:41 -05:00
Jonathan Moore Liles 9261c3fea6 Improve the appearance of message dialogs. 2008-05-17 13:42:50 -05:00
Jonathan Moore Liles f920867579 Build mipmap peaks in capture IO thread, but don't wait on it to finish. May be incorrect. 2008-05-17 11:23:37 -05:00
Jonathan Moore Liles b57acca314 Fork for building peak mipmaps after recording. 2008-05-17 00:35:21 -05:00
Jonathan Moore Liles f4661611a0 Get stop frame right when finalizing regions. 2008-05-17 00:34:42 -05:00
Jonathan Moore Liles 91614d9aa1 Snap trims as well. 2008-05-17 00:14:26 -05:00
Jonathan Moore Liles 4422c354f7 Cleanup open/new behavior. 2008-05-16 23:34:44 -05:00
Jonathan Moore Liles 251d7f9267 Makefile cleanups. 2008-05-16 21:50:33 -05:00
Jonathan Moore Liles 24f935d957 Minor cleanup. 2008-05-16 21:21:44 -05:00
Jonathan Moore Liles 235993b7b3 Fix snap to widget bug. 2008-05-16 21:07:56 -05:00
Jonathan Moore Liles 21e82b64f6 Minor cleanup. 2008-05-16 20:55:43 -05:00
Jonathan Moore Liles 9f3cc2a2e0 Improve tick calculation? 2008-05-16 18:44:18 -05:00
Jonathan Moore Liles 65b6d544ad Don't fail in render_tempomap on the first beat of the first bar. 2008-05-16 18:44:08 -05:00
Jonathan Moore Liles 7075a9a2e1 Clean up make.conf format. 2008-05-16 16:06:15 -05:00
Jonathan Moore Liles ed23544065 Continue improving build system. 2008-05-16 15:52:10 -05:00
Jonathan Moore Liles 8443acf570 Improve the build/configure system. 2008-05-16 14:12:52 -05:00
Jonathan Moore Liles 8af768cb90 Add enabled() predicate to LASH_Client... 2008-05-15 20:01:56 -05:00
Jonathan Moore Liles 558cec0965 Move LASH poll timer into LASH.C. 2008-05-15 19:53:46 -05:00
Jonathan Moore Liles fabbd3e893 Add logos to pixmaps directory and use PNG at runtime rather than
including a huge XPM in the source.
2008-05-15 19:26:51 -05:00
Jonathan Moore Liles 79b16b56c9 Improve LASH support. 2008-05-14 23:23:16 -05:00
Jonathan Moore Liles 28bc3ff1c6 Minor cleanup. 2008-05-14 21:15:02 -05:00
Jonathan Moore Liles 825bb4c3e7 Don't die if render_tempomap() is called with an empty map. 2008-05-14 21:14:56 -05:00
Jonathan Moore Liles 71c75ff48a Continue integrating LASH support. 2008-05-14 20:10:49 -05:00
Jonathan Moore Liles 05ab03fb10 Add LASH_Client interface class. 2008-05-14 19:48:46 -05:00
Jonathan Moore Liles d6e8ec3c4a Make time points reset the beat count. 2008-05-14 18:47:28 -05:00
Jonathan Moore Liles 705482f72f Make time points editable etc.
Fix sorting of tempomap.
2008-05-14 17:36:23 -05:00
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 bde6f2c557 Add time signature and tempo info to BBT clock. 2008-05-14 16:31:43 -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 02db2c1251 Include widget y() and h() in event_widget() test. 2008-05-14 16:26:21 -05:00
Jonathan Moore Liles a5a3e737bb Improve BBT clock display. 2008-05-13 16:40:18 -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 71c4964174 Don't always draw waveforms inverted! 2008-05-12 22:06:07 -05:00
Jonathan Moore Liles f5db8ac7ad Fix order of Sequence_Point initialization. 2008-05-12 22:02:21 -05:00
Jonathan Moore Liles 8422915e87 Fix uninitialized member. 2008-05-12 22:00:35 -05:00
Jonathan Moore Liles 3e5c760c88 Oops. Fix control sequence playback broken by renmaing. 2008-05-12 21:43:12 -05:00
Jonathan Moore Liles 99795a4f56 Move range trimming math into Range class. 2008-05-12 11:23:55 -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 4cb8fbd22d Get rid of cumulative error in Peaks::Streamer 2008-05-11 21:01:51 -05:00
Jonathan Moore Liles 354b3a9fc3 Position tempo point editor window inside the main window. 2008-05-11 20:16:58 -05:00
Jonathan Moore Liles f0704d7f90 Oops. Finalize peak capture in the right place! 2008-05-11 20:09:39 -05:00
Jonathan Moore Liles d7f020ee2e Add mutex to Audio_File objects to prevent read_source_peaks() and IO thread from conflicting. 2008-05-11 19:37:34 -05:00
Jonathan Moore Liles 9b8e7569e7 Make peakfile block scanning more robust. 2008-05-11 18:28:08 -05:00
Jonathan Moore Liles 50fa642321 Fix mipmapping for streamed peaks. 2008-05-11 17:48:19 -05:00
Jonathan Moore Liles 12d65acf25 Add quit message. 2008-05-11 12:19:01 -05:00
Jonathan Moore Liles 17790c13c1 Fix pending peaks timers. 2008-05-11 12:18:51 -05:00
Jonathan Moore Liles f12363340e Clean up Peaks.C 2008-05-11 09:57:53 -05:00
Jonathan Moore Liles d1a2f52352 Support optional mipmapping of peakfiles. Mipmap peaks for new captures. 2008-05-10 20:40:43 -05:00
Jonathan Moore Liles fc99144548 Work on making peak streaming work again. 2008-05-10 20:10:16 -05:00
Jonathan Moore Liles e27c0336fe Peak all peak cache levels together in a single peakfile. 2008-05-10 19:10:49 -05:00
Jonathan Moore Liles e2e2241715 Make peak streaming work again. 2008-05-10 13:19:55 -05:00
Jonathan Moore Liles 45a660d98a Treat peakfiles as a multilevel cache.
Always generated all levels when building peaks, instead of
trying to be clever about it.
2008-05-10 12:02:21 -05:00
Jonathan Moore Liles bff8d98078 Clean up a copy/assignment permissions for many classes. 2008-05-07 20:05:49 -05:00
Jonathan Moore Liles 9bf7183696 Make region duplication work again. 2008-05-07 19:25:12 -05:00
Jonathan Moore Liles edb9be37ab Clean up sequence widget copy constructors. 2008-05-07 19:04:47 -05:00
Jonathan Moore Liles 7f25ebe855 Get rid of a million and a half signed/unsigned expression warnings. 2008-05-07 18:19:48 -05:00
Jonathan Moore Liles 77621d9d77 Clean up sequence widget 'clone' functions. 2008-05-07 18:09:52 -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 e050332e36 Add shortcut to annotation region edit window. 2008-05-07 15:16:56 -05:00
Jonathan Moore Liles 6bb4a1d066 offset start end -> start offset length 2008-05-07 14:35:57 -05:00
Jonathan Moore Liles 8a048e6ef2 Oops. Forgot one. 2008-05-07 11:54:41 -05:00
Jonathan Moore Liles ff9f812a04 More renames. 2008-05-07 11:42:31 -05:00
Jonathan Moore Liles a57db305f2 Symbol name cleanup. 2008-05-07 11:18:57 -05:00
Jonathan Moore Liles 9d498d7eca Go back to using long names for properties. 2008-05-07 10:28:57 -05:00
Jonathan Moore Liles 452e1df554 Provide shortcuts in compaction confirmation dialog. 2008-05-07 10:20:13 -05:00
Jonathan Moore Liles 1edc236960 Journaling fixes. 2008-05-07 10:19:55 -05:00
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