AudioStreamReaderクラス
ひとことで言うと
AudioStreamReaderは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Reads audio samples from a connected audio stream into Luau buffers for custom analysis.
クラスの関係
プロパティ(4)
| 名前と書き方 | 説明 |
|---|---|
LayoutAudioStreamReader.Layout: AudioChannelLayout | The channel layout of the audio stream that the reader expects. |
SampleFormatAudioStreamReader.SampleFormat: AudioSampleFormat | The sample format of the audio data stored in the internal buffer. |
SampleRateAudioStreamReader.SampleRate: int | The sample rate of the audio data, in Hertz. |
WindowSizeAudioStreamReader.WindowSize: AudioWindowSize | Controls the size of the internal ring buffer that accumulates audio samples. |
メソッド(5)
| 名前と書き方 | 説明 |
|---|---|
GetConnectedWiresAudioStreamReader:GetConnectedWires(pin: string): List<Wire> | Returns an array of Class.Wire|Wires that are connected to the specified pin. |
GetInputPinsAudioStreamReader:GetInputPins(): Array | Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property. |
GetOutputPinsAudioStreamReader:GetOutputPins(): Array | Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property. |
PeekAudioStreamReader:Peek(into: Array): int | Reads audio samples from the internal buffer without consuming them. |
ReadAudioStreamReader:Read(into: Array): int | Reads and consumes audio samples from the internal buffer. |
イベント(1)
| 名前と書き方 | 説明 |
|---|---|
WiringChangedAudioStreamReader.WiringChanged(connected: boolean, pin: string, wire: Wire, instance: Instance) | Fires when another instance is connected to or disconnected from the AudioStreamReader 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(AudioStreamReader)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。