Have you ever received an interview transcript from a third-party and wanted to apply it to your multi-track sequence? Maybe you've wanted to get started transcribing an interview with automatic transcription, but later apply a White Glove transcript to your edited composition.
In this Advanced-level tutorial we'll show how you can take a pre-written transcript and break it up into individual files using Visual Studio Code, a free code editing program available on Microsoft.com.
After following Microsoft's instructions for installation, go ahead and load Visual Studio Code to get started. You'll also want to make sure your transcript follows these formatting tips before proceeding.
To get started, copy the contents of your script into a new Visual Studio Code file.
You'll want to make sure to remove any titles/headers from the file. Additionally, each of your speaker's lines must be labeled by either adding a speaker label, or backspacing the free lines up into the previous line.
Once complete, open the search panel on the left-hand sidebar of Visual Studio Code.
Here you'll enter the label of your first speaker, the colon character, and then the characters .* (period - asterisk). Next, click on the Use Regular Expression button (also looks like a period and asterisk) just to the right of the search bar. This will select all of the lines for your first speaker.
You'll want to quickly scan through each line of your transcript to assure that there aren't any missing or un-selected lines for this speaker. If there are, add a new label for that line, or backspace the line until it's joined with the correct line before it.
Move your cursor to any of the search results, right-click and select Copy all to copy all of the selected lines in the script. Double-click the space to the right of your file's tab to create a new file. Right-click in the body of the new file and select Paste.
The new file may include some formatting that you'll need to remove. Start by removing the line numbers at the beginning by removing the text in the Search bar. Then type:
- 2 spaces (' ')
- backslash, d, plus ('\d+' - this is a regular expression that selects the first number)
- comma (',')
- backslash, d, plus ('\d+')
- colon (':')
- space (' ')
Make sure the "Replace" box is empty. Once complete, click the Replace All button just to the right of the "Replace" text box which will remove the line number prefix from your labels. Afterward, you can remove the extra title at the top.
You now have an extracted transcript that can be used to sync with your first audio file using the Import Transcript process.
Repeat this process for each other speaker label in your script until all files have been imported into Descript.