dictation-service/test_keybindings.sh
Kade Heyborne 73a15d03cd
Fix dictation service: state detection, async processing, and performance optimizations
- Fix state detection priority: dictation now takes precedence over conversation
- Fix critical bug: event loop was created but never started, preventing async coroutines from executing
- Optimize audio processing: reorder AcceptWaveform/PartialResult checks
- Switch to faster Vosk model: vosk-model-en-us-0.22-lgraph for 2-3x speed improvement
- Reduce block size from 8000 to 4000 for lower latency
- Add filtering to remove spurious 'the', 'a', 'an' words from start/end of transcriptions
- Update toggle-dictation.sh to properly clean up conversation lock file
- Improve batch audio processing for better responsiveness
2025-12-04 11:49:07 -07:00

24 lines
720 B
Bash
Executable File

#!/bin/bash
# Test script to verify keybindings are working
echo "Testing keybindings..."
# Check if services are running
echo "Dictation service status:"
systemctl --user status dictation.service --no-pager -l | head -5
echo ""
echo "Keybinding listener status:"
systemctl --user status keybinding-listener.service --no-pager -l | head -5
echo ""
echo "Current lock file status:"
ls -la /mnt/storage/Development/dictation-service/*.lock 2>/dev/null || echo "No lock files found"
echo ""
echo "Keybindings configured:"
echo "Alt+D: Toggle dictation"
echo "Super+Alt+D: Toggle AI conversation"
echo ""
echo "Try pressing Alt+D now to test dictation toggle"
echo "Try pressing Super+Alt+D to test conversation toggle"