C# Class EddiSpeechService.SpeechService

Provide speech services with a varying amount of alterations to the voice
Mostra file Open project: cmdrmcdonald/EliteDangerousDataProvider

Public Methods

Method Description
ReloadConfiguration ( ) : void
Say ( Ship ship, string speech, bool wait, int priority = 3 ) : void
ShutUp ( ) : void
Speak ( string speech, string voice, int echoDelay, int distortionLevel, int chorusLevel, int reverbLevel, int compressLevel, bool wait = true, int priority = 3 ) : void

Private Methods

Method Description
GetSoundOut ( ) : ISoundOut
SpeechService ( ) : CSCore
StartSpeech ( ISoundOut soundout, int priority ) : void
StopCurrentSpeech ( ) : void
WaitForCurrentSpeech ( ) : void
bestGuessCulture ( SpeechSynthesizer synth ) : string
chorusLevelForShip ( Ship ship ) : int
distortionLevelForShip ( Ship ship ) : int
echoDelayForShip ( Ship ship ) : int
reverbLevelForShip ( Ship ship ) : int
synth_StateChanged ( object sender, StateChangedEventArgs e ) : void

Method Details

ReloadConfiguration() public method

public ReloadConfiguration ( ) : void
return void

Say() public method

public Say ( Ship ship, string speech, bool wait, int priority = 3 ) : void
ship EddiDataDefinitions.Ship
speech string
wait bool
priority int
return void

ShutUp() public method

public ShutUp ( ) : void
return void

Speak() public method

public Speak ( string speech, string voice, int echoDelay, int distortionLevel, int chorusLevel, int reverbLevel, int compressLevel, bool wait = true, int priority = 3 ) : void
speech string
voice string
echoDelay int
distortionLevel int
chorusLevel int
reverbLevel int
compressLevel int
wait bool
priority int
return void