Skip to content

Enhance speech input functionality by enabling audio metering and upd…#290

Open
Guotai812 wants to merge 3 commits into
mainfrom
style/responsiveVoice
Open

Enhance speech input functionality by enabling audio metering and upd…#290
Guotai812 wants to merge 3 commits into
mainfrom
style/responsiveVoice

Conversation

@Guotai812
Copy link
Copy Markdown
Collaborator

…ating voice input button animation. Removed unused voice wave animation asset.

…ating voice input button animation. Removed unused voice wave animation asset.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 31, 2026

Test Results

20 tests   20 ✅  1s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit e4964c2.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 31, 2026

Package Line Rate Branch Rate Complexity Health
BlotzTask 3% 16% 1242
BlotzTask 3% 16% 1242
Summary 3% (1560 / 53888) 16% (180 / 1150) 2484

}: VoiceLevelAnimationProps) => {
const animatedLevel = useSharedValue(clampLevel(normalizeMicLevel(level)));
const motionPhase = useSharedValue(0);
const barCount = Math.max(3, bars);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why max 3

}) => {
const center = (count - 1) / 2;
const distanceFromCenter = Math.abs(index - center);
const emphasis = 1 - distanceFromCenter / Math.max(center, 1);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why max 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants