Show / Hide Table of Contents

Class VoiceProperties

Holds the voice.properties in a Properties class.

Inheritance
object
Properties
VoiceProperties
Implements
IDisposable
Inherited Members
Properties.GetProperty(string)
Properties.GetProperty(string, string)
Properties.SetProperty(string, string)
Properties.GetKeyPrefixMatch(string)
Properties.GetValuePrefixMatch(string)
Properties.GetPairPrefixMatch(string)
Properties.ToBool(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ivrToolkit.Core.Util
Assembly: ivrToolkit.Core.dll
Syntax
public class VoiceProperties : Properties, IDisposable

Constructors

| Edit this page View Source

VoiceProperties(ILoggerFactory)

Construct a VoiceProperties object without a text file for the defaults.

Declaration
public VoiceProperties(ILoggerFactory loggerFactory)
Parameters
Type Name Description
ILoggerFactory loggerFactory
| Edit this page View Source

VoiceProperties(ILoggerFactory, string)

Constructs a VoiceProperties object given the text file that contains the definitions.

Declaration
protected VoiceProperties(ILoggerFactory loggerFactory, string fileName)
Parameters
Type Name Description
ILoggerFactory loggerFactory
string fileName

The text file that contains the definitions

Properties

| Edit this page View Source

AnsweringMachineEndSpeechSilenceDurationSeconds

The amount of time between spoken words in seconds. Used to calculate when the person on the call stops speaking. This will be used to calculate the duration of the greeting. Default is 1.5 seconds.

Declaration
public double AnsweringMachineEndSpeechSilenceDurationSeconds { get; init; }
Property Value
Type Description
double
| Edit this page View Source

AnsweringMachineGiveUpAfterSeconds

The amount of time before the answering machine calculation gives up in seconds. Default is 10.0 seconds. This could happen if the user rambles on and on. I think this is unlikely but there needs to be a time to stop.

Declaration
public double AnsweringMachineGiveUpAfterSeconds { get; init; }
Property Value
Type Description
double
| Edit this page View Source

AnsweringMachineMaxStartSilenceSeconds

The maximum amount of time to wait for speech to begin in seconds. Default is 3.0 seconds. After which, the software will give up waiting for speech to happen and just return call analysis as connected.

Declaration
public double AnsweringMachineMaxStartSilenceSeconds { get; init; }
Property Value
Type Description
double
| Edit this page View Source

AnsweringMachineSilenceThresholdAmplitude

The silence threshold amplitude. The higher the number the more sound it thinks is background noise and should be considered silence. Default is 0.1

Declaration
public float AnsweringMachineSilenceThresholdAmplitude { get; init; }
Property Value
Type Description
float
| Edit this page View Source

DefaultWavSampleRate

The default wav sample rate to use when writing out wav files with TTS. 8000 or 16000 only. Default is 8000

Declaration
public int DefaultWavSampleRate { get; init; }
Property Value
Type Description
int
| Edit this page View Source

DigitsTimeoutInMilli

Number of milliseconds between keypress before it considers it to be a prompt attempt. Default is '5000'.

Declaration
public int DigitsTimeoutInMilli { get; init; }
Property Value
Type Description
int
| Edit this page View Source

PromptAttempts

Total number of attempts to try at a prompt before 'TooManyAttemptsException' is thrown. Default is '99'.

Declaration
public int PromptAttempts { get; init; }
Property Value
Type Description
int
| Edit this page View Source

PromptBlankAttempts

Number of blank entry attempts to try at a prompt before 'TooManyAttemptsException' is thrown. Default is '5'.

Declaration
public int PromptBlankAttempts { get; init; }
Property Value
Type Description
int
| Edit this page View Source

SystemRecordingSubfolder

The sub-folder location under "System Recordings" that contains the system recordings. Current options are "Original" or "en-US-JennyNeural"

Declaration
public string SystemRecordingSubfolder { get; init; }
Property Value
Type Description
string
| Edit this page View Source

TtsAzureRegion

The region for Azure Text-To-Speech

Declaration
public string TtsAzureRegion { get; init; }
Property Value
Type Description
string
| Edit this page View Source

TtsAzureSubscriptionKey

The subscription key for Azure Text-To-Speech

Declaration
public string TtsAzureSubscriptionKey { get; init; }
Property Value
Type Description
string
| Edit this page View Source

TtsAzureVoice

The region for Azure Text-To-Speech

Declaration
public string TtsAzureVoice { get; init; }
Property Value
Type Description
string
| Edit this page View Source

TtsGoogleApplicationCredentialsPath

The Google application credentials path for use with TTS

Declaration
public string TtsGoogleApplicationCredentialsPath { get; init; }
Property Value
Type Description
string
| Edit this page View Source

TtsGoogleGender

Declaration
public SsmlVoiceGender TtsGoogleGender { get; init; }
Property Value
Type Description
SsmlVoiceGender
| Edit this page View Source

TtsGoogleLanguageCode

Declaration
public string TtsGoogleLanguageCode { get; init; }
Property Value
Type Description
string
| Edit this page View Source

TtsGoogleName

Declaration
public string TtsGoogleName { get; init; }
Property Value
Type Description
string

Methods

| Edit this page View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

Implements

IDisposable

Extension Methods

ValidationExtensions.ThrowIfNull<T>(T, string)
  • View Source
In this article
Back to top Generated by DocFX