Hi,

Could you please explain this a bit more -

Does that mean that TTS won't work with the SDK files here -

http://developer.android.com/sdk/1.6_r1/index.html

Platform        Package         Size    MD5 Checksum
Windows         android-sdk-windows-1.6_r1.zip  260529085 bytes
2bcbacbc7af0363058ca1cac6abad848
Mac OS X (intel)        android-sdk-mac_x86-1.6_r1.zip  247412515 bytes
eb13cc79602d492e89103efcf48ac1f6
Linux (i386)    android-sdk-linux_x86-1.6_r1.tgz        238224860 bytes
b4bf0e610ff6db2fb6fb09c49cba1e79

And that you will post new SDK 1.6 versions with correct TTS files
again somewhere ?

Or you mention "..I've just uploaded the correct archives..." - of the
correct SDK files that we should download, if so where ?

I v'e been trying to get TTS to say something in OSX and getting
errors ( & no audio ) -

09-17 00:44:35.914: INFO/TtsService(746): TtsService.onCreate()
09-17 00:44:35.914: ERROR/TTS is loading(746): /system/lib/
libttspico.so
09-17 00:44:35.914: VERBOSE/SynthProxy(746): AudioTrack started
09-17 00:44:35.924: VERBOSE/TtsService(746): TtsService.setLanguage
(eng, USA, )
09-17 00:44:35.924: ERROR/SVOX Pico Engine(746): Failed to load
textana resource for en-US [-40]
09-17 00:44:35.924: INFO/SynthProxy(746): setting speech rate to 100
09-17 00:44:36.013: INFO/TTS received:(738): hello, world
09-17 00:44:36.013: VERBOSE/TtsService(746): TTS service received
hello, world
09-17 00:44:36.013: INFO/TtsService(746): Stopping
09-17 00:44:36.013: INFO/TtsService(746): Stopped
09-17 00:44:36.013: INFO/TtsService(746): TTS processing: hello, world
09-17 00:44:36.013: VERBOSE/TtsService(746): TtsService.setLanguage
(eng, USA, )
09-17 00:44:36.013: ERROR/SVOX Pico Engine(746): Failed to load
textana resource for en-US [-40]
09-17 00:44:36.013: INFO/SynthProxy(746): setting speech rate to 100
09-17 00:44:36.023: ERROR/SVOX Pico Engine(746): Error synthesizing
string 'hello, world': [-101]

with code like -

package com.text2Speech;

import android.app.Activity;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.speech.tts.TextToSpeech.OnInitListener;
import android.speech.tts.TextToSpeech.OnUtteranceCompletedListener;

public class text2Speech extends Activity implements OnInitListener,
OnUtteranceCompletedListener
{
        TextToSpeech tts = null;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        tts = new TextToSpeech( this, this );

        tts.setOnUtteranceCompletedListener(this);

        setContentView(R.layout.main);

    }
        public void onInit(int status)
        {
                tts.speak("hello, world", 0, null ); // also tried - nbg -
android.speech.tts.TextToSpeech.QUEUE_ADD, null );
        }

        public void onUtteranceCompleted(String utteranceId)
        {
                // TODO Auto-generated method stub
        }

        public void onDestroy()
        {
          super.onDestroy();

          tts.shutdown();
       }
}

I can't locate an example/sample code for TTS in the sdk 1.6 samples,
could you please provide a link or some working example.

And perhaps some notes on how to configure a suitable emulator for
TTS, I tried with -sdcard etc thinking it might still need to download
the sound files as per previous tts implementation but unsure.

Thanks for any help

Regards

On Sep 16, 12:18 pm, Xavier Ducrohet <x...@android.com> wrote:
> Alastminutemix-uphadusuploadthewrongSDKpackages:(
>
> The only difference is the lack of TTS language files and of the
> Accessibility apps (TalkBack, SoundBack and KickBack)
>
> If you don't care about this you can keep using your 1.6SDK. If you
> care about these features, I've just uploaded the correct archives.
>
> We apologize for the inconvenience.
>
> Xav
>
> On Tue, Sep 15, 2009 at 3:22 PM, Xavier Ducrohet <x...@android.com> wrote:
> >http://android-developers.blogspot.com/2009/09/android-16-sdk-is-here...
>
> > Enjoy!
> > --
> > Xavier Ducrohet
> > Android Developer Tools Engineer
> > Google Inc.
>
> --
> Xavier Ducrohet
> Android Developer Tools Engineer
> Google Inc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to