Console-Lite icon indicating copy to clipboard operation
Console-Lite copied to clipboard

Add beep sounds when time is up

Open XieJiSS opened this issue 8 years ago • 3 comments

Hello, I'm a BJMUNer and I noticed that the Dais need to knock the microphone when there's 1/3 of time (30 seconds for 120 seconds speech) left or time's up. And many of times they forgot that. How about adding a new feature, for example, add a <audio></audio>, to prevent that from happening? Thank you.

XieJiSS avatar Aug 08 '17 15:08 XieJiSS

Quick patch:

let audioBeep = $('audio');
audioBeep.src = 'path/to/beep.wav';
audioBeep.css('display','none');
timer.on('timesup', () => {
    audioBeep.appendTo($(document));
    audioBeep.get(0).autoplay = true;
});

大概就是这么个意思,手机上打字不太方便2333

XieJiSS avatar Aug 10 '17 03:08 XieJiSS

Thanks for your report. This has been a long-awaited feature, so I'll try to make it happen as soon as I have some free time. As I have been busy with my study, this project have been inactive for a long time, and I'm sorry for the inconvenience.

Regarding that all timers/lists are designed to work in parallel, and the projector window is separate from the controller window, I assume the timer/list that is being projected can ring a bell.

CircuitCoder avatar Sep 18 '17 03:09 CircuitCoder

iNotify seems good and light-weight (no dependencies, ~4KB)

XieJiSS avatar Sep 25 '18 08:09 XieJiSS