Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/230.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何使用Flex Air更改AS3中的语音基调?_Android_Actionscript 3_Apache Flex_Air_Flash Builder - Fatal编程技术网

Android 如何使用Flex Air更改AS3中的语音基调?

Android 如何使用Flex Air更改AS3中的语音基调?,android,actionscript-3,apache-flex,air,flash-builder,Android,Actionscript 3,Apache Flex,Air,Flash Builder,我正在我的flex项目中使用谷歌的文本语音转换服务。谷歌使用女性声音。但我想用机器人的声音。可以改变声音吗?(例如,使用节距值。) 我的职能(可能需要): Platform:Air for Android我在一个项目中使用了SoundTouch库,效果很好: 这可能有助于。。。这对我很有用,但对Flash来说很有用。我正在使用flashbuilder(flex)。程序使用AS3,但我不知道如何将Flash转换为Flex:(@SamedDeger,基本上是一样的。尝试迁移代码,非常简单。我甚至怀疑

我正在我的flex项目中使用谷歌的文本语音转换服务。谷歌使用女性声音。但我想用机器人的声音。可以改变声音吗?(例如,使用节距值。)

我的职能(可能需要):


Platform:Air for Android

我在一个项目中使用了SoundTouch库,效果很好:


这可能有助于。。。这对我很有用,但对Flash来说很有用。我正在使用flashbuilder(flex)。程序使用AS3,但我不知道如何将Flash转换为Flex:(@SamedDeger,基本上是一样的。尝试迁移代码,非常简单。我甚至怀疑迁移是否是正确的术语:)
private var domain:String = "http://samed.us/";
private function speech(text:String):void
{
    text = escape(text);
    var url:String = domain+"speak_en_"+text;
    _sound = new Sound();
    _sound.addEventListener(Event.COMPLETE, soundPlay);
    _sound.load(new URLRequest(url));
}
private function soundPlay(event:Event):void
{
    var playIt:Sound = event.target as Sound;
    playIt.play();
}