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.4.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file playsoundsimple_py-0.8.4.tar.gz.

File metadata

  • Download URL: playsoundsimple_py-0.8.4.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.9.13 Windows/10

File hashes

Hashes for playsoundsimple_py-0.8.4.tar.gz
Algorithm Hash digest
SHA256 ab8914ec2b8ddb12fe88c803cc5bd6730f0d39e0a2b143e5a36faae166d99ac8
MD5 d049043840e1f9cd3eabc8ede1eb2971
BLAKE2b-256 44bd7f8a3ea7b0020d48de1b1847c7caab03cb0c7c8aad0ae023341e2ad13dfb

See more details on using hashes here.

File details

Details for the file playsoundsimple_py-0.8.4-py3-none-any.whl.

File metadata

File hashes

Hashes for playsoundsimple_py-0.8.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0b3ce67cfd4de85b416f316d58d707b0364e85252d21e54968e177a0a7704669
MD5 5b1682df9e9711aa667ecbb1794be343
BLAKE2b-256 02db43e2ff847ba632e8cfc1c754cadc429be7b07ceb37995e7fc628ad736e6d

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