v0.6.5 — Two-tone audible alarms

Both standard/technical and critical alarm sounds now consist of two distinct
successive pitches. Critical alarms retain their priority and faster repeat
interval; standard alarms retain their slower cadence. The Admin test button
plays the standard two-tone alert. A single QRS beep is reserved for a later
release and is not generated yet. No visual alarm or simulation logic changed.
This commit is contained in:
GABRIEL Sebastian 2026-11-12 21:04:35 +01:00
commit 196ed03a3d
8 changed files with 267 additions and 46 deletions

View file

@ -1,4 +1,4 @@
# Patient Monitor Simulation (PaMSim) — v0.6.4
# Patient Monitor Simulation (PaMSim) — v0.6.5
A Rust/GTK4 patient-monitor simulator with two main windows for teaching on Fedora Linux.
@ -166,17 +166,21 @@ The monitor can be resized and toggled fullscreen with **F11**; **Esc** exits
fullscreen. On Wayland, move the monitor to the presentation screen before
activating fullscreen. Fullscreen does not lock down the computer.
## Audible alarms (v0.5.3)
## Audible alarms (updated v0.6.5)
Sound is **enabled by default**. The Admin window has an **Audible alarms**
checkbox for muting and a **Test tone** button (works even while muted).
Visual alarms keep blinking normally when sound is off.
- **Critical rhythm alarm:** VT, PVT, VF and asystole produce a double beep
(two short 880 Hz tones), repeated approximately every 1.5 seconds.
- **Critical rhythm alarm:** VT, PVT, VF and asystole produce a higher-pitched
**two-tone** alert (880 Hz followed by 1160 Hz), repeated approximately
every 1.5 seconds.
- **Numerical and SpO₂ technical alarms:** out-of-range values, **NO SENSOR**
and **NO READING** produce a single 700 Hz beep, repeated approximately
every 2.5 seconds.
and **NO READING** produce a lower-pitched **two-tone** alert
(700 Hz followed by 950 Hz), repeated approximately every 2.5 seconds.
- Both alarm signals use two **different successive pitches**, separated by
a brief silence. A distinct **single QRS beep is reserved for future work**;
QRS-related audio is not yet implemented.
- Critical alarms have priority: only one tone pattern is played even if
multiple alarms are active. The sound stops when all alarms clear or when
the checkbox is unchecked. Alarms on hidden monitor channels are excluded.
@ -634,3 +638,12 @@ are saved with Apply; Measure now starts a cuff cycle immediately regardless
of Auto. Both monitor and Admin display the selected settings. Other monitor
menus remain limited to alarm thresholds; NIBP cuff placement, the simulated
failed-reading option and non-NIBP signal settings remain Admin-only.
### v0.6.5 — Two-tone audible alarms
Both standard/technical and critical alarm sounds now consist of two distinct
successive pitches. Critical alarms retain their priority and faster repeat
interval; standard alarms retain their slower cadence. The Admin test button
plays the standard two-tone alert. A single QRS beep is reserved for a later
release and is not generated yet. No visual alarm or simulation logic changed.