Flite+HTS Engine for Flash is an Hidden Markov Model (HMM)-based Speech Synthesis system (HTS) running entirely in Flash. The idea to make HTS run in any modern browser and allow dynamic text-to-speech to be added to any webpage with the entire synthesis performed on the client.
It requires Flash version 10 to run. If the above applet doesn’t load, a demo is also available here. It’s tested on Windows and Mac although I’ve seen it throw exceptions a few times.
I have wanted to learn more about HTS and try out the engine for some time. Installing under Windows requires building from source on Cygwin. After seeing Quake running in the browser, I thought it would be an interesting to try and get the the HTS engine run in Flash and make it widely accessible. Instead of re-writing the entire system for Flash I first took the HTS_Engine and Flite code and compiled it to a Flash component (swc) by using the Alchemy compiler. With the core engine compiled I used FlashDevelop to build a small interface, I looked at QuakeFlash to understand how to perform the interoping. The UI elements are from the Minimalcomps library and it also makes use of the audio playback from Standingwave .
By far the trickiest part was getting the audio to play in the Flash applet. First, the ByteArray for moving data between the swc seems to default to big-endian (thanks Heiga Zen). Second, the Flash player was unable output 16K audio ad I couldn’t get HTS to increase the sample rate to 44.1K without a pitching up the speech. The current implementation uses a very crude up-sampling technique, this is why the pitch of the voice may sound different when playing back through the applet.
Assuming HTS engine has the functionality underneath. I think it should be possible to perform streaming output and write the buffer to Flash as soon as speech is ready. Again if its possible to adjust engine parameters without having to re-initialize, adding the ability to adjust the engine parameters would be a nice way of exploring HTS.
Code for the demo is available on Github https://github.com/edobashira/Flite-hts_engine-for-Flash
that is pretty sweet.
This is kinda cool, but it'd be better if it were not tied to a propietary protocol (Flash).
I think this is awesome. Do you know what the effort would be to get this working in non-english languages as well? Congrats are in place any which way!
Thanks for the comment. The hts_engine component should be pretty easy because it's language independent, and only require changing the embedded resource files to the new voice. The Flite component which performs the text analysis may be more difficult as I think it is hardwired to English.
Thanks so much for sharing this! What an incredible application - I've already started playing with it and can so see many possibilities!
I do have one quick question -- I've noticed that certain words cause the text to speech engine to render very garbled audio. For example, type the word "with" or "down" into the demo movie on your site. The garbling also happens when you end a sentence with a word like that (i.e. "the system is down" or "let's go with"). I was wondering if you had any thoughts on this. I tried installing another series of language files but that didn't seem to help. Any guidance would be most appreciated!
Thanks again for everything -- this is truly amazing!
Thanks for the comment.
One thing that could be causing the garbled audio problems.
There were some limitations in the sampling rates the Flash player would accept. I used some very crude up-sampling where I just repeat samples in Main.as and there is still a mismatch between the sample rate the engine generates and the Flash player sampling rate. Perhaps this could be causing corruption.
If you listen the Flash version to the standalone Flite+hts_engine it's possible to here the difference in pitch. Does the standalone Flite+hts_engine sound fine for the same text input?
Hello, I would like to know how can I use a different voice. I downloaded a spanish voice ("cstr_upc_upm_spanish_hts"), that appears to have nearly the same files as the included one. I embedded them in the application, but I always get an "Alchemy Exit" error, without more information.
Could you write a short tutorial about how to use other voices?
That would help a lot.
By the way, this utility is AMAZING! :O
Chúng tôi chuyên nhận vận chuyển hàng hóa nội địa hiện nay. Chúng tôi xin giới thiệu với bạn các dịch vụ vận chuyển, giao hàng uy tín để phục vụ nhu cầu Tết của quý khách hàng. Cụ thể chúng tôi sẽ cung cấp dịch vụ vận chuyển gửi quà tết. Chúng tôi sẽ giúp bạn vận chuyển hàng hóa đến tay người thân, bạn bè ở xa một cách nhanh chóng nhất. Đảm bảo giá cả hợp lý chất lượng dịch vụ tuyệt vời. Ngoài ra chúng tôi còn cung cấp nhiều dịch vụ khác như dịch vụ ship hàng cod, giao hàng cho shop, dịch vụ chuyển phát nhanh uy tín,... Nếu cần chuyển hàng hãy nhớ liên hệ với chúng tôi nhé.
jianbin0222
coach outlet
louis vuitton outlet store
pandora outlet
calvin klein underwear
michael kors handbags
cheap jordans
nike free 5
rolex uk
abercrombie and fitch
michael kors wholesale
abercrombie and fitch
vans shoes
cheap ray ban sunglasses
cheap jordan shoes
ray ban sunglasses
ed hardy clothing
ralph lauren outlet
nike air huarache
tiffany jewellery
instyler ionic styler
michael kors uk outlet
michael kors uk
cheap nfl jerseys
cheap mlb jerseys
michael kors online outlet
adidas wings
adidas outlet store
michael kors outlet
michael kors outlet online
longchamp handbags
true religion jeans
fitflops shoes
coach outlet canada
ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale
louis vuitton outlet
kate spade outlet
mbt shoes outlet
swarovski crystal
links of london jewellery
michael kors outlet
christian louboutin uk
soccer jerseys
nike roshe
michael kors outlet online
jordan shoes
prada outlet
louis vuitton outlet stores
michael kors outlet
calvin klein outlet
polo shirts
louis vuitton handbags outlet
mulberry outlet store
longchamp handbags
hermes outlet
prada shoes
kobe bryant shoes
hermes outlet
michael kors factory outlet
adidas wings
mulberry handbags
lacoste polo shirts
true religion jeans
ray ban sunglasses
michael kors outlet
nike roshe run
20160415zhenhong
chenlina20160520
toms shoes
air jordan 8
nike blazers
coach outlet store online
cheap toms
burberry outlet
louis vuitton handbags
michael kors outlet
insanity workout
gucci handbags
ray ban sunglasses
coach outlet
coach factory outlet
polo ralph kids
louis vuitton outlet
jordan 8
ray ban sunglasses
ray bans
true religion sale
tory burch outlet
lebron shoes
oakley sunglasses outlet
supra shoes
cheap jordans
louis vuitton
polo outlet
oakley outlet
christian louboutin shoes
tiffany outlet
ed hardy clothing
air jordans
replica watches
pandora jewelry
cheap jerseys
toms outlet
nike trainers
coach outlet
louis vuitton outlet
polo ralph lauren
louis vuitton handbags
as
Đến với dịch vụ thiết kế web giá rẻ tại MAINISAN quý khách sẽ được thiết kế web trọn gói theo yêu cầu, khi tìm trên google website của bạn sẽ là mẫu Thiết kế web chuyên nghiệp giá rẻ, chúng tối chuyên thiết kế website theo mẫu đến khi hoàn thiện.
Bước đầu thiết kế web tại Blog thiết kế web bạn nên chọn đơn vị thiết kế website có giao diện mobi, hệ quản trị đơn giản dễ sử dụng.Chúng tôi không cạnh tranh về giá chỉ cạnh tranh về chất lượng, tuy nhiên MAINISAN.COM cũng thường xuyên có khuyến mãi giảm giá khi thiết kế web trọn gói để đáp ứng nhu cầu quý khách.
Cùng đồng nghiệp với nhau vui vậy, bên bạn có van chuyen hang hoa di Ha Tinh gia re, giá vận chuyển hàng đi Nha Trang, vận chuyển hàng hóa ra Khánh Hoà không. Bên mình có thang may gia dinh 250 kg, lắp đặt thang máy bệnh viện, thang may nang hang 2 tan cần chuyển hàng hóa từ tphcm đi Vinh để cung cấp cho dự án bãi đỗ xe thông minh, vậy bên bạn có gia cuoc van chuyen hang hoa noi dia rẻ không?
tory burch outlet
celine outlet
mulberry handbags
nike air force 1
christian louboutin outlet
mbt shoes
true religion jeans
polo ralph lauren
polo ralph lauren
thomas sabo uk
chanyuan10.15
tory burch outlet
celine outlet
mulberry handbags
nike air force 1
christian louboutin outlet
mbt shoes
true religion jeans
polo ralph lauren
polo ralph lauren
thomas sabo uk
chanyuan10.15
louis vuitton outlet
louis vuitton outlet
cheap jordans
ralph lauren
coach bags
michael kors outlet clearance
tiffany and co
louis vuitton handbags
christian louboutin outlet
uggs outlet
chenlina20161022
polo ralph lauren outlet is
ghd flat iron your
sac longchamp had
pandora charms random
michael kors outlet share
seattle seahawks jerseys back
air jordan uk first
cheap jordans The
oakley sunglasses this
chaussure louboutin pas cher to
cheap nike sneakers
michael kors outlet online
ysl outlet store
toms outlet
fitflops sale
pandora charms
puma outlet
coach factory outlet online
air max 90
canada goose outlet
zhi20170102
louis vuitton
louis vuitton
polo ralph lauren
moncler uk
ray ban outlet
louis vuitton
louis vuitton handbags
christian louboutin pas cher
ralph lauren uk
true religion jeans
20171.03wengdongdong