Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Cross-platform Python module for decoding compressed audio files

Project description

"" is a cross-platform module for decoding compressed audio files.
It uses external decoders by turning their stdout into a file-like object which is completely compatible with the Wave_read
class from module.

With it you can decode the following file formats:
MPEG Layers 1, 2, and 3 ( *.mp1, *.mp2, *.mp3 ),
MPEG-4 HE-AAC ( *.mp4, *.m4a, *.m4b, *.aac ),
OGG Vorbis ( *.ogg ),
Free Lossless Audio Codec ( *.flac ),
OGG FLAC ( *.oga ),
Windows Media Audio ( *.wma )

In combination with PyAudio, or some similar module/library, you can use "" to play compressed audio files.

For full documentation consult the source code.

Project details

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page