Component:AudioClipAssetMetadata

From Resonite Wiki
Revision as of 03:40, 14 February 2024 by 989onan (talk | contribs) (added info)
Component image 
Audio Clip Asset Metadata component as seen in the Scene Inspector

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

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>
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.


Related Components