Text-To-Speech & Voice Interface for Puppy?

Booting, installing, newbie
Message
Author
mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

Text-To-Speech & Voice Interface for Puppy?

#1 Post by mt0ne »

I have Now installed puppy 5.5, my linux skill is now 001!

Straight away I can't thank you all enough. I'm on-line, listening to tunes and ready to get started and it was so painless!

Strong work!

This machine is an older 2 X 2.2 Ghz with 2G of ram and 200 Gig hard drive. Not quite sure how to get the rest of my sys info yet in puppy.

My job takes my hands and eyes at all times, and my life requires working every minute I can so...

I really need text to speech that works in all windows/ tooltips/etc.
Any spoon feeding here would be greatly appreciated and will be the last I ever need :) I have a huge amount of learning ahead of me now, but I need that information in sound to get anywhere.

I want to start moving towards building a voice interface puplet(?) if one does not already exist. One that allows command, dictation and complex user defined tasks.

I was a Fairly advanced windoze user and can muddle my way through nearly any administrative task/fix and get most anyones machine working the way it should and even disenfect by hand if needed (in most cases). I not a programmer but with sound, that WILL change. I chose puppy because with woof, I can do anything provided I'm smart enough to train a bit myself.

Thanks to everyone for all effort past and future!

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

Hardinfo!

#2 Post by mt0ne »

AH-HA!
Found Menu/System/HardInfo hardware information!
Wow! internal thermostat readouts, Just like that! Things I could never get to before on a silver platter even! I hit generate report with pmusic playing SeaMonkey surfin and powertools running in the room with the trackmouse and still the benchmark part was more than this machine ever offered me before...

Again I say "Strong Work!
Last edited by mt0ne on Mon 26 Aug 2013, 20:01, edited 1 time in total.

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

update

#3 Post by mt0ne »

Instead of aiming for a puplet (distro?) I'm now aiming for a .pet for voice interface.

It's important to point out that because this is a computer in a shop I've opted for a hard drive installation as the optic drive is already pretty iffy.

I've deduced that I'll need the devx.sfs for C/C++ etc and should have that step completed today.
***
Downloaded, mounted as per instructions but the copy command returned an error stating that /mnt/hda2 was not a directory so I changed it to sdf1 which was present and the copy worked fine. Not sure if that's the right place, but as I get my bearings It'll get there.

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

Frugal

#4 Post by mt0ne »

I think I need to back up a few steps and study what exactly the differences are between frugal and full hard drive instalations. anyone following this later should probably start on a frugal install...

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#5 Post by amigo »

text to speech that works in all windows/ tooltips/etc.
This is way beyond what puppy can do. adriane from Knoppix is probably what you want.

mill0001
Posts: 358
Joined: Thu 01 Feb 2007, 16:30
Location: "People's Republik of Kalifornia"

#6 Post by mill0001 »

Hi mtOne: maybe this will help you.

http://www.murga-linux.com/puppy/viewtopic.php?t=72589
Last edited by mill0001 on Thu 27 Jun 2013, 19:49, edited 1 time in total.

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

adriane

#7 Post by mt0ne »

MAN that looks good! Dling the ISO now, thank you!

I shall return... :twisted:

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: Text To Speech & Voice Interface

#8 Post by RetroTechGuy »

mt0ne wrote:This machine is an older 2 X 2.2 Ghz with 2G of ram and 200 Gig hard drive.
"Older"!!??... That's about where my top-of-the-line machine operates... ;-)
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#9 Post by Ted Dog »

Well I was hoping someone else was working on this....

On the one switch thread I'm attempting to speech-a-fy might be useful to you.

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

Distro's

#10 Post by mt0ne »

I have returned... :twisted:

Adriane was neat but super keyboard intensive and I never could get Orca to do anything but tell me it was running...

RE-installed puppy and tried speak-1.45.05-i486.pet but haven't figured out how to find things without menu entries yet

flite-gui_1.4-2.2.pet is the only thing I've got working at the moment out of the random things I've downloaded and tried. It can't seem to get things playing side by side with the pmusic yet, but that may just be me not knowing what I'm doing.

I need to start thinking about which puppy is best for multiple audio streams out and best open source compatibility for whatever is out there.

Or whichever puppy fokSyf Eye R was built in, does anyone know what happened to that project? the Link for the download is a dead-end...

So, my homework this week...
Swap partition
launch / call applications from a prompt of some kind
continue downloading things to partition2 that may help.
***

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: Distro's

#11 Post by RetroTechGuy »

mt0ne wrote:I have returned... :twisted:

Adriane was neat but super keyboard intensive and I never could get Orca to do anything but tell me it was running...

RE-installed puppy and tried speak-1.45.05-i486.pet but haven't figured out how to find things without menu entries yet

flite-gui_1.4-2.2.pet is the only thing I've got working at the moment out of the random things I've downloaded and tried. It can't seem to get things playing side by side with the pmusic yet, but that may just be me not knowing what I'm doing.

