Commit Graph

646 Commits

Author SHA1 Message Date
Jonathan Moore Liles e1e1d43f61 Make panning work. 2008-02-20 05:48:42 -06:00
Jonathan Moore Liles 372ceb4375 Improve event region calculation. 2008-02-20 05:40:23 -06:00
Jonathan Moore Liles 50680c6063 Fix event handling of trackwidgets when scrolled. 2008-02-20 05:29:31 -06:00
Jonathan Moore Liles f5f19db5a9 Fix label offset when scrolling... This is necessary if we want to support fl_scroll optimization. 2008-02-20 04:55:35 -06:00
Jonathan Moore Liles 318c27088b Reduce the number of peaks read when drawing region. 2008-02-20 04:51:07 -06:00
Jonathan Moore Liles 5e0e95cc0a Fixup virtual scrolling. 2008-02-20 04:45:10 -06:00
Jonathan Moore Liles d5dc2a2edf Split region into TrackWidget base class. 2008-02-20 02:49:47 -06:00
Jonathan Moore Liles e94cb69c34 Clean up region box drawing. 2008-02-20 01:53:54 -06:00
Jonathan Moore Liles 7501a8094b Make snapping work again. 2008-02-20 01:24:56 -06:00
Jonathan Moore Liles bcfa0cb029 Make trimming work. 2008-02-20 01:08:36 -06:00
Jonathan Moore Liles 35d277d67d Make region dragging work. 2008-02-20 00:46:28 -06:00
Jonathan Moore Liles 900c49aeae Begin handlig region events again. 2008-02-20 00:35:29 -06:00
Jonathan Moore Liles 69aee9de79 Add scrollbar for timeline. 2008-02-20 00:11:33 -06:00
Jonathan Moore Liles 76afaa5792 Begin moving to custom track scrolling with 'virtual' region widgets. 2008-02-19 23:57:14 -06:00
Jonathan Moore Liles 80ec2b6e35 Work in snapping some more. 2008-02-19 00:22:42 -06:00
Jonathan Moore Liles 2d6a93b448 Try to make snapping more accurate. 2008-02-18 18:35:37 -06:00
Jonathan Moore Liles a055856c56 Implement snap-to for regions. 2008-02-18 01:44:31 -06:00
Jonathan Moore Liles 5ec40ad5ce Permit panning of regions. Try to prevent trimming or panning beyond 0. 2008-02-18 01:15:12 -06:00
Jonathan Moore Liles 6b48c0d629 Insert imported regions at offset of drop. 2008-02-17 23:25:26 -06:00
Jonathan Moore Liles 3b02169d31 Make normalization code work at all zoom levels. 2008-02-17 21:37:26 -06:00
Jonathan Moore Liles a032a95fad Cleanup some issues with trimming. 2008-02-17 19:13:20 -06:00
Jonathan Moore Liles d36804ea4e Finish making Peaks use Clip 2008-02-17 17:33:59 -06:00
Jonathan Moore Liles bb0b511122 Make make_peaks use Clip to access source. 2008-02-17 17:29:09 -06:00
Jonathan Moore Liles f27a222e47 Cleanup peak code to use Clip for reading. 2008-02-17 17:17:38 -06:00
Jonathan Moore Liles 1684805c63 Size Waveforms to clip length. 2008-02-17 16:03:31 -06:00
Jonathan Moore Liles 05854badd9 Clean up zoom bar a bit. 2008-02-17 15:25:02 -06:00
Jonathan Moore Liles 0328ebfa2d Read peaks from source in chunks of exact size requirested.
Use one buffer for all source-read peaks.
2008-02-17 14:41:59 -06:00
Jonathan Moore Liles 09a19516f3 Work on peak reader (WIP). Resize regions on zoom. 2008-02-17 03:00:38 -06:00
Jonathan Moore Liles 720f024fa0 Read peaks directly from source at high zoom levels. 2008-02-16 21:32:31 -06:00
Jonathan Moore Liles 0c9be68bcd Update peaks when necessary. 2008-02-16 20:59:45 -06:00
Jonathan Moore Liles 31b449c24b Use libsndfile. Actually generate peak data. 2008-02-16 20:36:17 -06:00
Jonathan Moore Liles 4129714315 More tweaking. 2008-02-16 18:35:53 -06:00
Jonathan Moore Liles 8905484cb1 Cleanups. 2008-02-16 17:28:48 -06:00
Jonathan Moore Liles 41b62781d1 Work on supporting actual audio backing. WIP. 2008-02-16 17:12:23 -06:00
Jonathan Moore Liles 1750df5f5e Add normalization function. 2008-02-16 04:30:56 -06:00
Jonathan Moore Liles a819cdd7b8 Color by amplitude when drawing waveform. 2008-02-16 02:41:25 -06:00
Jonathan Moore Liles 043517166e Cleanup region code a bit. 2008-02-16 02:09:11 -06:00
Jonathan Moore Liles 76d2d70611 Don't drag-scroll past beginning of track. 2008-02-16 01:59:50 -06:00
Jonathan Moore Liles 894d5d85d0 Allow copying of regions. 2008-02-16 01:46:43 -06:00
Jonathan Moore Liles ece5a45cb0 Automatically scroll timeline when dragging a region. 2008-02-16 01:21:15 -06:00
Jonathan Moore Liles 477e1f5b40 Let tracks recieve DND events. 2008-02-16 00:47:46 -06:00
Jonathan Moore Liles 41ac62e2cd Allow interactive trimming of regions. 2008-02-15 22:23:58 -06:00
Jonathan Moore Liles 62781a70ed Add tracks. Support dragging regions between tracks. 2008-02-15 21:50:16 -06:00
Jonathan Moore Liles 669d638ab0 Support trimming of region. 2008-02-14 01:40:47 -06:00
Jonathan Moore Liles 4b290d3372 Try to be more efficient about clipping. 2008-02-14 00:35:32 -06:00
Jonathan Moore Liles a7f590aa40 Initial checkin. 2008-02-13 23:47:12 -06:00