SpeechAudioFormatcreateSiren7Format Method |
Produces a SpeechAudioFormat for data encoded in Siren7. The data must be encoded in mono,
such that a 320 sample mono input frame produces a 40 bytes output frame.
Produces a SpeechAudioFormat for data encoded in Siren7. The data must be encoded in mono,
such that a 320 sample mono input frame produces a 40 bytes output frame.
Namespace: Microsoft.CognitiveServices.SpeechRecognitionAssembly: SpeechClient (in SpeechClient.dll) Version: 0.0.0.0
Syntax public static SpeechAudioFormat createSiren7Format(
int sampleRate
)
Public Shared Function createSiren7Format (
sampleRate As Integer
) As SpeechAudioFormat
public:
static SpeechAudioFormat^ createSiren7Format(
int sampleRate
)
static member createSiren7Format :
sampleRate : int -> SpeechAudioFormat
Parameters
- sampleRate
- Type: Int32
The samples per second of the audio that was encoded (must be 8000 or 16000).
The samples per second of the audio that was encoded (can only by 8000 or 16000).
Return Value
Type:
SpeechAudioFormatThe created SpeechAudioFormat.
Return Value
Type:
SpeechAudioFormatThe created SpeechAudioFormat.
See Also