Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound on start page #10

Open
sonbinome opened this issue Dec 5, 2024 · 2 comments
Open

Sound on start page #10

sonbinome opened this issue Dec 5, 2024 · 2 comments
Labels
question Further information is requested

Comments

@sonbinome
Copy link

Hello,
I like your plugin and I would like to know if is it possible to have sound on start page.
Sound must be stopped when I choose "take a photo".
Thanks in advance.

PS: sorry for my bad english

@sonbinome
Copy link
Author

Sorry, but when I read file plugin.py, I see wait state.
Need only create wait.wav file ?

@werdeil
Copy link
Member

werdeil commented Dec 6, 2024

Hi @sonbinome, you have understood the behavior, if you want a sound to be played when entering a state, simply name it {state}.wav (wait.wav).

If you want this sound to be played in loop while we are still in the state for example if you want to play some birds sounds while waiting, name it {state}_loop.wav (wait_loop.wav)

@werdeil werdeil added the question Further information is requested label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants