# PAT Audio Technician (PAT)
PAT is a Python library used to play audio files. If you have audio files and want to play them using
Python, PAT the Audio Technician is at your service.
## How does it work?
PAT uses ffmpeg for audio decoding and resampling. SDL is used to play audio using the sound card.
Everything is written in C, but the Python C Extension interface allows PAT to be used through the
## How do I install it?
1. Install Python
2. Install ffmpeg
3. Make sure the ffmpeg shared libraries (.dll/.so) are available for linking with PAT (On Linux,
this means that they are in a shared library location. On Windows, this means that they are on
4. Install pataudiotechnician using PIP
## How do I use it?
PAT is currently under very active development, and the API WILL BREAK on occasion; however, one
can currently play audio files.
>>> import pat
# Queue an Audio File for Playback
# Find Out How Many Bytes are Queued in the Audio Buffer
# Stop Playback
## Can PAT be used with programming languages other than Python?
All of the Python-specific code is just a wrapper, so porting PAT would be relatively easy. If
you are using C/C++, you can use the functions declared in pat.h and link with ffmpeg. Any other
programming languages can use the Python wrapper as a guide for porting efforts.
## Licensing Considerations
You must link against an LGPL version of ffmpeg if you wish to bound by the terms of the LGPL.
TODO: Brief introduction on what you do with files - including link to relevant help section.