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.1.post2.tar.gz
.
File metadata
- Download URL: playsoundsimple_py-0.8.1.post2.tar.gz
- Upload date:
- Size: 6.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca075447eb3728ffa65775f96d9271c2c689cc73c5899e2a1b20ca748430e1a4 |
|
MD5 | 396a5469519572a891e2d25af65168f3 |
|
BLAKE2b-256 | 983c6e58fdbed8221ae99efc987184b68ea4bc17cf8bf0a571ac07fed0e9421b |
File details
Details for the file playsoundsimple_py-0.8.1.post2-py3-none-any.whl
.
File metadata
- Download URL: playsoundsimple_py-0.8.1.post2-py3-none-any.whl
- Upload date:
- Size: 6.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dccd37e3b02691351e8f478fcf278f5b80681a092d8181c1ffccbc9e6adfb792 |
|
MD5 | 47a31041c8fa605750262cb47c8fd79c |
|
BLAKE2b-256 | 8620a22cc3e33aaaaa005559c863f5aa50037dd3ea0f1447a78c1d9abce89dd3 |