Regular Interval Labels enhancements

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Regular Interval Labels enhancements

Stevethefiddle
In response to the feature request on the Audacity forum
http://forum.audacityteam.org/viewtopic.php?f=20&t=55489&p=137444#p137325
I've added a couple of new features to the "Regular Interval Labels" plug-in.

New Features:

Label numbers may be before or after the label text.
For example;
1_label, 2_label, 3_label .....
or
track_1, track_2, track_3.....

User defined start number.
Some users may prefer to start numbering at "1" rather than at "0".
Also, if splitting two recordings, one from the "A" side of an album
and one from the "B" side, it may be useful to start numbering for the
B-side so that the numbers follow on from the A-side.

Numbers with preceding zeros
If there are more than 9 songs exported with "Export Multiple" (based
on labels), the exported tracks would not previously have been in
alphanumeric order.
For example with 12 tracks the alphanumeric order would be:
0, 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9

By setting the minimum number of digits to 2, single digit numbers
will be give a preceding zero, so the numeric order will now be:
00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12

The user may select:
No numbers - label text only
Minimum 1 digit - same as original version.
Minimum 2 digits - one preceding zero for single digits.
Minimum 3 digits - two preceding zeros for single digits.

I've also partially refactored the code to make it more readable and
easier to work on. Most of the (profuse) commenting has been left in
place.

I have temporarily renamed this plug-in "Regular Interval Labels 2..."
so that it can be installed alongside the original "Regular Interval
Labels..."

Comments and feedback are most welcome, either here on the mailing
list or on the Audacity forum here:
http://forum.audacityteam.org/viewtopic.php?f=42&t=55523

Steve

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Audacity-nyquist mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-nyquist