Skip to main content

Python module that decodes compressed audio files

Project description

decoder.py is a cross-platform module for decoding compressed audio files.

It uses external decoders by turning their stdout into file-like object which is completely compatible with wave.py module i.e. with its Wave_read class.
Supported filetypes:
MPEG layers 1, 2 and 3 (*.mp1, *.mp2, *.mp3)
MPEG-4 (HE-AAC) (*.mp4, *.m4a, *.m4b, *.aac)
OGG Vorbis (*.ogg)
Windows Media Audio (*.wma)

You can use 'decoder.py' in combination with audiodev or PyAudio library or some similar module to play compressed audio files.

For further information consult the source code.

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page