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
Close
Hashes for playsoundsimple_py-0.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5766ae32a27feb3642ce0057aa9ef93ebfd788cb2fd15e1789d8c1f69b926838 |
|
MD5 | 44a1142a3a98060d6d34f18f887aa535 |
|
BLAKE2b-256 | 3ddc8fb55cb8965ba92e94f039ed2949d6fcce9349d5d3ce2723d4d5abf0478d |