Menu

#87 Play sound in judotimer also when in slave mode

open
nobody
None
1
2025-07-28
2025-07-28
rd_rnnr
No

Currently a judotimer slave instance doesn't play any sound.

For our hardware setup it would be very helpful, when a judotimer slave instance would be able to play sound like the master instance (no configuration syncronization, just the sound file that is selected at the slave instance).

In our hardware setup the master instances are running on notebooks and the slave instances run on Raspberry Pi's using a TV screen (with better sound) to display the score. The notebook sound can be muted when not needed.

In the code i guess the following changes would be necessary: When the slave instance receives a "MSG_UPDATE_LABEL" message, currently "update_label()" is called, that in case of "START_BIG" and "STOP_BIG" only uses "display_big()" to display the message but doesn't play the sound. Calling "play_sound()" like in the beep-function inside the stopwatch code could do the trick.

Discussion

Anonymous
Anonymous

Add attachments
Cancel