Skip to main content

A Python library that makes playing audio simple.

Project description

pypat

pypi cicd

pypat is a Python library that makes playing audio simple. pypat uses FFmpeg to provide robust support for virtually any audio format and SDL2 to play back audio.

Prerequisites

Install Prerequisites before installing.

Install

pip3 install pypat

Example

>>> import pypat

# Play a file
>>> pypat.play('amerika.mpga')

# Skip the current file
>>> pypat.skip()

# Pause audio playback
>>> pypat.pause()

# Resume audio playback
>>> pypat.resume()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypat-0.6.1.tar.gz (33.8 kB view hashes)

Uploaded source

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