Application icon

Test File Type

This statement is used to modify the action test state based on files being one of a specified list of audio types. You can test if any file is one of, all files are one of or no file is one of. You can also specify that the result is to be SET, ANDed or ORed to the action test state. When running grouped, the any file is one of and all files are one of modes are equivalent.

When testing for MPEG-4 files you can match All, AAC or ALAC files. When testing for OGG files you can match All, Vorbis or Opus files.

You can choose to save the results of the test to the per file test state or a track variable for each active file. When doing so, the Set, And, Or semantics are applied, therefore cumulative tests will be saved as expected. The result stored to a track variable will always be a 0 or 1. See the if - else - endif statement for additional information.


Specifying the File Types at Runtime

If Determined at runtime is enabled, you list the filetypes you wish to test in a specified named variable. File types are delimited by newline characters (\n), commas (,), or the default list delimiter (\~). The file types are case insensitive and can be any of: AAC, AIFF, ALAC, APE, DFF, DSF, FLAC, MPEG-4, MP3, OGG, OPUS, VORBIS, WAV, WAVPACK.

If more than one of MPEG-4, AAC and ALAC is specified only the last will be used.

If more than one of OGG, VORBIS and OPUS is specified only the last will be used.