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

SamplesCount number read only

Channels number read only

Frequency number read only

Length number read only

Length of the AudioSample in seconds