add play pause

This commit is contained in:
jrosh 2025-06-03 15:35:17 +02:00
commit ef58ed1c24
No known key found for this signature in database
GPG key ID: A4D68DCA6C9CCD2D
5 changed files with 161 additions and 25 deletions

View file

@ -1,10 +1,7 @@
# Simple TTS UI
My tts ui program for unix
I made this program as an alternative to my bash script for text chunking and sequential streaming
Screenshot:
![screenshot](./screenshot.png "Screenshot")
Made this program as an alternative to my bash script for text chunking and sequential streaming
## Installation
@ -12,7 +9,7 @@ Dependencies: hexgrad/Kokoro or lucasjinreal/Kokoros and a player aplay/paplay/p
Build dependencies: eframe, egui, atty, tempfile
Set path for TTS: (these settings can be changed after build)
Set path for TTS:
```rust
impl Default for KokoroConfig {
@ -32,4 +29,10 @@ impl Default for KokoroConfig {
Build this app with `cargo build --release`
Then run `echo "Hello, world" | ./target/release/ttsui`
Then run `echo "Hello, world" | ./target/release/ttsui`
Screenshots:
<img src="./assets/screenshot1.png" alt="main view" title="main view" width="497" height="114">
<img src="./assets/screenshot2.png" alt="settings" title="settings" width="464" height="338">