Release v26.04.14.3 — Live amplitude mic pulse #23

Merged
bvandeusen merged 0 commits from dev into main 2026-04-14 22:54:48 -04:00
bvandeusen commented 2026-04-14 22:54:38 -04:00 (Migrated from git.fabledsword.com)

Summary

The mic button now pulses in real time with mic input so the user has obvious feedback that audio is being picked up.

  • VoiceState carries a normalized 0..1 amplitude, fed from the existing onAmplitudeChanged subscription (already used for silence detection). A 0.02 change threshold keeps rebuild traffic sane.
  • VoiceMicButton drops its constant-rate AnimationController and replaces it with AnimatedScale + animated glow driven by the live amplitude. 0.1 floor keeps the button breathing on silence; 120ms ease-out smooths between the 200ms amplitude samples.
  • All three call sites (chat, briefing, top app bar) pass amplitude through.

Test plan

  • Enter voice mode on chat — mic button grows and the red halo expands with your voice.
  • Go silent — button settles to a soft breathing pulse instead of locking rigid.
  • Exit voice mode — button returns to idle with no lingering transform.
## Summary The mic button now pulses in real time with mic input so the user has obvious feedback that audio is being picked up. - `VoiceState` carries a normalized 0..1 amplitude, fed from the existing `onAmplitudeChanged` subscription (already used for silence detection). A 0.02 change threshold keeps rebuild traffic sane. - `VoiceMicButton` drops its constant-rate `AnimationController` and replaces it with `AnimatedScale` + animated glow driven by the live amplitude. 0.1 floor keeps the button breathing on silence; 120ms ease-out smooths between the 200ms amplitude samples. - All three call sites (chat, briefing, top app bar) pass amplitude through. ## Test plan - [ ] Enter voice mode on chat — mic button grows and the red halo expands with your voice. - [ ] Go silent — button settles to a soft breathing pulse instead of locking rigid. - [ ] Exit voice mode — button returns to idle with no lingering transform.
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledApp#23