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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b3ce67cfd4de85b416f316d58d707b0364e85252d21e54968e177a0a7704669 |
|
MD5 | 5b1682df9e9711aa667ecbb1794be343 |
|
BLAKE2b-256 | 02db43e2ff847ba632e8cfc1c754cadc429be7b07ceb37995e7fc628ad736e6d |