Skip to content

Class · inherits Instance

AudioSpeechToText

Official docs ↗

Converts spoken audio into text.

About AudioSpeechToText

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). You can purchase additional usage using Extended Services.

For more information, see Speech-to-text.

Properties 3

  • Enabled: booleanWhether the AudioSpeechToText object is enabled for processing input audio into text.
  • Text: stringThe text resulting from the conversion of speech audio.
  • VoiceDetected: booleanReadOnlyNotReplicatedWhether the AudioSpeechToText object is detecting speech in the incoming audio signal.

    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.

Methods 3

Events 1

  • WiringChangedAudioSpeechToText.WiringChanged:Connect(function(connected, pin, wire, instance))Fires when another instance is connected to or disconnected from the AudioSpeechToText via a Wire.

    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.

AudioSpeechToText also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.