dcase_framework.files.AudioFile.save

AudioFile.save(filename=None, bitdepth=16)[source]

Save audio

Parameters:

filename : str, optional

File path Default value filename given to class constructor

bitdepth : int, optional

Bit depth for audio Default value “16”

Raises

——

ImportError:

Error if file format specific module cannot be imported

IOError:

File has unknown file format

Returns:

self