AudioBox allows the user to play music and sound effects on any platform as long as you have the files.
Project description
AudioBox
AudioBox allows the user to play music and sound effects on any platform as long as you have the files.
Latest Updates:
- Added custom file paths for audio (optional)
Installation
Install via pip:
pip install audiobox
Example Code:
from time import sleep as wait
import audiobox
# Generate example files
audiobox.generate_example_files()
# Play sound effect in a separate thread
audiobox.sfx(filename="example_sfx", times=1, volume=0.5)
wait(audiobox.get_audio_length(filename="example_sfx"))
# Play music with looping enabled
audiobox.play_music(filename="example_music", stop_other=True, loop=True)
# Wait for the duration of the music
wait(audiobox.get_audio_length(filename="example_music"))
# Manage playlist: Add, Remove, Clear
audiobox.add_to_playlist(filename="example_music")
audiobox.play_playlist()
audiobox.remove_from_playlist(filename="example_music")
audiobox.clear_playlist()
Links:
Website: https://tairerullc.vercel.app/
Contact 'tairerullc@gmail.com' for any inquiries, and we will get back to you at our earliest convenience. Thank you for using our product, and happy coding!
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
audiobox-0.0.6.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audiobox-0.0.6.tar.gz.
File metadata
- Download URL: audiobox-0.0.6.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
481ce60d0b0775f79b7301dd35041515263c577ef25dd2a0d3dbff7ac4bff3e2
|
|
| MD5 |
af5592859c57475c13596a9f105f07e6
|
|
| BLAKE2b-256 |
e8c2a68de69dabf24202311466f883b740a96b0b7731bd42fb6a46cdec051b81
|
File details
Details for the file audiobox-0.0.6-py3-none-any.whl.
File metadata
- Download URL: audiobox-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e29f7adc6b7b95c2a2d5e61fed525345bfa5f2af95df43b664164923326cfe5
|
|
| MD5 |
d3517908a2d998811cd35239604b133b
|
|
| BLAKE2b-256 |
d7e7dec9562a9964fc39ff4844007cade3eb34813ecd5903f6269024742b855f
|