Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Audio

Properties of an audio file.

A struct with 8 fields:

fieldtypeoptionaldescription
channelsUnsignedIntegerfalseNumber of audio channels.
codecAudioCodectrueCodec of the audio data.
formatAudioFormattrueContainer format of the audio file.
pathRelativePathfalsePath to the audio file.
sample_bitsUnsignedIntegertrueBits per sample.
sample_rateUnsignedIntegerfalseSample rate in Hertz.
samplesUnsignedIntegerfalseNumber of samples per channel.
sizeUnsignedIntegerfalseSize of the audio file in bytes.