Re: [Audacity-devel] Timer Record in CVS HEAD
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: <Mar...@ao...> - 2006-09-10 22:16:53
|
Vaughan I think I just fixed most of the wrapping problems but I still seem to see it on the Timer Record. As you say, it's pretty irrelevant anyway. But when I win the lotto I might want to record for 99 days, whilst I'm off on holiday! (Not that I'll be back for 99 days to listen to it!) Martyn In a message dated 08/09/2006 02:07:22 GMT Daylight Time, va...@au... writes: Excellent! Thanks, Martyn. Regarding the wrap at n-1, it's so intuitive to put 60 for the minutes and seconds, and 24 for hours. And who's got a hard drive, and desire, to record for 99:23:59:59 anyway, when 98:23:59:59 is enough for most of us? ;-) -Vaughan Mar...@ao... wrote: > Vaughan > > OK, so it's not quite like Dominic suggested, but I've added 'days' to the > Duration TimeTextCtrl in the SmartRecordDialog. As he said though, it took a > matter of moments (well, after those months I had spent looking at the code > previously!). > > And yes I know it wraps from 98 days to 00 days. I have just noticed that > the other formats do too, such as the hh in "hh:mm:ss". I note this as a > problem in TTC which I have not looked into. > > HTH > Martyn > PS Nice functionality! > > In a message dated 06/09/2006 17:16:05 GMT Daylight Time, > do...@au... writes: > This is awesome...definitely a highly requested feature and it sounds > like you've got the interface 90% nailed! > > TimeTextCtrl was designed to be totally extensible. You should be > able to pass it a custom format string that would make something like > "2 days 14h32m30s" without changing a line of code in TimeTextCtrl, > and we can definitely add support for hiding the menu and choosing a > different font size. > > - Dominic > > On Sep 5, 2006, at 5:42 PM, Vaughan Johnson wrote: > >> I've been having trouble with CVS for almost a week, but I've >> committed >> the first pass at Smart Record Dialog. This Smart Record does only >> Timer >> Record, so that's what it's called in the Tracks menu. It's no big >> deal >> on the back end, just does OnRecord and OnStop, which per Markus's >> comments are now safe, but it should probably be changed to be >> direct-to-disk, as Dominic described, for performance (certainly on >> marginal machines). Or at least turn off scroll-while-recording if the >> user has it on. (Btw, a friend of mine's recording company is called >> Dreck to Disk.) >> >> Mostly I worked on getting the UI working and hooked up the way I >> wanted, largely with the goal of simple and few controls that give >> full >> specificity. There are three clusters, Start, End, and Duration. >> One way >> to do it is a radio cluster for XOR-specifying End or Duration (as in >> the Selection bar), and a Now button next to Start, but I wanted to >> show >> both End and Duration and how they interact, so I didn't use the radio >> buttons, and I got rid of the Now button by making it implicit and >> making the dialog update every second. It opens with Start set to now, >> and Duration set to 5 minutes, so End set to now plus 5. Start is >> prevented from ever starting in the past, and whenever Start is set to >> now, it updates every second. In general, I made it that Duration has >> precedence over End, so if Start is Now, End updates, too while >> Duration >> stays constant. If Start is sometime in the future, the seconds don't >> update, until now catches up. Updating any of Start, End, and Duration >> affects at least one of the other two, but rather than describe how >> and >> why, I'll wait for feedback. >> >> I used wxDatePickerCtrl for calendar dates, and TimeTextCtrl for >> time of >> day. TimeTextCtrl is a lot more versatile than I need, and oriented to >> time spans rather than time of day. Some issues: >> >> * I set them up with the menu disabled, because I always want >> it to >> be in "hh:mm:ss" format, but the little pull-down arrow still >> appears. Shouldn't it be absent when the menu is disabled? >> * Because TimeTextCtrl was meant for durations rather than time of >> day, it has a hard lower limit at 0:0:0, but the range >> settings in >> the format really mean when to roll over to zero -- the time >> values can get arbitrarily large. For example, if I set max >> to 24 >> hours, and user increments by 1 from 23, then it shows 00, >> but the >> time value is 24. Or if you increment the tens digit from 23, >> then >> it shows 09, because it's set to 33 hours. For now, I'm just >> catching this and fixing it in the dialog (by incrementing the >> date control), but I wonder if there are other uses for >> TimeTextCtrl , for which a hard upper limit would be desired. >> * And currently, when the user then decrements hours, because the >> TimeTextCtrl won't decrement below 0:0:0, there's inconsistency >> between incrementing and decrementing. >> * Looks like the TimeTextCtrl font size selection is fairly >> complicated. Might be nice to be able to call it such that it >> just >> matches the default wx controls, in background, too. Also, it >> doesn't pass along Enter as clicking the dismisser, as most wx >> text-ish controls do. >> >> >> I didn't allow msec specification. Think anybody wants that? >> >> Think it's important to check disk space to set the max for End and >> Duration? There's currently no upper limit, although the Duration >> cluster shows only number of hours. >> >> Duration TimeTextCtrl maxes at 99 hrs (really 98:59:59). Should >> Duration >> cluster instead also show number of days, and its time-of-day max at >> 23:59:59? >> >> Anyway, at least the minimal functionality that people have >> requested is >> ready for 1.3.2. Even though I'm on Windows, I was never able to get >> AudaRemote to work, so I've already found it useful. >> >> Thanks, >> Vaughan >> > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Audacity-devel mailing list Aud...@li... https://lists.sourceforge.net/lists/listinfo/audacity-devel |