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

Feature Request: Play sound when timer is up #1034

Open
johnnyitd opened this issue Jun 2, 2024 · 6 comments
Open

Feature Request: Play sound when timer is up #1034

johnnyitd opened this issue Jun 2, 2024 · 6 comments
Labels
feature New feature or request good first issue Good for newcomers

Comments

@johnnyitd
Copy link

Hello.
Just found out about Ontime and it's great. Even better than a paid software of this kind.

I run a 1 man show, so there is no sound engineers and lightning guys running around. Is it possible to play sounds when the timer reaches zero? A notification of some sort. I just can't keep my eyes on the clock all the time. Would be extremely helpful.

@cpvalente
Copy link
Owner

Hi @johnnyitd,

First of all, thank you for your kind words, it is encouraging to receive positive feedback from users.
I also appreciate that users take to get involved with Ontime, good stuff!

As for your request, I have generally been against including sounds in Ontime.
Mostly in principle:

  • Ontime provides integrations which make it easy to get another software to do this
  • Once we add this to Ontime, there will be a (reasonable) expectations on features around this (upload sound files, different sounds for different alerts / events, configure which views use the feature...)

However, I have received this request often enough that I will reconsider.

Could you provide some feedback as to how a minimum viable product would look like?
How long does the sound play for? A single "pling" once the timer reaches 0?
In which views does it play?

@johnnyitd
Copy link
Author

Well yeah, in theory I could start up vMix or qLab to get HTTP request and play the sounds.
But it would take around 2 hours to set it up and will always require to run them side by side. Not very convenient and a hassle to use every time. If you know any easier way, please let me know :).

I imagined that there will be an option in the settings to play a notification sound when the timer ends. Cue countdown ends and the sound goes.

A more complicated approach would have an option to upload your .wav or .mp3 file. And maybe an option to repeat the notification if timer is still going down.

@alex-Arc
Copy link
Collaborator

alex-Arc commented Jun 3, 2024

Are you expecting the sound to play in the client views or from the server?

@johnnyitd
Copy link
Author

If it would play in browser window where you open production clocks it would be great.

@alex-Arc alex-Arc added the feature New feature or request label Jun 3, 2024
@kev-ac
Copy link
Contributor

kev-ac commented Jun 4, 2024

If it would play in browser window (...) it would be great.

This could be a problem because of autoplay policies of major browsers. You might not be able to definitely make sure that the sound will play. Browsers could deny the request if it did not proceed any user interaction.

@cpvalente
Copy link
Owner

Hi @johnnyitd

I had a change of mind relating to this feature and I believe we should prioritise the implementation of a minimal feature.

We are currently reviewing the specifications of the views and will try to include this

Feature specification

  • in the view settings, user should be able to enable a "play sound on end" toggle
  • this sound is loaded in the app and not configured by the user
  • if the above is enabled the /timer view will play a sound as described. We would need to generate an event in the client when the timer phase goes from danger to overtime
  • there should be a parameter (mute: Boolean) override in ParamEditor to disable this for a single client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants