pibooth-sound-effects
pibooth-sound-effects is a plugin for the pibooth application.
It adds sound effects to the application. By default:
When entering the layout selection –> click (choose.wav)
When a layout is selected –> click (chosen.wav)
During the countdown –> beep each second (preview_countdown.wav)
When a picture is taken –> shutter (capture.wav)
When entering the “thank you” screen –> applause (finish.wav)
Sounds can be customized (see below).
Requirements
pibooth 2.x
Python 3.10 or later
A working sound output (if no audio device is found, the plugin is disabled and a warning is logged)
Install
$ pip3 install pibooth-sound-effects
Configuration
Here below the new configuration options available in the pibooth configuration. The keys and their default values are automatically added to your configuration after first pibooth restart.
[SOUNDS]
# Path to the sounds folder
sounds_path = ~/.config/pibooth/sounds
# Delay in seconds before playing the capture sound (to synchronize it with the camera shutter)
capture_delay = 0.0
Customize sounds
Sound files shall be .wav and have the name of the state in which it shall be played (e.g. {state}.wav). If you want to play the sound in loop, just add “_loop” in the name (e.g. {state}_loop.wav).
Available states are: wait, choose, chosen, preview, capture, processing, print and finish.
For example at the print level:
if it exists, the sound named print.wav will be played once, when entering the state
if it exists, the sound named print_loop.wav will be played in loop until the state is left.
Looping sounds are stopped as soon as the state is left. For instance, a background music can be played on the start screen with a wait_loop.wav file: it will stop when the user presses the button to take a picture.
Custom sounds can be added by adding or replacing existing sound files of the sounds folder (by default ~/.config/pibooth/sounds) with custom ones. Run pibooth --reset to restore the default sounds.
Specific features
In addition to the standard {state}.wav and {state_loop}.wav states, other sound files are accepted in preview state:
if you have a preview sound (preview.wav file), then it will play when entering the state,
if you want to play the same sound for each time of the countdown, name it as preview_countdown.wav,
if you want to play different sounds for each time of the countdown, simply add corresponding files in the sound folder (e.g.: 3.wav, 2.wav, 1.wav)
Some cameras take a moment to actually shoot the picture once the capture is triggered. In this case, use the capture_delay option to delay the capture.wav sound and synchronize it with the camera shutter.
Metadata
Release files for pibooth-sound-effects 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pibooth_sound_effects-0.1.0.tar.gz | 928.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pibooth_sound_effects-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / pibooth_sound_effects-0.1.0.tar.gz
| Download URL | pibooth_sound_effects-0.1.0.tar.gz |
|---|---|
| Size | 928.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
095b33031946434cd1eec8a78efd65698110ead2fbcdf1284e5a7665ef8ffeab
|
|
BLAKE2b-256 checksum How to use checksums |
7fb0e02d6e56fa700a986c96e6beee6eb6b11e6b3b34f14c345c330f9b7c6bf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency logRelease files / pibooth_sound_effects-0.1.0-py3-none-any.whl
| Download URL | pibooth_sound_effects-0.1.0-py3-none-any.whl |
|---|---|
| Size | 937.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9e68c9cd1c560bb376b428de2cd4d9b3a12caa48893b1ed8ff7fa67f8c6ddee
|
|
BLAKE2b-256 checksum How to use checksums |
6c3371066a5b80030a36130f626e207d068eeb24601761acb719632a609d6a18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.
Transparency log