nvx/apertureAll write-ups
No. 02ENGINEERING · 3 min

Five phones in one room cancelled each other out

Handovex turns a spoken hospital shift handover into a signed, structured record of who said what. I wrote 768 of its 805 commits. The audio cancelled itself, the voices scored almost identical, and the voice ID was dead for a whole session without anyone noticing.

By Cyber security, Monash University

At every shift change, doctors and nurses hand over each patient out loud: who they are, what's going on, what to watch. Hospitals structure it as ISBAR (Identify, Situation, Background, Assessment, Recommendation). It's still mostly spoken, and spoken things get lost.

Handovex records the handover on each clinician's own phone, works out who said what, turns it into an ISBAR record with the tasks pulled out, and everyone signs it. After that the clinical text can't be edited without a trace. We're five founders and a medical advisor, and I wrote every commit to the speech pipeline, speaker ID and the database.

Crowd Favourite + Outstanding Pitch
MedHack 2026
Letters of intent
Alfred Health, St Vincent's
Clinical validation study, planned
Monash Simulation
Who wrote the commits805 commits
  • 95%MineIncludes every commit to the speech pipeline, speaker ID and the database
  • 5%The rest of the team
One handover5 stages
  1. 01

    Enrol once

    5 phrases, 25 s each

  2. 02

    Every phone streams

    16 kHz, 256 ms frames

  3. 03

    Who said what, live

    UNKNOWN, never a guess

  4. 04

    De-identify, then LLM

    ISBAR and tasks

  5. 05

    Review 45 s, everyone signs

More microphones, less audio

Two phones, same voice, slightly out of step
Add them together and the peaks meet the troughs. Louder isn't clearer.

One phone per clinician means five mics hearing the same voices from slightly different distances. I assumed mixing them would help. The sound was arriving a fraction out of step and cancelling itself.

Merging five phones

The merge works over short windows. The phones are lined up in time with GCC-PHAT (a standard way to find the delay between two mics), and the single clearest phone is taken for each window.

Who said what is decided from each phone's own raw audio, never from the merge. The merge destroys the detail voice ID needs.

Everyone sounds like everyone

Speaker ID in two rooms

The right person and the wrong person scored within a few hundredths of each other, and the wobble between single attempts was bigger than that gap.

"Okay" and "yes" were the worst, far too short to identify anyone.

What changed in speaker ID4 stages
  1. 01

    Longer windows

    2.5 s, several overlapping samples

  2. 02

    Two models vote

    Two voice models

  3. 03

    Clear winner only

    Must clearly beat the runner-up

  4. 04

    Votes across phones

    Added up over the whole session

Enrolment audio also gets faint background chatter mixed in, because people enrol somewhere quiet and talk on a noisy ward.

Voice ID was dead and nothing looked wrong

One test session's logs, paraphrased4 lines
speaker.sys_error  x hundreds
[ContentBleed] echo detector firing constantly
vote tally never settled
transcript: every line labelled with the phone's owner1
  1. 1L4The fallback, explained below the code
The shape of the bug, simplified
1class Session:
2    def identify(audio):              # No self
3        ...
4
5    def on_sentence(self, audio):
6        identify(audio)               # NameError, every time
  1. 1L6Python doesn't expose class members inside a method by bare name.

A fallback caught the error and labelled each line with whoever owns the phone. That is sensible when one person talks into their own phone. So nothing crashed and the screen looked fine.

Failing safe

That changed how I build the safety rails.

RailWhat it does
De-identificationFails closed: if it can't run, no text goes to a language model
Short transcriptsUnder 50 characters makes no handover, so the model is never asked to invent one from silence
SavingA save only reports success once the row is saved

Concurrent users

June's notes against the target
  1. 1Folded at about 55 usersOur own notes, June
  2. Target, one department15 users to 20 users
No recorded run at 20 users yet, so I'm not claiming one.
What I built and changed5 stages
  1. 01

    Load-test rig

  2. 02

    Event-loop lag watchdog

    Sleeps 50 ms, measures how late it wakes

  3. 03

    Database calls off the loop

    The blocking ones

  4. 04

    ML threads budgeted

  5. 05

    Post-processing queued fairly

AWS transcription

AWS's medical transcription: connected, took audio, returned nothing
  1. 01

    Reconnect loop

    Wired to the old socket

    Failed
  2. 02

    Partial results

    Never finalised

    Failed
  3. 03

    Medical mode

    Only speaks US English

    Failed
  4. 04

    The service

    Switched off on cost after 29 commits. Nothing lost, code kept behind a flag.

    Shelved

Patient data

AreaWhat it does
Sign-inPassword and authenticator
PhonesEvery phone proves who it is with a login token, and the server trusts the database, not the phone
DatabaseRow-level security on 102 tables
Language modelsIdentifiers swapped for tokens before any text reaches one; calls pinned to Australian regions
How long data is kept
  1. 1Raw audio deleted30 days
  2. 2Unsigned handovers archived90 days
  3. Raw audio kept0 days to 30 days

Accuracy

I can't show an accuracy number yet. There are targets and a benchmark rig, but not a result I'd put my name on. The planned Monash Simulation study is for that.

No comments yet

Comments are read before they appear.