Comments (7)
I created audioplayer: a cross platform Python 3 package for playing sounds (mp3, wav, ogg, mid, ...). It provides the key features of an audio player, such as opening a media file, playing (loop/block), pausing, resuming, stopping, and setting the playback volume.
https://github.com/mjbrusso/audioplayer
https://pypi.org/project/audioplayer/
from playsound.
from playsound.
Ok, so I've hacked on the code a bit and took inspiration from some of the better pull requests. It's coming along but I think it may have changed too much to use the same project name.
from playsound.
Ok, I started over and created a new package if anyone is interested:
Might still have a bug or missing feature, especially on mac os, where I've had limited time.
from playsound.
from playsound.
Cross platform it uses PyAudio for tone generation. If it supports those features I could certainly pass the appropriate parameters. Otherwise, it supports Winsound etc, which I don't believe have any features other than presented.
Really, it is a "wrapper" module to play sound events, so I'm not expecting to do much hard-core audio processing unless someone can show me PyAudio or GST code I can cut and paste. Event then, it might not make sense.
from playsound.
At the urging of a friend, I have added a set of tests and set up travis-ci to run them on a few different platforms.
So... I'm now comfortable with fixing bugs myself and accepting PRs so long as they have passing tests and don't cause regressions, but I probably won't be adding any features that aren't already present.
from playsound.
Related Issues (20)
- Not issue but what I did to fix a ton of errors HOT 1
- Releasing new Pypi version HOT 1
- tox fails with FileNotFoundError: [Errno 2] No such file or directory: '/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python' HOT 3
- playsound can be simplified and made less buggy HOT 2
- Cannot specify extra characters after a string enclosed in quotation marks. HOT 3
- change the computer and give me a error
- stop playing sound
- Stops playing sound. Error 263 for command: HOT 2
- Pyodide support
- AttributeError: 'NoneType' object has no attribute 'props' HOT 2
- Installation error: error: subprocess-exited-with-error, OSError: could not get source code HOT 3
- playsound freezes while trying to play HOT 1
- Playground exit code: 1 when installing playground on python311 pip23.1.2 HOT 11
- The `playsound` library encountered an issue when attempting to use the temporary file path in Windows, resulting in an error during playback.
- Compliance with PEP 517 HOT 8
- pip install playsound no longer works HOT 18
- Playsound can't play several mp3 HOT 4
- i can't open a window and play an mp3 at the same time
- Install issues HOT 1
- Segmentation fault on macOS Python 3.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playsound.