A wrapper around macOS afplay
Project description
afplay-py
A python wrapper around the macOS tool afplay
(audio-file player).
Installation
From pip:
pip install afplay-py
From source (from the root project directory):
pip install .
Quick Usage
Play an audio file:
from afplay import afplay
afplay("path/to/file.mp3", volume=2, time=100, leaks=True)
Check if afplay
is installed:
from afplay import is_installed
print(is_installed())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
afplay-py-0.2.0.tar.gz
(2.2 MB
view details)
Built Distribution
File details
Details for the file afplay-py-0.2.0.tar.gz
.
File metadata
- Download URL: afplay-py-0.2.0.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/6.2.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 374cb821aa4d97828b64768f76940f587299b2afb9bed7952d31b2fd0917203c |
|
MD5 | 608515005486dcebd1ab007c27977114 |
|
BLAKE2b-256 | f5df5e9e0cb9c4a8cd89b8c8deaaa0aea7e85216475a466ba0a22a3723319eb8 |
File details
Details for the file afplay_py-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: afplay_py-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/6.2.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4280b60af193779be9fe86efa28387bbf87e2378357338cdb6482bbe58bdd913 |
|
MD5 | 3253444936bb650dfd4b861502b23cdc |
|
BLAKE2b-256 | f403996bc022b4225a109069d83449e23f78df95d24221b2813691880644c67d |