AudioSpeechToText
Converts spoken audio into text.
| Memory category | Internal |
|---|
Member index 5
Description
This API is in beta and is not publicly available yet.
AudioSpeechToText is used to convert speech audio into text. This class provides a single Input pin that can be connected to other pins via Wires.
History 6
- 677 Add WiringChanged
- 677 Add GetConnectedWires
- 677 Add VoiceDetected
- 677 Add Text
- 677 Add Enabled
- 677 Add AudioSpeechToText
Members 5
Enabled
| Type | Default | |
|---|---|---|
| bool | false | |
Whether the AudioSpeechToText object is enabled for processing input audio into text.
| Thread safety | ReadSafe |
|---|---|
| Category | State |
| Loaded/Saved | true |
GetConnectedWires
| Parameters (1) | ||
|---|---|---|
| pin | string | |
| Returns (1) | ||
| Instances | ||
Returns an array of Wires that are connected to the specified pin. AudioSpeechToText has one input pin.
| Thread safety | Unsafe |
|---|
History 1
- 677 Add GetConnectedWires
Text
| Type | Default | |
|---|---|---|
| string | ||
The text resulting from the conversion of speech audio. Text accumulates until it hits a limit of 280 characters, and then old text is dropped to make room for new text.
| Thread safety | ReadSafe |
|---|---|
| Category | State |
| Loaded/Saved | true |
VoiceDetected
| Type | Default | |
|---|---|---|
| bool | false | |
Whether the AudioSpeechToText object is detecting speech in the incoming audio signal. AudioSpeechToText records the speech audio until it ceases or until a maximum amount of 10 seconds has been recorded. Then it converts the recorded audio into text.
| Thread safety | ReadSafe |
|---|---|
| Category | State |
| Loaded/Saved | false/true |
History 1
- 677 Add VoiceDetected
WiringChanged
| Parameters (4) | |
|---|---|
| connected | bool |
| pin | string |
| wire | Wire |
| instance | Instance |
Event that fires after a Wire becomes connected or disconnected, and that Wire is now or was previously connected to a pin on the AudioSpeechToText and to some other wirable instance.
| Thread safety | Unsafe |
|---|
History 1
- 677 Add WiringChanged