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 details)

Uploaded Source

File details

Details for the file pypat-0.6.1.tar.gz.

File metadata

  • Download URL: pypat-0.6.1.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for pypat-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a44bb9454487dcc658a3efae8f63f244685590ed08b9e2f36718107a9b7b7e54
MD5 beaf332932468ecc6851c300f2094d23
BLAKE2b-256 327cc929154b22bea3ed7506b5fbd09c6795c0248353276bfd767c20a9826dc5

See more details on using hashes here.

Supported by

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