dcase_util.utils.FileFormat.detect_based_on_filename

classmethod FileFormat.detect_based_on_filename(filename)[source]

Detect file format based on filename.

Parameters
filenamestr

Path to the file

Returns
str

File format label