maad.util.get_metadata_file
- maad.util.get_metadata_file(path_audio, verbose=False)[source]
Get metadata asociated with audio recordings in audio file. Metadata includes basic information of the audio file format (sample rate, number of channels, bit depth and file size), and date information from the filename. Note however, that this function is intended for use only with audio files with a self-describing header.
- Parameters:
- path_audiostr
Path to the audio file name.
- verboseboolean, optional
Display error messages. The default is False.
- Returns:
- metadatadictionary
Dictionary with metadata.