Active Topics

 


Reply
Thread Tools
Posts: 36 | Thanked: 16 times | Joined on Apr 2006
#41
Originally Posted by qole View Post
What I'd like is a nice little Debian chroot .deb so people could run OpenOffice and stuff on their tablets without the nightmare of copying and pasting my second-rate scripts onto their tablet or the hassle of booting into Debian.
For what it's worth, as a noob this would be wonderful. I began to follow qole's method, but gave up because it's out of my league.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#42
I compiled esound

http://penguinbait.com/esd.tgz

This will give you esdplay but it does not good as I can see


Install esdplay, which is part of the esound-clients package:

*

sudo apt-get install esound-clients

You need to configure festival so that it sends its output through ESD. Otherwise, you will get a can't open /dev/dsp error when you try to run Festival.

1.
edit
/home/user/festival/lib/festival.scm in a Terminal.
2.

Add the following lines at the end of the file:

*

(Parameter.set 'Audio_Command "/usr/local/bin/esdplay $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Required_Format 'snd)

3.

Save the file.



It works
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.

Last edited by penguinbait; 2008-06-07 at 03:04.
 

The Following User Says Thank You to penguinbait For This Useful Post:
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#43
Yeah Baby!!!!!!!!


(SayText "test")

I will repackage everything tomorrow, esd, with festival and the edited file to make it work.


I made a file named flite

and put this in it

/home/user/festival/bin/festival --language spanish -b "(SayText \"$1\")"

Then call flite "hola"

Does not seem to work with MM, but I am still playing, maybe $2, stupid GPS lost my lock, probably test more tomorrow
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.

Last edited by penguinbait; 2008-06-07 at 03:47.
 

The Following User Says Thank You to penguinbait For This Useful Post:
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#44
Got it!

You also need /usr/lib/esound/libesddsp.so.0 from Debian libesd0 package; our libesd0 is missing that. I manually extracted the files and dumped them in the right place.

Then, you can do
Code:
esddsp festival/bin/festival --tts
Type in some text, and hit ^D. It plays back nicely.

Oh, wait, you beat me. I didn't click "post" on this (about an hour earlier when I first had it working), did I?

Last edited by Benson; 2008-06-07 at 04:10. Reason: Clarification of when I didn't click...
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#45
Oh, and start a thread, so I can slap Thanks.
Edit: I could have sworn this was in off-topic....
/me slaps thanks.

But we already have esd; just the stuff from debian esound-clients is missing; I guess you are probably aware of this, but your post makes it sound like you're packaging the whole thing, so I had to speak up...


Also, perhaps init.scm or siteinit.scm would be more appropriate than festival.scm?

Last edited by Benson; 2008-06-07 at 04:12.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#46
Originally Posted by Benson View Post
Oh, and start a thread, so I can slap Thanks.

But we already have esd; just the stuff from debian esound-clients is missing; I guess you are probably aware of this, but your post makes it sound like you're packaging the whole thing, so I had to speak up...

esd.tgz

usr/local/lib/libesd.la
usr/local/lib/libesddsp.so.0.2.38
usr/local/lib/libesddsp.so.0
usr/local/lib/libesddsp.so
usr/local/lib/libesd.so
usr/local/lib/libesddsp.la
usr/local/lib/libesd.a
usr/local/lib/libesd.so.0
usr/local/lib/libesddsp.a
usr/local/lib/libesd.so.0.2.38
usr/local/share/aclocal/esd.m4
usr/local/share/man/man1/esd-config.1
usr/local/share/man/man1/esdctl.1
usr/local/share/man/man1/esdplay.1
usr/local/share/man/man1/esdfilt.1
usr/local/share/man/man1/esdloop.1
usr/local/share/man/man1/esdmon.1
usr/local/share/man/man1/esdrec.1
usr/local/share/man/man1/esdcat.1
usr/local/share/man/man1/esdsample.1
usr/local/share/man/man1/esd.1
usr/local/share/man/man1/esddsp.1
usr/local/bin/esdrec
usr/local/bin/esd-config
usr/local/bin/esdmon
usr/local/bin/esd
usr/local/bin/esdfilt
usr/local/bin/esdctl
usr/local/bin/esdcat
usr/local/bin/esdsample
usr/local/bin/esdplay
usr/local/bin/esdloop
usr/local/bin/esddsp
usr/local/etc/esd.conf
usr/local/include/esd.h


I even included the man files, hehe
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#47
Hmmm.. Here's more voices; my presumption about the "American Female" was wrong; that's one of the Arctic voices. And they're much slower synthesizing than the default voice, at least.

MBROLA doesn't seem to be compiled for this platform; there's some voices over here with yet a different engine, but I've no idea if they're faster or slower...

There's lots of room to work on this now, so I guess I'll have to get g++ and start digging in.
 
Posts: 674 | Thanked: 191 times | Joined on Mar 2008 @ Buenos Aires, Argentina
#48
Thank you, Penguinbait and Benson, for working on my request. But excuse my question: Is there a replacement for the current flite for Maemo?

I am sorry but my head is about to explode trying to understand your posts. Tylenol, please...
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#49
Originally Posted by alephito View Post
Thank you, Penguinbait and Benson, for working on my request. But excuse my question: Is there a replacement for the current flite for Maemo?

I am sorry but my head is about to explode trying to understand your posts. Tylenol, please...
In short NO

Festival works and gives you a spanish speaking voice, but flite is english only. So I could not port spanish flite.

I / we are trying to make a script to used with festival in place of flite so it will work with Maemo Mapper.

I sent a question off to Gnuite, but no response yet. I spent the weekend on the lake, so I did not get anything but a sunburn this weekend.

We are much closer now though, so maybe soon
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 674 | Thanked: 191 times | Joined on Mar 2008 @ Buenos Aires, Argentina
#50
Thank you, Penguitbait. That answer was easy to understand.
 
Reply

Tags
clone, deprecated, gparted, kde, kde35, penguinbait


 
Forum Jump


All times are GMT. The time now is 23:54.