test_tts
Evaluate and test text-to-speech functionality using Windows' built-in Speech API, enabling playback control, speed, and volume adjustments for accurate system performance assessment.
Instructions
TTS 시스템 테스트
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- windows_tts_mcp/main.py:424-447 (handler)The handler function for the 'test_tts' MCP tool. It tests the Windows TTS system by playing a test message using powershell_tts in a background thread and returns a status message.@mcp.tool() def test_tts() -> str: """TTS 시스템 테스트""" try: if platform.system() != "Windows": return "[ERROR] 이 TTS 서버는 Windows에서만 작동합니다" test_text = "Windows TTS MCP 서버 테스트입니다" def _test(): success = powershell_tts(test_text) if success: safe_print("[SUCCESS] TTS 테스트 성공") else: safe_print("[ERROR] TTS 테스트 실패") thread = threading.Thread(target=_test, daemon=True) thread.start() return "[TEST] TTS 테스트를 시작했습니다" except Exception as e: return f"[ERROR] TTS 테스트 오류: {str(e)}"