Speech to Text Spec ver.1
Provide a real-time speech to text (STT) service and its software development kit (SDK).
Either on-premise server or cloud server is acceptable.
Network communication should be secure.
Should implement a python library for connecting the STT service.
Prerequisite
python 3.10+
Design
In this version, the library can only support English voice dictation. The class constructors and methods below are necessary for our development.
...
An audio stream object should be able to be written with multiple frames (samples) as bytes
.
Reference
azure-cognitiveservices-speech ~1.40.0
Text to Speech Spec ver.1
Provide a real-time text to speech to text (TTS) service and its software development kit (SDK).
Either on-premise server or cloud server is acceptable.
Network communication should be secure.
Should implement a python library for connecting the TTS service.
Prerequisite
python 3.10+
Design
In this version, the library can only support English voice synthesis. The class constructors and methods below are necessary for our development.
...
程式碼區塊 | ||
---|---|---|
| ||
class VoiceSynthesisResultStatus(Enum): SynthesizingCompleted = 1 Canceled = 2 |