Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 01 Oct 2016, 10:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
gEread and then some
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
ariel


Joined: 03 Jul 2009
Posts: 114

PostPosted: Mon 01 Nov 2010, 05:09    Post subject:  gEread and then some
Subject description: GUI for espeak + mbrola
 

This package installs three small scripts that can read a txt file with espeak + mbrola voices in Rox. If you are new to espeak have a look at these links:

here and here

Each script is useful in its own right and does a different task.

1- ereadfile allows to read a txt file right-clicking on it and selecting the corresponding entry in the menu.
You can manually link the script located in /usr/bin to the desktop. In this way you can drag and drop a file that will be immediatly read aloud.

2- ereadclipboard allows to read the text contained in the clipboard. You can select a text from an application and listen to it. Nice when you are browsing the internet and want to listen to an article in the meantime. Still better if you link the script to the desktop and assign a keyboard shortcut to it ; then you can easily let your computer read something while you are drinking a beer Smile Just select and press the key you have chosen; or select and click on the icon of ereadclipboard on your desktop. Also works with epdfview, the standard viewer for pdf files in puppy.

3- ereadfile2mp3 allows to convert a txt file into mp3 right-clicking on it.


Note that the scripts lack icons. You can manually add the one I have put in /usr/share/mini-icons/lips.png if you like.

To change the language edit the scripts with a text editor (e.g. mb-en1 could be turned into mb-fr2, mb-it3, etc and en1 into fr1, it4, etc.) and don't forget to put your mbrola voice in /usr/share/mbrola. If it happens that you want to stop the reading of a long file you can do it with Pprocess by cancelling the 'aplay' process Wink

To use these scripts you must have installed at least one mbrola voice and espeak. If you are hassled by the search just download this package with all the needed stuff here .

Tested on puppy 4.x and 5.x lupu.




************** *********** ************* *********** ************** *********** ************* *********** ************** *********** ************* *********** ************** *********** ************* *********** ************** *********** ************* ***********


gEread is a gtkdialog3 gui for puppy linux to read txt and html files with a synthetic voice by using espeak engine and mbrola voices. The program can also convert a file into an audio file with ogg, mp3 or flac encoding by using ffmpeg and has drag-n-drop capability.

Basically it does the same things of eread (see links at the top of the page) but with some more functions, such as to pause during the reading of a file and conveniently browse directories.

The program has been developed with Wary 5.0 but should work with other versions of puppy. Just keep in mind that you must have in your pup gtkdialog3, ffmpeg, espeak and at least one mbrola voice.

------------------
Changelog

v. 0.4
- read clipboard content added
*To read the content of the clipboard you must leave the file selection blank.
*To put a text in the clipboard just highlight the area of text (no need of CTRL+C. That's the linux way Wink )
- an icon path has been fixed. it didn't show correctly in some puppy versions.
- tested with 4.3.1 and slako 5.3.1. It should work with many other puppy versions. With racy 5.3 you have to start the application from a terminal otherwise pause, backwards and forwards do not work. It's a tricky issue and I think it's related to this problem raised by vovchik and up until now I haven't seen a reply to this kind of issues. It has to do with the way jobs are managed by the OS and not all puppy OSs run in same way at a low level.

v. 0.3
- buttons to skip backwards and forwards while reading added
- choice on how much to skip of the file
- mark on the last skipped line
- minor bugs fixed


tested with wary 5.0, lupu 5.2, slacko 5.3
geread-0.3-screenshot.jpg
 Description   
 Filesize   40 KB
 Viewed   617 Time(s)

geread-0.3-screenshot.jpg

geread-0.4.pet
Description  Package with GUI program
pet

 Download 
Filename  geread-0.4.pet 
Filesize  16.82 KB 
Downloaded  282 Time(s) 
ereadfile-screenshot.jpg
 Description   
 Filesize   44.53 KB
 Viewed   1500 Time(s)

ereadfile-screenshot.jpg

ereadfile-0.1.pet
Description  Package for the right-click options
pet

 Download 
Filename  ereadfile-0.1.pet 
Filesize  1.75 KB 
Downloaded  518 Time(s) 

Last edited by ariel on Wed 06 Jun 2012, 14:59; edited 11 times in total
Back to top
View user's profile Send private message Visit poster's website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1438
Location: England

PostPosted: Tue 29 Mar 2011, 20:33    Post subject:  

I have done a lot of work based on your work: http://www.murga-linux.com/puppy/viewtopic.php?p=508817.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send private message Visit poster's website 
ariel


Joined: 03 Jul 2009
Posts: 114

PostPosted: Wed 19 Oct 2011, 21:04    Post subject: gEread - GUI for espeak + mbrola voices
Subject description: gEread - GUI for espeak + mbrola voices
 

gEread is a gtkdialog3 GUI for espeak, a multilingual Text To Speech engine. for the details see first post.
Back to top
View user's profile Send private message Visit poster's website 
ariel


Joined: 03 Jul 2009
Posts: 114

PostPosted: Wed 26 Oct 2011, 03:33    Post subject: gEread v.0.3
Subject description: GUI for espeak
 

new version. now you can skip backwards and forwards while reading a file with espeak Wink
Last edited by ariel on Wed 06 Jun 2012, 14:56; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ariel


Joined: 03 Jul 2009
Posts: 114

PostPosted: Wed 06 Jun 2012, 14:39    Post subject:  

gEread v0.4 is out

-reading text from the clipboard added. see first post.

If you are looking for a version of espeak and en1 voice already packaged follow the link above. I've been testing the torrent for sharing the ready-made package with mbrola voice en1 + espeakedit+espeak. This version of espeak is not up-to-date but works with all versions of puppy I've tested.

[edit]

I've some problems with opening the port that transmission uses for sharing files. I've manually opened it but it seems my modem is preventing transmission to connect to the tracker. It will take some time before I can share the espeak budle with torrent Mad

(Thanks Flash for allowing me to move the post. but while I'm at it, where did you get that grinning muzzle from ?)
Back to top
View user's profile Send private message Visit poster's website 
ariel


Joined: 03 Jul 2009
Posts: 114

PostPosted: Sat 16 Jun 2012, 09:32    Post subject: espeak+espeakedit+en1 bundle  

I've managed to open the riotous port. now I can share the pet package which include

espeak
espeakedit
mbrola voice en1

just download and install it along with gEread. everything should work out of the box.


here attached you'll find the torrent file that should be used with transmission or any other p2p applications. If this test will succeed I'll be sharing other packages with p2p

-------------------------------------------
Edit

as I have still some problems to seed I've uploaded the files here
espeak_espeakedit_mbrola-1.42.04.pet.torrent.tar.gz
Description  torrent
gz

 Download 
Filename  espeak_espeakedit_mbrola-1.42.04.pet.torrent.tar.gz 
Filesize  13.17 KB 
Downloaded  244 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0388s ][ Queries: 12 (0.0039s) ][ GZIP on ]