Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

Text To Speech library (desktop only)

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 11-11-2008, 09:28 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 271
Awards Showcase
Beta Tester 
Total Awards: 1
Default

The supplied SpeechLib.cs is not allowing merging with the .exe. Was it provided for a different reason? I apologise I don't know much about the inner workings of the dll's yet.
Reply With Quote
  #12 (permalink)  
Old 11-12-2008, 07:51 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

It is actually the dll that is compiled with an incorrect assembly name. This didn't matter in the days before merging but it does now. I'm afraid I haven't time to revisit this at the moment, and as you need a separate interop library you can't have a single exe solution anyway.

EDIT :- This reason, hurriedly concocted before I rushed off for a dentist appontment is wrong! There are two reasons it won't compile. One is that the scource filename should be SpeechLibDesktop.cs. The other (I think) is that a reference at compile time is needed to Interop.SpeechLib.dll and Basic4ppc doesn't know this.

Last edited by agraham : 11-12-2008 at 01:39 PM.
Reply With Quote
  #13 (permalink)  
Old 02-02-2009, 05:00 PM
Junior Member
 
Join Date: Jan 2009
Posts: 36
Default

Hi,
I have added the SpeechLibDesktop object to my test app. It works fine on my Windows XP notebook except that SayAsync behaves the same as SaySync.

What is the possibility of someone adding a few more features to the library, such as:

- get the name of the voice
- stop speaking and/or pause speaking
- resume speaking

Bob
Reply With Quote
  #14 (permalink)  
Old 02-03-2009, 09:19 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by rgately View Post
except that SayAsync behaves the same as SaySync.
Are you sure? Look at the word counter. For a SaySync voice it only updates when speech ends, for an SayAsync voice it updates in real time during speech.

Quote:
- get the name of the voice
- stop speaking and/or pause speaking
- resume speaking
I've added these to a new version of the library except for Stop which doesn't seem possible. However I have put in a Skip sentence method which skips forwards or backwards. I guess you could do a forwards skip of a large number to end speech. I have noticed that skip backwards while the last sentence is being spoken seems to end speech rather than skipping back, it works OK on earlier sentences so this may be a "feature" of the speech engine.

The new version is http://www.basic4ppc.com/forum/addit...h-library.html

@Everyone please regard this thread closed and post any queries in the new thread.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop Videocam image capture library agraham Additional Libraries 22 03-18-2012 10:42 AM
Speech library for the DEVICE! agraham Additional Libraries 44 02-05-2010 11:33 AM
Desktop Help library agraham Additional Libraries 15 10-29-2008 03:33 PM
Window-Eyes Speech Library for the Desktop Only Louis Additional Libraries 0 07-15-2008 07:06 PM
Desktop Only library released Erel Announcements 3 09-10-2007 09:28 PM


All times are GMT. The time now is 10:04 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0