Commit Graph

10 Commits

Author SHA1 Message Date
f675ac4049 fix: add PLAY_SOUND flag and stop_audio functions to halt playback in play.py 2025-01-19 01:30:39 +00:00
d6e3f4cd10 fix: add explicit None check for audio_content before decoding in tts function 2025-01-19 01:19:13 +00:00
7187ad616f chore: replace synchronous file write with async version in config loader 2025-01-18 14:49:02 +00:00
d2a50bbd83 fix: rename play_audio to play_audio_async in gcloud.py tts function and remove redundant return statement 2025-01-18 14:44:44 +00:00
3b1a9c1b8c fix: add missing colons to async for and async def statements in gcloud.py and play.py 2025-01-18 14:42:26 +00:00
9073445368 fix: replace blocking play_audio with async generator yielding playback duration in gcloud tts 2025-01-18 14:40:31 +00:00
a75a6574ba feat: add async play_audio_async generator with pygame mixer polling loop
Introduce an asynchronous generator function `play_audio_async` in `src/rspeech/play.py` that initializes the pygame mixer, loads and plays a given audio file, then yields control every 100ms while the music is still busy, enabling non-blocking audio playback in async contexts.
2025-01-18 14:38:02 +00:00
66ae51ee86 feat: add contact section with email support info to readme
Append a "Need help?" section to the project README, including a contact email address (retoor@molodetz.nl) and a note about the project's limited development timeframe.
2025-01-18 11:11:33 +00:00
bf4b4ba5f2 docs: add project description, setup prerequisites, and usage examples for TTS/STT to README 2025-01-18 11:01:59 +00:00
9cfa51ee80 feat: add initial project scaffolding with speech API modules and build configuration 2025-01-18 10:56:40 +00:00