added info |
missed a field |
||
Line 12: | Line 12: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|AudioClip|IAssetProvider`1|TypeString0=IAssetProvider<AudioClip>| | |AudioClip|IAssetProvider`1|TypeString0=IAssetProvider<AudioClip>| The audio clip to read metadata from | ||
|SampleRate|Int| The Hz the audio is sampled at. | |SampleRate|Int| The Hz the audio is sampled at. | ||
|Channels|ChannelConfiguration| The audio channel configuration the audio was recorded in. | |Channels|ChannelConfiguration| The audio channel configuration the audio was recorded in. |
Revision as of 03:41, 14 February 2024
Component image
Audio Clip Asset Metadata is a component that will populate itself with different small bits of information about an audio clip, also known as metadata. The metadata will be the default values until an audio clip is provided, which will then populate the data.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
AudioClip
|
IAssetProvider<AudioClip> | The audio clip to read metadata from |
SampleRate
|
Int | The Hz the audio is sampled at. |
Channels
|
ChannelConfiguration | The audio channel configuration the audio was recorded in. |
ChannelCount
|
Int | How many channels are in the audio recording. usually 1 channel for mono or 2 channels for L and R Stereo. |
SampleCount
|
Int | how many total samples the audio clip has |
Duration
|
Double | How long the audio clip is in seconds. |
Extension
|
String | the extension of the file type the audio was recorded in. |
CodecInfo
|
String | The codec the audio is written in like WAV or FLAC and the quality of the audio. |
FullyDecoded
|
Bool | If the audio is loaded or not and decoded (Waveform visible) |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.