![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
After the deafening silence that accompanied my ControlsExDesktop library lets see if this one gets more interest.
![]() I already did a speech library for the desktop Text To Speech library (desktop only) but that was not portable to the device as it used Microsoft's Speech API that is not available on most devices. So I have (almost literally!) sweated blood for a few days to try to get a sound library on the device. After several false starts I have finally managed to port the flite http://fife.speech.cs.cmu.edu/flite/ open source speech engine to the device. It was was a bit of a messy port but it seems to work fine on my device and has the simplest possible interface to B4PPC. As it was too large to upload directly Erel kindly accepted it by email and has made it available here :- http://www.basic4ppc.com/files/fliteDevice.zip |
|
|||
|
Amazing, Agraham !
I tried it and it works ! ![]() Do you have any means of control like pitch or volume ? I may find use for it in my off-road navigation program, as instructions to follow a route.
__________________
David Erez Ramat Hasharon, Israel |
|
||||
|
Quote:
I didn't mention it but Say actually returns the number of characters spoken - a hangover from debugging the interface - so you can confirm this limit yourself if you wished. Because of limitations in the Compact Framework I had trouble marshalling .NET wide strings into C type narrow strings across the DLL call and it is a bit ugly on the native side so I guess that it is related to this. I don't think there is any deeper problem, just an interface problem between the two different sorts of DLL. I'll look at it to see if it is an easy fix - otherwise you will just have to keep the text shorter than this limit. |
|
||||
|
This was a huge amount of work - not just a wrapper. I had to port the original speech engine C code that was a Unix command line app. to the Visual Studio ARM native C++ compiler and then pack it into a native device DLL and then write the .NET wrapper! The wrapper was the easy bit - it took about 10 minutes - the big native DLL took more than a week of 8+ hour days including false starts!
|
|
||||
|
Quote:
Look out for a link to appear to "fliteDeviceUpdate1". Only the big native fliteDLL.dll is changed.Sorry, it's not possible because it is running on the B4PPC thread so you don't get control back to stop it until it has stopped anyway! |
|
||||
|
Please accept my sincere apologies, agraham. I did not mean to diminish your hard work. I am just not as deep into the matter as you are, thus ignorant about the kind and amount of work involved with DLLs and C programming. I hope you are in the mood for an apology.
Quote:
Thanks so much, I will look out for the update link. I understand about the stop command and will work around it. Cheers Robert |
|
||||
|
No need, I wan't upset at all. I just wanted you to know that behind the scenes some of this stuff can take a lot of time and effort (and background knowledge and sometimes luck) even if it is not obvious from the end result - a single call to a speech engine in this case
![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Door library (Beta) - Special library | Erel | Official Updates | 48 | 07-18-2008 02:33 PM |
| Merging Outlook library and Phone library | Erel | Official Updates | 2 | 07-14-2008 03:38 PM |
| Using RAPI library to transfer database from device to desktop | mozaharul | Questions & Help Needed | 4 | 04-01-2008 08:55 AM |
| Text To Speech library (desktop only) | Louis | Additional Libraries | 6 | 11-16-2007 06:15 PM |