Add Logic button on the of window.

Use this window to add logic to the Batch Processing list. Construct a logic statement or add labels by using the drop-down list boxes and edit boxes. See the tables below for details. To add logic to skip mono files:

  1. Select "If value of" from the first box.
  2. Select "channels" from the second box.
  3. Select "is equal to" from the third box.
  4. Select "parameter" from the fourth box.
  5. Enter 1 in the edit box below the parameter.
  6. Select "cancel processing this file" from the fifth box.
  7. Choose the Add button.
  8. Choose Close to close the window.
To add logic to paste the clipboard enough times to fill at least 5 minutes:
  1. Select "Label" from the first box.
  2. Enter "Loop" for the label in the right edit box.
  3. Choose the Add button.
  4. Choose Close to close the window.
  5. Choose the button to add a Paste command.
  6. Choose the Add Logic button.
  7. Select "If value of" from the first box.
  8. Select "file length" from the second box.
  9. Select "is less than" from the third box.
  10. Select "parameter" from the fourth box.
  11. Enter 5:00 in the edit box below the parameter.
  12. Select "goto" from the fifth box.
  13. Enter "Loop" in the edit below below "goto".
  14. Choose the Add button.
  15. Choose Close to close the window.
Logic Statements
Statements Description
None Use this statement to unconditionally change the flow of processing by performing a .
Labels are used by the goto to skip ahead or loop back to a specific point in the processing list.
If value of Compares the value of two parameters using the selected comparison operator. Parameters are listed below.
Parameters Description
channels The number of channels in file. This would be 1 for mono, 2 for stereo, 6 for 5.1 surround sound, etc.
sampling rate The sampling rate of the file, such as 44100, 96000, etc.
start marker The position of the start marker in time, such as 00:12.34.
finish marker The position of the finish marker in time, such as 1:23.45.
selection length The duration of the selection.
file length The duration of the entire file.
clipboard length The duration of the audio in the clipboard.
file number The sequential number of the file being processed. The first file processed is 1, the second is 2, the third is 3, etc. Use If value of file number is equal to parameter with parameter set to 1 to do a command for the first file. Or use If value of file number is equal to file count to perform a command for the last file.
file count The total number of files being processed.
parameter Allows you to enter any value for the parameter in the box below this drop-down list.
Command Description
goto Skips ahead or loops back to the given label in the processing list. Enter the label in the box below this drop-down list. Use the statement to add a label in the list.
cancel processing this file Stops processing the current file and starts processing the next file.
error Stop processing and displays an error message. Enter the message in the box below this drop-down list.
terminate all processing Stops all processing. Processing of the current file is stopped and no other files are processed.

See Also: , , ,