Google Cloud Dialogflow V2Synthesize Speech Config Response
data class GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse(val effectsProfileId: List<String>, val pitch: Double, val speakingRate: Double, val voice: GoogleCloudDialogflowV2VoiceSelectionParamsResponse, val volumeGainDb: Double)
Configuration of how speech should be synthesized.
Constructors
Link copied to clipboard
fun GoogleCloudDialogflowV2SynthesizeSpeechConfigResponse(effectsProfileId: List<String>, pitch: Double, speakingRate: Double, voice: GoogleCloudDialogflowV2VoiceSelectionParamsResponse, volumeGainDb: Double)
Types
Properties
Link copied to clipboard
Optional. Volume gain (in dB) of the normal native volume supported by the specific voice, in the range -96.0, 16.0. If unset, or set to a value of 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) will play at approximately half the amplitude of the normal native signal amplitude. A value of +6.0 (dB) will play at approximately twice the amplitude of the normal native signal amplitude. We strongly recommend not to exceed +10 (dB) as there's usually no effective increase in loudness for any value greater than that.