A Python library that makes playing audio simple.

pip install pypat==0.6.1


PAT (PAT Audio Technician)

PAT is a multi-programming language audio library that makes playing audio simple. Behind the scenes, PAT uses FFmpeg to provide robust support for virtually any audio format and SDL2 to play back audio.

Supported Platforms

  • Linux

Future Supported Platforms

  • Mac OSX
  • Windows

Programming Languages



sudo apt install build-essential cmake ninja-build libavutil-dev libswresample-dev libavdevice-dev libavcodec-dev libavformat-dev libswscale-dev libsdl2-dev

Windows-Specific Instructions

  • All builds and installations need to be run from the 64 bit Visual Studio command prompt.
  • DLLs for FFmpeg and SDL2 need to be on the PATH
  • The environment variables FFMPEGDIR and SDLDIR need to be set to the root directories for FFmpeg and SDL2, respectively.