Skip to content

Conversation

@stonedseeker
Copy link

Implements comprehensive audio feedback system for typing with eyes closed:

  • Added new config options:

    • blindModeAudioFeedback: Controls audio feedback level (off, minimal, full)
    • blindModeSpeechRate: Controls TTS speech rate (0.5-2.0)
  • Created blind-mode-audio-controller.ts:

    • TTS word announcements using Web Speech API
    • Audio beeps for correct/incorrect keypresses using Web Audio API
    • Word completion sounds
    • Test start/completion announcements with stats readout
  • Integrated audio feedback throughout typing flow:

    • Character-level feedback in input controller
    • Word transition announcements
    • Test lifecycle events (start, progress, completion)
  • Added UI settings in settings.html:

    • Audio feedback mode selector (off/minimal/full)
    • Speech rate slider for TTS control

This feature enables users to practice touch typing with their eyes closed by providing audio cues for every action, helping improve muscle memory and typing without visual feedback.

Implements comprehensive audio feedback system for typing with eyes closed:

- Added new config options:
  - blindModeAudioFeedback: Controls audio feedback level (off, minimal, full)
  - blindModeSpeechRate: Controls TTS speech rate (0.5-2.0)

- Created blind-mode-audio-controller.ts:
  - TTS word announcements using Web Speech API
  - Audio beeps for correct/incorrect keypresses using Web Audio API
  - Word completion sounds
  - Test start/completion announcements with stats readout

- Integrated audio feedback throughout typing flow:
  - Character-level feedback in input controller
  - Word transition announcements
  - Test lifecycle events (start, progress, completion)

- Added UI settings in settings.html:
  - Audio feedback mode selector (off/minimal/full)
  - Speech rate slider for TTS control

This feature enables users to practice touch typing with their eyes closed
by providing audio cues for every action, helping improve muscle memory
and typing without visual feedback.
@monkeytypegeorge monkeytypegeorge added frontend User interface or web stuff packages Changes in local packages labels Nov 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and also include the author name at the end inside parenthesis. It looks like your proposed title needs to be adjusted.

Details:

Title "feat: add audio feedback for blind mode typing"
didn't match the configured pattern. Please ensure that the title
contains your name so that you can be credited in our changelog.

A correct version would look something like:

feat: add new feature (@github_username)
impr(quotes): add english quotes (@username)
fix(leaderboard): show user rank correctly (@user1, @user2, @user3)

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes.

@github-actions github-actions bot added the waiting for update Pull requests or issues that require changes/comments before continuing label Nov 4, 2025
- Prefix unused variables with underscore (_isSpeaking, _currentWordIndex, _totalWords)
- Fix audioContext possibly undefined by capturing context in const
- Add void operator for floating promise
- Add missing commandline metadata for blindModeAudioFeedback and blindModeSpeechRate

These fixes resolve all build errors while maintaining functionality.
@github-actions github-actions bot removed the waiting for update Pull requests or issues that require changes/comments before continuing label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff packages Changes in local packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants