Renaming Operation Categories and Types
On the second page of the Batch Renaming dialog, you set up the renaming operation that you want to perform for clips, files, or markers.
The Category pop-up menu lists the renaming operation categories. The Type pop-up menu lists the various types of renaming operations. When you select a type, the related controls are displayed. The types depend on the selected category.
Remove
- All
Removes all characters from the selected range.
- Spaces
Removes all spaces from the selected range.
- Spaces at Start/End
Removes all spaces at start and end of the selected range.
- Duplicate
Replaces two consecutive identical characters by one. Specify the character to remove in the Character field.
- Specific Characters
Removes all instances of one or more characters. Specify the characters to remove in the Character field.
- Surrounded Text
Removes all instances of one or more characters. In the Left Character field, specify the characters from which on the text is removed. In the Right Character field, specify the last character to remove.
Then specify in the Occurrence pop-up menu which character to remove if several are found.
Convert
- To Lower Case
Sets all characters in the selected range to lower case.
- To Upper Case
Sets all characters in the selected range to upper case.
- Capitalize
Sets the first character to upper case, and the rest to lower case. On the menu, you can specify whether only the first word or all words should be capitalized.
- Initials to Upper Case
Sets only isolated letters to upper case. For example, u.s.a to U.S.A.
- Specific Character to Text
Replaces each instance of a specific character with a custom string. In the Character to Replace field, enter the character you want to replace. In the Replacement field, enter the replacement string.
- Pad Number with Zeros
Pads a number present in the selected range with zeros at the left side. On the menu below, specify how many digits the number should consist of.
- Invert Character Order
Inverts the order of the characters in the selected range.
- Replace with New Text
Replaces the selected range by a specific text string. In the text field below, enter this string.
Insert
- Nothing
Inserts nothing.
- Counter
Inserts a number at the selected position, and updates its value with each insertion. Set up the counter with the additional options.
- Specific Text
Inserts a string at the selected position. In the text field below, enter the text to be inserted.
- Part of Original Name
Inserts a part of the original name (before the first operation was performed) at the selected position. In the text field below, enter the regular expressions. Clicking the asterisk opens a menu with shortcuts for several regular expressions.
- Pair of Characters around Text
Inserts specific characters before and after the selected range. In the Left Character field, specify the characters to insert before the selected range. In the Right Character field, specify the characters to insert after the selected range.
- Spaces around Text
Inserts a space before and after the selected range.
- Space after Specific Characters
Inserts a space after specific characters. In the field below, enter the characters that should be followed by a space.
- Space before Each Capitalized Word
Inserts a space before each word starting with an upper case letter. For example, this changes MyNicePiano to My Nice Piano.
If Only Capitalize First Word is activated, only the first word is capitalized.
- Today’s Date/Time
Inserts the current date and time.
- Universal Unique Identifier
Inserts a unique identifier. This is useful for recordings, for example.
- Random Word
Inserts a random pronounceable word.
Import and Insert External Data
This category allows you to insert information taken from a file or current context. This is mostly audio-oriented as some features analyze the audio file headers. The available options differ depending on the selected Batch Renaming dialog.
- Sample Rate
Inserts the sample rate of the file. In the fields below, enter a prefix and suffix, and select how to format the imported data.
- Number of Channels
Inserts the number of channels of the file. In the fields below, enter a prefix and suffix, and select how to format the imported data.
- Bit Depth
Inserts the bit depth of the file. In the fields below, enter a prefix and suffix, and select how to format the imported data.
- Bit Rate
Inserts the bit rate of the file if the file is encoded. In the fields below, enter a prefix and suffix, and select how to format the imported data.
- Variable/Constant Bit Rate
Inserts the tag VBR or CBR if the file is encoded. In the fields below, enter a prefix and suffix.
- File Length
Inserts the length of the file. In the fields below, enter a prefix and suffix.
- File Extension
Inserts the extension of the file. In the fields below, enter a prefix and suffix.
- Date/Time
Inserts the date/time of the file at the selected position. In the Format field below, enter a date.
- Folder Name
Inserts the name of the folder containing the file. In the fields below, enter a prefix and suffix.
- Folder Name (2 Positions Up)
Inserts the name of the folder located two positions higher up in the hierarchy. In the fields below, enter a prefix and suffix.
- Folder Name (3 Positions Up)
Inserts the name of the folder located three positions higher up in the hierarchy. In the fields below, enter a prefix and suffix.
- Sample: MIDI Note
Inserts the sample note of the file, if available. In the fields below, enter a prefix and suffix, and select how to format the imported data.
- Sample: Detune
Inserts the detune information for the sample, if available. In the fields below, enter a prefix and suffix.
- Sample: Key Range
Inserts the key range of the sample, if available. In the fields below, enter a prefix, suffix, and separator, and select how to format the imported data.
- Sample: Velocity Range
Inserts the velocity range of the sample, if available. In the fields below, enter a prefix, suffix, and separator, and select how to format the imported data.
- Metadata: Title
Inserts the title if this information is present in the metadata of the file. In the fields below, enter a prefix and suffix.
- Metadata: Artist
Inserts the artist if this information is present in the metadata of the file. In the fields below, enter a prefix and suffix.
- Metadata: Genre
Inserts the genre if this information is present in the metadata of the file. In the fields below, enter a prefix and suffix.
- Metadata: Album
Inserts the album if this information is present in the metadata of the file. In the fields below, enter a prefix and suffix.
- Metadata: BWF description
Inserts the corresponding metadata. You can insert the title, artist, genre, album, and BWF description.
- Timeline Position
Inserts the position of the file in the timeline. In the fields below, enter a prefix and suffix.
- Variable
-
Inserts the value of a variable. The value of the variable is retrieved from the corresponding source audio file. In the field below, enter the variable name.
- Line [x] from Text File
Inserts the specified line from a text file to the specified renaming operation. In the field below, specify the location of the text file (UTF-8) from which the strings should be collected.
Find and Replace from Table
This category allows you to define a table of words and to associate each word with a replacement. This feature is useful to reformat a text according to a new style. For example, it can be used to map a series of numbers to a series of tags, to change a numerical sequence like 000 – 127 to C-2 – G8 (MIDI notes).
- Find Anywhere in Text
Replaces the words in the table with their specified replacement if they can be found anywhere in the selected range.
- Find Exact Text
Replaces a word of the table with its specified replacement if it is identical to the word in the selected range.
In the table below these types, you can define a list of strings to find, and define a replacement for each one. Double-click the cells to edit the list. If a file cell is empty, it is ignored.
If Case Sensitive Search is activated, the search takes the letter cases into account. If Keep Letter Case is activated, the case of the replacement text is adapted to the case of the found text.