Audio
The audio family identifies audio formats from the leading bytes of a file.
Supported formats
detect
Identifies the audio format of data from its leading bytes. Returns null in
Node.js and None in Python when the format is not recognized.
detect skips a leading ID3v2 tag. Give it the whole tag and a few bytes of the
audio stream after the tag.
Node.js
Python
DetectedFormat
A format identified by detect.
In Python, DetectedFormat is a final class with read-only properties, and the
type of each property is str.
supportedFormats
Returns the identifier of each format that detect can return.