Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2013, 09:11 AM   #31
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,991
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
Will certainly be looking into what is required to make a "better" voice.
1) An audio lab (ah, you have one, sorry forgot)
2) One or more voice models (ah, sorry again, you have access to the entertainment industry over there)
3) Time

Anybody want to donate some time? He needs another ten hours a day - with a corresponding supply of tea.
knc1 is offline   Reply With Quote
Old 02-02-2013, 09:29 AM   #32
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by knc1 View Post
1) An audio lab (ah, you have one, sorry forgot)
2) One or more voice models (ah, sorry again, you have access to the entertainment industry over there)
3) Time

Anybody want to donate some time? He needs another ten hours a day - with a corresponding supply of tea.
Even just the free tea would fine
twobob is offline   Reply With Quote
Old 02-03-2013, 12:32 PM   #33
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Tiny little oddnesses... -voice appears to be playing at half time in most cases at the moment. on the k3.
IIRC this was something to do with the card itself.
(GM and I were going to exploit this odd reaction to 16k mono as it uses almost no processor for as-yet no fully-known reasons )

for example on a k3.
[root@kindle root]# flite -voice rms -t "Hello... Hello... This is the voice of the mysterons we know you can hear us earthlings"

will sound how you might imagine that would... slow and low.

Let's render it..

[root@kindle root]# flite -voice rms -t "Hello... Hello... This is the voice of the mysterons we know you can hear us earthlings" /mnt/us/music/mysterons.wav

and play it again to check the formats etc.. (and that it still sounds funky)
[root@kindle root]# aplay /mnt/us/music/mysterons.wav
Quote:
Playing WAVE '/mnt/us/music/mysterons.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
Yep... low and weird.

Let's shove it on the Kindle Touch (via the pc)

me@PC ~ $ scp root@k:/mnt/us/music/mysterons.wav ./; scp ./mysterons.wav root@kt:/mnt/us/music/mysterons.wav
Quote:
mysterons.wav 100% 163KB 162.7KB/s 00:00
mysterons.wav 100% 163KB 162.7KB/s 00:00
and play it again...

[root@kindle root]# aplay /mnt/us/music/mysterons.wav
Quote:
Playing WAVE '/mnt/us/music/mysterons.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
now it sounds completely normal.

So... Conclusion? 16k mono files freak out on the k3 OOTB



One more point... inside one the voices awb_time there is a resource reference missing/malpointed.

[root@kindle root]# flite -voice awb_time -t "Do I work?"
Quote:
clunits: unit type "pau_ax" not found
clunits: can't find tree for pau_ax
clunits: unit type "pau_ax" not found
etc...
So due diligence done. issues reported.

The file attached below should sound slow on a 3 and normal on a 5. Thanks.
Attached Files
File Type: zip mysterons.wav.zip (143.4 KB, 25 views)
twobob is offline   Reply With Quote
Old 02-03-2013, 12:52 PM   #34
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,991
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Sampling rate on the K3 off by one (binary magnitude) ?

I don't know audio files well enough to say if you could edit the metadata in one to compensate for the incorrect sample rate calculation.
But if you can, that might be one way to find what is happening to that file on the K3.
From that information, maybe a work-around ? ? ?
knc1 is offline   Reply With Quote
Old 02-03-2013, 01:03 PM   #35
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
[root@kindle root]# flite -voice kal -t "This is the voice of the misterons we know you can hear us earthlings" /mnt/us/test1.wav;\
aplay /mnt/us/test1.wav


Quote:
Playing WAVE '/mnt/us/test1.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
works as expected. even on the 3... as it (the voice kal) is 8k by default.

Only 16k does this oddness

workaround? figure out how to force to other voices to render at a different rate perhaps

EDIT: since I failed to do this. perhaps it's a compile time option. will check at some point. in the interim streaming at a different rate would probably do the job. will investigate some options

Last edited by twobob; 02-03-2013 at 05:44 PM.
twobob is offline   Reply With Quote
Old 02-08-2013, 02:40 AM   #36
Lupines
Member
Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.
 
Posts: 21
Karma: 59588
Join Date: Jan 2013
Device: Kindle Keyboard 3G+Wifi
Quote:
Originally Posted by twobob View Post
[root@kindle root]# flite -voice kal -t "This is the voice of the misterons we know you can hear us earthlings" /mnt/us/test1.wav;\
aplay /mnt/us/test1.wav




works as expected. even on the 3... as it (the voice kal) is 8k by default.

Only 16k does this oddness

workaround? figure out how to force to other voices to render at a different rate perhaps

EDIT: since I failed to do this. perhaps it's a compile time option. will check at some point. in the interim streaming at a different rate would probably do the job. will investigate some options
I'll upload the modified source files in case someone needs them over the weekend. I will also try to work on trying to make the binary smaller. 20MB is way too big. I believe the libs for alsa can be removed from the binary to make it smaller. I've been really busy and with no free time. After having a decent binary the other thing would be to add more voices. I haven't looked into this, yet.

Lupines.
Lupines is offline   Reply With Quote
Old 02-08-2013, 07:48 AM   #37
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by Lupines View Post
I'll upload the modified source files in case someone needs them over the weekend. I will also try to work on trying to make the binary smaller. 20MB is way too big. I believe the libs for alsa can be removed from the binary to make it smaller. I've been really busy and with no free time. After having a decent binary the other thing would be to add more voices. I haven't looked into this, yet.

