pasky / speedread

A simple terminal-based open source Spritz-alike (per-word RSVP aligned on optimal reading points)
MIT License
1.06k stars 93 forks source link

speedread + espeak #27

Closed OrionRandD closed 3 years ago

OrionRandD commented 4 years ago

I am trying to figure out how to use speedread with espeak. I think I have to

cat book.txt | ./speedread -w 230 | espeak

Works, but I cannot see the text words going by. I can only hear espeak - speaking the book

vegan19 commented 3 years ago

Hello. Did you find out?

OrionRandD commented 3 years ago

Hello. Did you find out?

nope. You can close the issue...

WuerfelDev commented 3 years ago

this: cat book.txt | tee >(espeak) | speedread

But syncing the actual output speeds with each other seems rather impossible (for example large numbers take longer to pronounce and it gets out of sync)

vegan19 commented 2 years ago

In 225 line on speedread file I add such line ( don't need remove anything, just create blank line and add there)

system ("espeak -s 200 \"".$current_word."\" 2>&1 >/dev/null &");

Then I run like that: speedread -w 200 But if someone want, they can play with other numbers.

1