Skip to content

CopySpeak v0.0.5

Choose a tag to compare

@github-actions github-actions released this 24 Mar 21:35

Added

  • Global hotkey configuration β€” Configurable keyboard shortcut to trigger TTS

    • hotkey config field with modifier + key format (e.g., "Ctrl+Space")
    • Hotkey capture component in settings UI
    • Backend IPC: register_hotkey with global-shortcut plugin
    • Hotkey re-registration on config change
  • Listening toggle β€” Enable/disable clipboard monitoring via listen_enabled config

    • Toggle in quick-settings dropdown and app-footer
    • Backend IPC: set_listening, get_listening commands
    • Persisted to config, synced via config-changed event

Fixed

  • HUD progress bar and marquee timing β€” Accurate playback duration via cross-window event

    • HUD window and main window have separate JS contexts with separate hudStore instances
    • playbackStore in main window decodes audio via Web Audio API to get accurate duration
    • Emits hud:audio-duration event which HUD window receives and updates its hudStore
    • Progress now shows accurate percentage based on AudioBuffer.duration
    • Marquee animation timing now matches actual playback duration
    • ElevenLabs MP3 duration now accurately determined via Web Audio decode (not server estimate)
  • Audio playback on clean Windows 11 β€” AudioContext now resumes if suspended

    • Web Audio API requires user gesture to activate AudioContext on fresh profiles
    • Added audioCtx.resume() call when state is "suspended" in playback-store