Lupines.
sounds good.
will look out for it. much obliged!
twobob is offline   Reply With Quote
Old 02-09-2013, 12:10 AM   #38
Lupines
Member
Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.
 
Posts: 21
Karma: 59588
Join Date: Jan 2013
Device: Kindle Keyboard 3G+Wifi
Quote:
Originally Posted by twobob View Post
sounds good.
will look out for it. much obliged!
I tried a compile with -O3 and another with -Os. Also removing the CFLAGS=-DEMBEDDED from configure. I get the same results. You are more than welcome to give the compiling a try and play with it. I just uploaded the source files here:

flite-1.4-release-arm-src.tar.gz

http://ge.tt/86zHm1X?c

Lupines
Lupines is offline   Reply With Quote
Old 02-09-2013, 12:16 AM   #39
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
grabbed and appreciated.
twobob is offline   Reply With Quote
Old 02-09-2013, 01:37 AM   #40
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Did something with it.

http://www.mobileread.com/forums/sho...50&postcount=7

Thanks. will play more.
twobob is offline   Reply With Quote
Old 02-09-2013, 03:21 AM   #41
Lupines
Member
Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.
 
Posts: 21
Karma: 59588
Join Date: Jan 2013
Device: Kindle Keyboard 3G+Wifi
Quote:
Originally Posted by twobob View Post
Did something with it.

http://www.mobileread.com/forums/sho...50&postcount=7

Thanks. will play more.
HA! Nice... At least write down my nickname correctly! hehehe

Also I wouldn't mind if you mention the guys: Alan W Black and Kevin A. Lenzo
Speech Group at Carnegie Mellon University.

I know I put all the files that came with the source files in the .tar.gz, I just don't want to get credit for something I didn't code myself. Mine was just a repacking effort, that's all.

Lupines.
Lupines is offline   Reply With Quote
Old 02-09-2013, 12:27 PM   #42
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by Lupines View Post
HA! Nice... At least write down my nickname correctly! hehehe

Also I wouldn't mind if you mention the guys: Alan W Black and Kevin A. Lenzo
Speech Group at Carnegie Mellon University.

I know I put all the files that came with the source files in the .tar.gz, I just don't want to get credit for something I didn't code myself. Mine was just a repacking effort, that's all.

Lupines.
Done. Credit spread around. Name unmangled.
http://www.mobileread.com/forums/sho...50&postcount=7
twobob is offline   Reply With Quote
Old 02-09-2013, 09:08 PM   #43
Lupines
Member
Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.
 
Posts: 21
Karma: 59588
Join Date: Jan 2013
Device: Kindle Keyboard 3G+Wifi
Festival

I started working on festival.

http://www.festvox.org/packed/festival/2.1/

I am having lots of problems while compiling. But I was able to get a binary out of it. The problem I am having right now is after using the festival binary, I get:

festival> (SayText "Hello world")
SIOD ERROR: unbound variable : SayText

Lupines.
Lupines is offline   Reply With Quote
Old 02-09-2013, 10:15 PM   #44
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by Lupines View Post
I started working on festival.

http://www.festvox.org/packed/festival/2.1/

I am having lots of problems while compiling. But I was able to get a binary out of it. The problem I am having right now is after using the festival binary, I get:

festival> (SayText "Hello world")
SIOD ERROR: unbound variable : SayText

Lupines.
http://forums.asterisk.org/viewtopic.php?f=1&t=72856

Quote:
The main problem was I downloaded the latest version of Festival in /usr/local/src/Festival and built it.
And there is a festival.scm in the /usr/local/src/festival/lib and I was adding the above code in that file.
But Festival for some reason always picks up the scm file from /usr/share so you have to make the scm chnages there even if you downloaded a new Festival version.

Dont know why the Asterisk folks don't keep this code in the by default festival.scm in the /usr/share location. It would have been just plug and play.
Can you someone explain the reason just for my FYI.

Last edited by twobob; 02-09-2013 at 10:22 PM.
twobob is offline   Reply With Quote
Old 02-10-2013, 04:30 AM   #45
Lupines
Member
Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.Lupines never is beset by a damp, drizzly November in his or her soul.
 
Posts: 21
Karma: 59588
Join Date: Jan 2013
Device: Kindle Keyboard 3G+Wifi
Festival

Quote:
Originally Posted by twobob View Post
I tried that. It isn't working somehow. I put all the .scm files on /usr/share/festival, /mnt/us/arm-linux/share/festival, and also under /mnt/us/arm-linux/share/festival

I will check if I am doing something wrong at compiling time. If you want to have a look, let me know and I will upload what I've done so far. I don't mind credit, I want stuff that works. If you are interested in this, I can guide you on the modifications I've done to this. Or you can just run diff against the original source code.

Lupines.

P.S.: Is there an irc server/channel people around here hang out?
Lupines is offline   Reply With Quote
Reply

Tags
speech;text;flite, text;speech;wav;mp3

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Touch. Text to Speech cristbo Amazon Kindle 9 01-24-2014 05:31 AM
Kindle Paperwhite Speech to Text? Moshe1010 Amazon Kindle 4 12-27-2012 12:33 AM
Troubleshooting text-to-speech feature in kindle mestrys Amazon Kindle 4 01-12-2012 12:45 AM
How to make Amazon Kindle Text to Speech skip over some text xsaero00 Kindle Developer's Corner 3 06-18-2011 08:09 PM


All times are GMT -4. The time now is 11:01 PM.


MobileRead.com is a privately owned, operated and funded community.