Jump to content

Recommended Posts

  • FPCH Admin
Posted

Is it truth that I can adjust parameters in the XNA windows file to get control on the voice speed in the feature "Text-to-Speech" of the Bing Translator ??. I got the following from the blog &lthttp://bcastilloblog.blogspot.com.ar/2011/02/traduccion-de-idiomas-y-sintesis-de-voz.html[/i]&gt,

but it is not written how to open the file and which parameter must be modified. I have Windows 7 Home Premium.

 

Thanks for an answer,

Juan Carlos Alvarez.

using System

using System.Net

using System.Windows

using System.Windows.Controls

using System.Windows.Documents

using System.Windows.Ink

using System.Windows.Input

using System.Windows.Media

using System.Windows.Media.Animation

using System.Windows.Shapes

using System.Windows.Threading

using Microsoft.Xna.Framework

using Microsoft.Xna.Framework.Audio

 

namespace F.Phone.Translator.Microsoft

{

public

class XNAFrameworkDispatcherService :

IApplicationService

{

private

DispatcherTimer frameworkDispatcherTimer

 

public XNAFrameworkDispatcherService()

{

this.frameworkDispatcherTimer =

new DispatcherTimer()

this.frameworkDispatcherTimer.Interval =

TimeSpan.FromTicks(333333)

this.frameworkDispatcherTimer.Tick += frameworkDispatcherTimer_Tick

FrameworkDispatcher.Update()

}

 

void frameworkDispatcherTimer_Tick(object sender,

EventArgs e) {

FrameworkDispatcher.Update() }

 

void

IApplicationService.StopService() { this.frameworkDispatcherTimer.Stop() }

 

void

IApplicationService.StartService(ApplicationServiceContext context) {

this.frameworkDispatcherTimer.Start() }

 

}

}

 

 

 

View the thread

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...