Skip to main content

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
    1. Download a zip file suitable for your version of Windows.
    2. Unpack the archive anywhere, but it is recommended to put it in a folder C:\Program Files\FluidSynth
    3. 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]
    4. That's it, FluidSynth is installed!
  • Linux:
    • Ubuntu/Debian:
      sudo apt-get install fluidsynth
      
    • Arch Linux:
      sudo pacman -S fluidsynth
      
  • MacOS
    • With Fink:
      fink install fluidsynth
      
    • With Homebrew:
      brew install fluidsynth
      
    • With MacPorts:
      sudo port install fluidsynth
      

More

import playsoundsimple as pss

s = pss.Sound("main.wav")
s.play()
s.wait()

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

playsoundsimple_py-0.8.1.post2.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

playsoundsimple_py-0.8.1.post2-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file playsoundsimple_py-0.8.1.post2.tar.gz.

File metadata

File hashes

Hashes for playsoundsimple_py-0.8.1.post2.tar.gz
Algorithm Hash digest
SHA256 ca075447eb3728ffa65775f96d9271c2c689cc73c5899e2a1b20ca748430e1a4
MD5 396a5469519572a891e2d25af65168f3
BLAKE2b-256 983c6e58fdbed8221ae99efc987184b68ea4bc17cf8bf0a571ac07fed0e9421b

See more details on using hashes here.

File details

Details for the file playsoundsimple_py-0.8.1.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for playsoundsimple_py-0.8.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 dccd37e3b02691351e8f478fcf278f5b80681a092d8181c1ffccbc9e6adfb792
MD5 47a31041c8fa605750262cb47c8fd79c
BLAKE2b-256 8620a22cc3e33aaaaa005559c863f5aa50037dd3ea0f1447a78c1d9abce89dd3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page