×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    5

    HQTTS in 3.2 fallsback to TTS, is it even available ?

    Hello

    I recently noted that can download Plugin API's for 3rd fp2, which contains HQTTS.

    So, I downloaded and tried, followed wiki pages and API plugin page, also SDK helps from plugin zips. I also downloaded several HQTTS sound packages.

    Afterall, what I get is that mechanical male voice, not HQTTS voice's what I downloaded and can see in voice application. Here's what I tried:

    iParsed = CParsedText
    iStyle = TTtsStyle
    iStyleID = TTtsSyleID
    iSegment = TTtsSegment
    iTtsUtil = CTTtsUtility
    iText = HBufC

    Code:
    	iParsed->SetTextL(iText->Des());
    	iStyle.iLanguage = KTtsUndefinedLanguage;
    	iStyle.iQuality = ETtsQualityHighOnly;
    	iStyleID = iTtsUtil->AddStyleL(iStyle);
    	iTtsUtil->SetDefaultStyleL(iStyle);
    	
    	iSegment.SetStyleID(iStyleID);
    	iSegment.SetTextPtr(iParsed->Text());
    	iParsed->AddSegmentL(iSegment,0);
    	
    	iTtsUtil->OpenParsedTextL(*iParsed);
    	iTtsUtil->Play();
    Program compiles fine and runs in phone, in N78 what also has HQTTS support.

    I'm wondering, as I followed wiki pages quite strictly, did I miss something or is this even available for 3rd party use ? Is messagereader application only one what can use HQTTS sounds ?


    Thanks!

  2. #2
    Registered User
    Join Date
    Nov 2008
    Posts
    5

    Re: HQTTS in 3.2 fallsback to TTS, is it even available ?

    Ah, problem solved. I had TTS plugin loaded, not HQTTS plugin.

  3. #3
    Registered User
    Join Date
    Feb 2010
    Location
    India
    Posts
    281

    Re: HQTTS in 3.2 fallsback to TTS, is it even available ?

    Quote Originally Posted by juhana1405 View Post
    Ah, problem solved. I had TTS plugin loaded, not HQTTS plugin.
    System error -1 occured on the following line

    // Initialise with current text and settings.
    iTtsUtility->OpenParsedTextL(*iParsedText);

Similar Threads

  1. 3.2 Emulator woes
    By James McMurray in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2008-10-29, 17:47
  2. Replies: 3
    Last Post: 2008-08-12, 12:20
  3. previous camera autofocus lib can not work in S60 3.2
    By whitewinds in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2008-02-19, 08:02
  4. Eclipse 3.1.2 || Eclipse 3.2
    By rolecram in forum Mobile Java Tools & SDKs
    Replies: 8
    Last Post: 2007-03-12, 23:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×