Audio Book Reader: Read .epub, .rtf, and .txt as audio books!
Posted by RNRetailer@reddit | Python | View on Reddit | 5 comments
https://github.com/RNRetailer/audio-book-reader
What My Project Does
This program is for the Linux terminal.
It breaks text files into lines and reads them out loud one line at a time.
Your progress for each file is stored in a .json file.
You can choose to skip to a certain line by passing it as a parameter when running the script.
Please make an issue or a pull request if you think any changes are needed.
Thanks!
Target Audience (e.g., Is it meant for production, just a toy project, etc.)
Anyone who uses Linux and wants to have a text file read out loud to them.
Comparison (A brief comparison explaining how it differs from existing alternatives.)
I haven't looked into alternatives in this space, I just made it on a whim.
TotesMessenger@reddit
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
^(If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads.) ^(Info ^/ ^Contact)
rformigone@reddit
Is there a way to pause and resume? Also, speed up playback?
RNRetailer@reddit (OP)
Right now the only features are skip line, save progress, and start from line.
--
Pause and resume are already implemented by pressing Control + c to close the program (pause).
If you relaunch the program it will pick up from the most recent line (resume).
--
Speed up and slow down are not possible with mpg123.
If I switch to ffplay it would work.
For example:
`ffplay -v quiet -nodisp -af "atempo=2" temp.mp3`
would play it back at 2x speed.
RNRetailer@reddit (OP)
I added playback speed selection, language, accent, line width, and more today.
ConfucianStats@reddit
nice