Commit Graph

51 Commits

Author SHA1 Message Date
Jonathan Moore Liles f8fb113886 Handle peaks for multichannel files. 2008-02-22 12:40:51 -06:00
Jonathan Moore Liles 1ec4843580 Move log message types into their own class. 2008-02-22 04:22:22 -06:00
Jonathan Moore Liles 8856fd8b9e Fix event_widget detection for overlapping widgets. 2008-02-22 03:44:09 -06:00
Jonathan Moore Liles 9bb9f1bd9d Clean up some issues with new scrolling optimization. 2008-02-22 02:51:22 -06:00
Jonathan Moore Liles 97b344d3dd Replace Clip class with Audio_File abstract class who's children are interfaces to
various libraries.
2008-02-22 02:19:20 -06:00
Jonathan Moore Liles 8b92eb9318 Get rid of some unnecessary redrawing. 2008-02-21 22:53:39 -06:00
Jonathan Moore Liles b6106fc6da First pass at implementing fl_scroll optimization for timeline. 2008-02-21 12:31:15 -06:00
Jonathan Moore Liles cee75218f3 Move stuff from main.C into Timeline.C 2008-02-21 10:20:36 -06:00
Jonathan Moore Liles 391ec0757a Work on time/tempo tracks. 2008-02-21 06:57:33 -06:00
Jonathan Moore Liles 5118c79c2f Reinstate normalize action. 2008-02-21 03:51:07 -06:00
Jonathan Moore Liles 28895ca0ea Invert waveform color when selected 2008-02-21 03:48:53 -06:00
Jonathan Moore Liles 64f18c7585 Remove jitter from region track jumping. 2008-02-21 03:38:35 -06:00
Jonathan Moore Liles 71a4692f2d Scroll bar moves by pixels, not samples. This eliminates rounding errors while scrolling. 2008-02-21 02:46:31 -06:00
Jonathan Moore Liles 9b1e8259be Permit region selection. 2008-02-21 01:38:31 -06:00
Jonathan Moore Liles 825d16c5b7 Reinstitute drag scrolling. 2008-02-21 00:12:21 -06:00
Jonathan Moore Liles 2902ea92dc Try to generalize the Track_Widget display calculations. 2008-02-21 00:02:43 -06:00
Jonathan Moore Liles 4a266bc86a Attempt to clean up label drawing for track widgets. 2008-02-20 21:40:20 -06:00
Jonathan Moore Liles f042e887e0 Make normalize region work again. 2008-02-20 20:10:44 -06:00
Jonathan Moore Liles 9e23dd5878 Use base class handle() in Region. 2008-02-20 20:06:39 -06:00
Jonathan Moore Liles cec2dc4afd Add member functions to track_widget to retreive scroll position. 2008-02-20 18:32:54 -06:00
Jonathan Moore Liles 2cc273ccc6 WIP 2008-02-20 18:25:21 -06:00
Jonathan Moore Liles 08182d2c5f Make track use track_widget base class instead of regions. 2008-02-20 18:14:44 -06:00
Jonathan Moore Liles a2ea182810 More work on tempo map 2008-02-20 09:43:14 -06:00
Jonathan Moore Liles 609e00eecf Draw beat lines. 2008-02-20 06:45:02 -06:00
Jonathan Moore Liles e1e1d43f61 Make panning work. 2008-02-20 05:48:42 -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 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 900c49aeae Begin handlig region events again. 2008-02-20 00:35:29 -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 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 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 4129714315 More tweaking. 2008-02-16 18:35:53 -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 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 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