I need to start thinking about which puppy is best for multiple audio streams out and best open source compatibility for whatever is out there.

Or whichever puppy fokSyf Eye R was built in, does anyone know what happened to that project? the Link for the download is a dead-end...

So, my homework this week...
Swap partition
launch / call applications from a prompt of some kind
continue downloading things to partition2 that may help.
***
I wonder if the Debian package would do it?

http://packages.debian.org/search?keywords=gnome-speech

Might be something useful here, also:

http://www.debian.org/devel/debian-acce ... y/software
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#12 Post by Keef »

You could try Vinux, which is Ubuntu for the visually impaired.
fokSyf Eye R was by mcewanw, whose site is now down. It is CLI only (text mode apps, but can be run in a GUI environment), but is a very well put together pet. Originally ran on 301, but will work on later pups -- sometimes YASR or speech-dispatcher complain (forget which). Usually a recompile of the offending libs works.
I do have a copy I can post here if you think you might want to try it.

gcmartin

#13 Post by gcmartin »

Hi @mt0ne

Dont know if you have seen this Puppy thread. You may want to join in and test.

This contribution might address much of what you might want. And your testing/finding would help too.

Take a look.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#14 Post by RetroTechGuy »

OK, I just tried the .deb package route... I am running Puppy 5.28.

Here's what I found. Get the following packages:

http://packages.debian.org/wheezy/espeak
http://packages.debian.org/wheezy/espeak-data

http://packages.debian.org/wheezy/libespeak1
http://packages.debian.org/wheezy/libsonic0

(scroll to the bottom of each page, and get the i386 package).

Install each of them... (i.e. click on the .deb archive)

Then, go to /usr/lib/i386-linux-gnu

