What will you do if you want to use scripting in Audacity? Well! This article is especially to guide you on how to use scripting by the use of Python or macros. A very useful menu, called ‘Extra’ contains many options in its sub-menu. One of them is ‘Scriptables II’. The ‘Scriptables II’ sub-menu shows multiple options. Let us see their functioning one-by-one.
When you click on the first option in the ‘Scriptables II’ sub-menu, you will see a dialog box. It will ask you to set three things in all, i.e. first three options say to set time for the audio, the next two are used to set the frequency and the last two to select track audios.
In time, you need to set the start time and then the end time. You can also set the reference time, in reference to which you will select the start and end time.
Then, you can also set the frequency for the audio. There are two options relative to that- High and Low. You can set relative value for both. Then, to select the tracks, you have two options available, i.e. first track and track count.
A dialog box pops up, which lets the user set the properties of the current track in use. You can set the status, audio, and visuals for the tracks using the input boxes in this dialog box. The first input box asks for the name. Writing some string in this box will set the name for the current audio tracks, rather than selecting any other track with that name.
This dialog box lets you choose the type and format for your file. Three types of formats are available. You need to choose any one of them.
This dialog box will ask you for some text message. The purpose of the ‘message’ option is just to test. It will directly send the string or text entered back to you.
This is a sub-function of the ‘get info’ option, we discussed earlier. This takes the input for ‘get info’ commands type.
This will ask for a file name. This will not just ask you to select the file you want to import. Rather, you will need to write the whole file name, including its path. It is mandatory to write the extensions for the file also. Clicking on OK will import the file.
Just like the import dialog box, this will also ask for the name of the file you want to import, in addition to the number of channels. Now, what does it mean by the number of channels? If you want it to be mono, you will enter value -1 for it. In another case, if you want it to be stereo, enter 2 as input in the ‘number of channels’ input box.
Open/ save the project
These dialog boxes will want you to input the name of the file you want to open/ save. You can add them to history also. This will put the file on default, the next time you access these functions.
The ‘Scriptables II’ menu offers multiple functions that appear in its sub-menu. You can choose the option required from the sub-menu list. What are all these functions used for? This article will definitely clear all your doubts and will make editing audios through Audacity fun! Click here to learn more.
Read more articles.
- How to select and create labels in Audacity?
- Delay feature in Audacity
- Start working with Audacity’s DC offset