AudioTextToSpeechクラス
ひとことで言うと
AudioTextToSpeechは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Plays text as speech audio.
クラスの関係
プロパティ(12)
| 名前と書き方 | 説明 |
|---|---|
AutoLocalizeAudioTextToSpeech.AutoLocalize: boolean | Controls whether AudioTextToSpeech.Text is automatically translated into the player's language and routed to an appropriate voice. |
IsLoadedAudioTextToSpeech.IsLoaded: boolean | Denotes whether the AudioTextToSpeech object is loaded, buffered, and ready to play. |
IsPlayingAudioTextToSpeech.IsPlaying: boolean | Denotes whether the AudioTextToSpeech object is currently playing. |
LoopingAudioTextToSpeech.Looping: boolean | Controls whether the AudioTextToSpeech object loops. |
PitchAudioTextToSpeech.Pitch: float | Controls the pitch of the generated speech audio, which will be independent of its speed. |
PlaybackSpeedAudioTextToSpeech.PlaybackSpeed: float | Controls how quickly the speech audio will be played, which controls its pitch. |
SpeedAudioTextToSpeech.Speed: float | Controls the speed of the generated speech audio, which will be independent of its pitch. |
TextAudioTextToSpeech.Text: string | The text to be converted into speech audio by AudioTextToSpeech. |
TimeLengthAudioTextToSpeech.TimeLength: double | Denotes the length of the generated speech audio. |
TimePositionAudioTextToSpeech.TimePosition: double | Tracks the current position of the playhead within the generated speech audio. |
VoiceIdAudioTextToSpeech.VoiceId: string | The voice style to be used by AudioTextToSpeech. |
VolumeAudioTextToSpeech.Volume: float | Controls how loudly the generated speech audio will be played. |
メソッド(8)
| 名前と書き方 | 説明 |
|---|---|
GetConnectedWiresAudioTextToSpeech:GetConnectedWires(pin: string): List<Wire> | Returns an array of Class.Wire|Wires that are connected to the specified pin. |
GetInputPinsAudioTextToSpeech:GetInputPins(): Array | Gets the list of pins that a Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property. |
GetOutputPinsAudioTextToSpeech:GetOutputPins(): Array | Gets the list of pins that a Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property. |
GetWaveformAsyncAudioTextToSpeech:GetWaveformAsync(timeRange: NumberRange, samples: int): Array | Returns a sampling of the waveform data for the generated audio. |
LoadAsyncAudioTextToSpeech:LoadAsync(): AssetFetchStatus | Generates speech audio. |
PauseAudioTextToSpeech:Pause(): () | Pauses the AudioTextToSpeech object wherever its Class.AudioTextToSpeech.TimePosition|TimePosition is. |
PlayAudioTextToSpeech:Play(): () | Plays the AudioTextToSpeech from wherever its Class.AudioTextToSpeech.TimePosition|TimePosition is. |
UnloadAudioTextToSpeech:Unload(): () | Unload the generated speech audio. |
イベント(3)
| 名前と書き方 | 説明 |
|---|---|
EndedAudioTextToSpeech.Ended() | Fires when the AudioTextToSpeech object has completed playback and paused. |
LoopedAudioTextToSpeech.Looped() | Fires when the AudioTextToSpeech object loops. |
WiringChangedAudioTextToSpeech.WiringChanged(connected: boolean, pin: string, wire: Wire, instance: Instance) | Fires when another instance is connected to or disconnected from the AudioTextToSpeech via a Wire. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(AudioTextToSpeech)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。