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 hashes)
Built Distribution
Close
Hashes for afplay_py-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4280b60af193779be9fe86efa28387bbf87e2378357338cdb6482bbe58bdd913 |
|
MD5 | 3253444936bb650dfd4b861502b23cdc |
|
BLAKE2b-256 | f403996bc022b4225a109069d83449e23f78df95d24221b2813691880644c67d |