AudioConfig.FromWavFileOutput(String) Method

Definition

Creates an AudioConfig object that produces speech to the specified WAV file. Added in 1.4.0

public static Microsoft.CognitiveServices.Speech.Audio.AudioConfig FromWavFileOutput (string fileName);
static member FromWavFileOutput : string -> Microsoft.CognitiveServices.Speech.Audio.AudioConfig
Public Shared Function FromWavFileOutput (fileName As String) As AudioConfig

Parameters

fileName
String

Specifies the audio output file. The parent directory must already exist.

Returns

An audio output configuration object set to provide speech to a .WAV file.

Remarks

See also: Synthesize speech to a file

Applies to