A simple library for playing sound files.
Project description
playsoundsimple.py
Description
Library for working with sound files of the format: MP3
, WAV
, OGG
,FLAC
, MIDI
.
Installation
pip install playsoundsimple.py
About MIDI support
In order to play MIDI files you need to install FluidSynth:
- Windows: Releases
- Download a zip file suitable for your version of Windows.
- Unpack the archive anywhere, but it is recommended to put it in a folder
C:\Program Files\FluidSynth
- Next, open
Settings
>System
>About the system
>Additional system parameters
>Environment variables
>[Double click on Path]
>Create
>[Enter the full path to the folder with FluidSynth]
- That's it, FluidSynth is installed!
- Linux:
- Ubuntu/Debian:
sudo apt-get install fluidsynth
- Arch Linux:
sudo pacman -S fluidsynth
- Ubuntu/Debian:
- MacOS
More
import playsoundsimple as pss
s = pss.Sound("main.wav")
s.play()
s.wait()
Author
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
Built Distribution
File details
Details for the file playsoundsimple_py-0.8.4.tar.gz
.
File metadata
- Download URL: playsoundsimple_py-0.8.4.tar.gz
- Upload date:
- Size: 6.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab8914ec2b8ddb12fe88c803cc5bd6730f0d39e0a2b143e5a36faae166d99ac8 |
|
MD5 | d049043840e1f9cd3eabc8ede1eb2971 |
|
BLAKE2b-256 | 44bd7f8a3ea7b0020d48de1b1847c7caab03cb0c7c8aad0ae023341e2ad13dfb |
File details
Details for the file playsoundsimple_py-0.8.4-py3-none-any.whl
.
File metadata
- Download URL: playsoundsimple_py-0.8.4-py3-none-any.whl
- Upload date:
- Size: 6.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b3ce67cfd4de85b416f316d58d707b0364e85252d21e54968e177a0a7704669 |
|
MD5 | 5b1682df9e9711aa667ecbb1794be343 |
|
BLAKE2b-256 | 02db43e2ff847ba632e8cfc1c754cadc429be7b07ceb37995e7fc628ad736e6d |