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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a89e88509e510e2a7099ac29433956aa224cb373e8c86e5a65435da60534a252 |
|
MD5 | e8b63388b12e715d3297869f6b3ca744 |
|
BLAKE2b-256 | 6595acfc06aa6ae2b4517291280d1ad78e05b454a2a64e4d2be01c7fe837bfc7 |