A simple program for adding sound effects to other programs
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
![Product Name Screen Shot][product-screenshot]
Python
Start by downloading AudioPlayer.py
. You will also need to create a folder in the same directory called _Python_SFX
. That's where you will store your .mp3
files.
In addition to downloading AudioPlayer.py
and creating a _Python_SFX
folder, you will also need to download your own sound effects files. These should be .mp3
files with descriptive names. Store them in your _Python_SFX
folder.
-
Download
AudioPlayer.py
-
Create a folder in the same directory as
AudioPlayer.py
called_Python_SFX
-
Legally find
.mp3
files of your choosing online, or create your own. Store them in your_Python_SFX
folder and add their names toAudioPlayer.py
-
That's it! You can now call
AudioPlayer
in other programs to add sound effects to them!
While AudioPlayer
can be used for any audio in any context, one of the handiest and simplest ways to use it is as an alert. For example, if one is running a loop that checks prices, AudioPlayer
could be used as an audio alert if the price
variable drops below a certain threshold
value.
Example:
...
if price < threshold:
AudioPlayer.playSound('Navi Hey')
...
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Your Name - @Fort1Evan - [email protected]
Project Link: https://github.com/EvanGottschalk/AudioPlayer
Thinking about contributing to this project? Please do! Your Github username will then appear here.