Now that the index isn't hardocded I tried adding ss + microseconds and hh:mm:ss + microseconds but it certainly does not work as well as it did in 1.2.6.Edgar wrote:Therein lies the rub! My guess is that anyone interested in examining the seconds out to six decimal points will not be looking at audio that is many hours long. My personal choice would probably be mmmm:ss + micro (i.e. 4 places for the number of whole seconds). Note that by choosing hh:mm:ss we limit the ability to display more than 99 hours + 59 minutes + 59 seconds – probably a most reasonable limit.Gale Andrews wrote: hh:mm:ss + microseconds? I think that's what most want (what 1.2.6 had).Code: Select all
Index: src/widgets/TimeTextCtrl.cpp =================================================================== --- src/widgets/TimeTextCtrl.cpp (revision 12198) +++ src/widgets/TimeTextCtrl.cpp (working copy) @@ -400,6 +400,10 @@ /* i18n-hint: Format string for displaying time in frames with CD Audio * frames. Translate 'frames' and leave the rest alone */ BuiltinFormatStrings[15].formatStr = _("01000,01000 frames|75"); + /* i18n-hint: Name of time display format that shows time in seconds and microseconds */ + BuiltinFormatStrings[16].name = _("seconds + microseconds"); + /* i18n-hint: Format string for displaying time in seconds and microseconds. */ + BuiltinFormatStrings[16].formatStr = _("010000.01000000 s"); mDigitBoxW = 10; mDigitBoxH = 16; Index: src/widgets/TimeTextCtrl.h =================================================================== --- src/widgets/TimeTextCtrl.h (revision 12198) +++ src/widgets/TimeTextCtrl.h (working copy) @@ -134,7 +134,7 @@ * needed to create that format output. This is used for the pop-up * list of formats to choose from in the control. Note that the size will * need adjusting if new time formats are added */ - BuiltinFormatString BuiltinFormatStrings[16]; + BuiltinFormatString BuiltinFormatStrings[17]; double mTimeValue; wxString mFormatString;
In an empty 44100 Hz project window we see that TimeText controls start at 1 microsecond instead of 0 (as per your image above), and start at 3 microseconds at 1000000 Hz.
Generate doesn't let you generate exactly 1.000000 seconds when the selection format is in microseconds.
Is this expected?
Gale