Drag and copy, or symbolically link libespeak.so.1.1.46 and libsonic.so.0.1.17 into my-applications/lib/
(for some reason, the path for the espeak libraries isn't working correctly)

Then:

Rename libespeak.so.1.1.46 to libespeak.so.1
Rename libsonic.so.0.1.17 to libsonic.so.0

Open a terminal window and type:

Code: Select all

espeak hello
Mine barks some minor error, but then audibly says "hello".

Try also:

Code: Select all

espeak "hello puppy"
(if you don't use quotes, it won't read all the words)
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#15 Post by Ted Dog »

there is an espeak pet that is smaller and has a few useful wrapper scripts.

http://www.murga-linux.com/puppy/viewto ... 96&t=72589

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#16 Post by RetroTechGuy »

Ted Dog wrote:there is an espeak pet that is smaller and has a few useful wrapper scripts.

http://www.murga-linux.com/puppy/viewto ... 96&t=72589
Excellent!
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

Obedient pup

#17 Post by mt0ne »

@gcmartin YES! ->http://www.murga-linux.com/puppy/viewtopic.php?t=88095

@ETP is WIN! This distro is my new 'MAIN' puppy!

I had been hanging out in slacko and racy puppy land and had yet to 'really' try precise. ... DUH!
Not only is this distro THE place to start for all things voice/accessibility, but it also uses whatever xvesa stuff bypasses the nvidia insta-crash of liney doom that has plagued my primary machine! My Vostro is now windows free! Not just safely running linux on a partition free, but owning the whole hard-drive with 10G swap partition, uber storage on sda3 with frugal install on sda1!

Both of my PCs are now in puppy zen! :twisted: FREE at LAST! :twisted:
To Win is not to Win(dows).


Also Following the steps for setup has revealed my first OBVIOUS USER ERROR!
Yaaay!
The wires in my headsets microphone are toast!! Explains a lot! But since I am no longer waiting for my old graphics card to die and be replaced, I can work toward getting a replacement. In the mean time I have a mono headset that's workable and will be testing fully soon!


@ted dog YES! ->http://www.murga-linux.com/puppy/viewto ... 96&t=72589
Works instantly! Still sounds like Joshua/Hawking but unlike ALL windows speakers technosaurus has STARTED OUT able to use punctiation and pauses in his program! Check out the truly awesome prose...
Save the following to text and target espeak pup from DOCUMENT heading in start menu...

No plain fanfold paper could hold that fractal Puff --
He grew so fast no plotting pack could shrink him far enough.
Compiles and simulations grew so quickly tame
And swapped out all their data space when Puff pushed his stack frame.
CHORUS:
Puff the fractal dragon was written in C,
And frolicked while processes switched in mainframe memory.
Puff the fractal dragon was written in C,
And frolicked while processes switched in mainframe memory.
Puff, he grew so quickly, while others moved like snails
And mini-Puffs would perch themselves on his gigantic tail.
All the student hackers loved that fractal Puff
But DCS did not like Puff, and finally said, "Enough!"
(chorus)
Puff used more resources than DCS could spare.
The operator killed Puff's job -- he didn't seem to care.
A gloom fell on the hackers; it seemed to be the end,
But Puff trapped the exception, and grew from naught again!
(chorus)


I <3 pups with WORKING menu items that work with fire and forget perfection! @technosaurus is WIN!

Now all that this disto needs is a voice creation app and some sexy voices, and we will be so far ahead of the rest of the planet, it won't even be fair.

:twisted: Recruit at will! :twisted:

OPEN SOURCE it before the 'pay to play' folks bother to get it done right.
As someone who tried to PAY voice dragon, cepstral and a couple fly-by-night mail-order folks, tried N+1 downloads got rooked EVERY time, IMHO 'done right' isn't out there or even a priority.

I've never been closer than I am now with puppy!

:arrow: For all windows refugees!!! (like myself)
The term 'manually run' in linux means click your way to the folder with what you want to run in it, press the ` button (just below Esc button) type ./ (period slash) and the name of what you want to run with NO space between the / and the name. Like so...
./configure mudos.cfg
In this example modos.cfg is the command I'm running and configure is the command linux seems to use to RUN IT. Alot of linux instructions leave this out! So if make, make install and configure aren't working try ./ :twisted: It's like a magical incantation or something, but it WORKS :twisted:

Also kildclient works instantly on this distro! (note some lost time on my part, what few off hours I've had this month went straight to Lars... *sigh*)
The client has perl stuff in it, and I might be able to link it to espeak.
With some prodding and poking it's response to hyperlinks might just work to pass webpage text to espeak as well... I have alot of catching up to do...

As I begin to catch up, http://lpmuds.net/files/deadsouls/ds3.8.1.zip worked when I followed instructions CAREFULLY, yielding some experience with urxvt and I now have a cheat-sheet started for stuff like 'make' and 'make install' and configure...(see above)
I think my linux skill is approaching 002!

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

erm

#18 Post by mt0ne »

anyone know perl for 'select text' in the context of espeaks speak selected text automatically? initial web-searches are FAIL so far lolz. A handy cheat sheet for this function in any and all languages should trickle into the docs for this stuff.

Oh yes, that reminds me, where do docs go in puppy-stuffs, is there a guide in some thread as to where everything in puppy lives? I'm getting there, but random clicking thru file trees with no idea what icons/filetypes are is risky as I can click espeak select text type things to start them, but linux things run pretty quitely and I have yet to figure out how to close things 'politely' when I can't find them.

I'm so close to being self sufficient to learn! I can feeeel it!

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

foksy download

#19 Post by mcewanw »

Keef wrote:You could try Vinux, which is Ubuntu for the visually impaired.
fokSyf Eye R was by mcewanw, whose site is now down. It is CLI only (text mode apps, but can be run in a GUI environment), but is a very well put together pet. Originally ran on 301, but will work on later pups -- sometimes YASR or speech-dispatcher complain (forget which). Usually a recompile of the offending libs works.
I do have a copy I can post here if you think you might want to try it.
I'm considering reviewing that old dotpet of specially configured commandline programs (including specially configured versions of espeak, yasr, and speech dispatcher). I may also upload the old websites (and maybe tidy them up in the process) once I find some time to do so. In the meantime, the old foksy dotpets can also be accessed via this link:

https://drive.google.com/folderview?id= ... sp=sharing

For Puppy 4 series and above you probably also need the patched version of krecspk, which is also in that download folder. If you plan to try foksy, you would need to make sure your existing Puppy does not include any other versions of the above programs; perhaps best to test it on a clean Puppy install. You need to do a few things to set it up and get it running and carefully read the documentation on usage. These are documented in the main murga linux thread for it here:

Make X apps speak text too! fokSyf Eye R (Puppy and Ubuntu):

http://www.murga-linux.com/puppy/viewto ... 1163210554

Today I would probably re-write the krecspk mp3 voice recording component to either use precord for recording (or a modified version of that), which I'm thinking of looking into. krecspk uses sox (rec) for recording whereas precord uses arecord and lame (or ffmpeg for some audio types). arecord, lame and ffmpeg are provided by default in modern Puppies. No voice interface was provided in foksy, though I did try out an old programe called cvoice which I stumbled on somewhere.

Cheers, mcewanw

EDIT: I've now uploaded some of my old project work including wiak and fokSy Eye R to website: http://arkitektia.heliohost.org. Will be accessible via arkitektia.com once DNS sorted out. My software is currently found there under Products -> Software Designs (which is also accessible from right hand pane of the website)
Last edited by mcewanw on Thu 17 Oct 2013, 04:39, edited 4 times in total.
github mcewanw

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

#20 Post by RetroTechGuy »

I just ran across this project:

Chatterbox STT / TTS / TTA project
(Speech-To-Text / Text-To-Speech / Text-To-Action)

http://www.murga-linux.com/puppy/viewtopic.php?t=89258
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

Post Reply