Active Speaker Ring

A ring that thickens with the speaker's voice, plus a mute badge, so silence and muted never look the same.

S
Sam
A
Ada
K
Kit
Sam is speaking

Build an active-speaker indicator for a small voice call. Structure: a row of avatars, each with a ring behind it, a mute badge on its corner, and a name below. The ring must be AMPLITUDE, not selection. Update an amplitude value several times a second (about every 140ms) - faster than the speaker itself changes - and drive the ring's scale from it. A ring that only switches on and off reads as a selection highlight; one that moves with the voice reads as the voice. Build the ring as an absolutely-positioned element BEHIND the avatar, inset slightly negative, and animate its scale. Nothing in the layout may move - the avatar and its neighbours must not shift a pixel while the ring breathes. Use a spring (stiffness ~300, damping ~18) so it settles like a level meter rather than sliding between values. Muted is a BADGE, not an absent ring. Silence and muted are different states, and showing both as "no ring" is how people talk for a minute before someone tells them. Put a small mic / mic-off badge on each avatar's corner, red when muted. Also change the NAME's weight and colour for the active speaker, so the answer survives a glance that misses the ring. Accessibility: a visually hidden live region announcing "<name> is speaking", so a screen reader gets the answer without putting a caption on screen for everyone else. Under prefers-reduced-motion, give the active speaker a solid ring that does not breathe. Colors as tokens: ink avatars, one accent for the ring and the active name, a reserved status red for the mute badge. Use placeholder names. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.

Rate it
0
0

We'd like to measure how the site gets used, with Google Analytics. It sets cookies. Everything the site needs to work runs either way. How we handle data