AudioSpeechToText
Converts spoken audio into text.
| Memory category | Internal |
|---|
Member index 5
Description
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.
Roblox uses the following formula to throttle requests for this API based on
the number of players in your experience:
max requests per minute per experience = 1 + (5 * number_of_concurrent_users).
For more information, see Speech-to-text.
History 7
- 698 Change Tags of AudioSpeechToText from [NotBrowsable] to []
- 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.
| 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