AudioSample
An AudioSample is a piece of audio that can be played back from your gadget with the AudioChip module.
To import an AudioSample, you must use OGG, WAV or MP3 files, and for best results they must be 44.1kHz and 16bit.
Currently, there's no way to create an AudioSample purely in-game, but audio generation is planned for the future.
Properties
The name of the asset.
String containing
"AudioSample"
SamplesCount number read only
Length of the AudioSample in seconds
Table that contains the AudioSample's metadata, it can contain the following values:
*LongDescription
*Date
*Year
*TrackNumber
*TrackTotal
*DiscNumber
*DiscTotal
*Popularity
*SeriesPart
*Bitrate
*BitDepth
*SampleRate
*IsVariableBitRate
*Duration
*SeriesTitle
*SortTitle
*Title
*Artist
*Composer
*Comment
*Genre
*Album
*Group
*OriginalArtist
*Copyright
*OriginalAlbum
*Publisher
*PublishingDate
*AlbumArtist
*Conductor
*ProductId
*SortAlbum
*SortAlbumArtist
*SortArtist
*Description
Methods
Returns true if the asset reference is still valid.
References can become invalid if the asset is unloaded.