audioformats

Gets information about supported audio formats using functions defined in the Audio library.

Syntax

audioformats

audioformats(fmt)

Inputs

fmt
Optional format name. Currently only wav formats are supported.
Type: string

Example

Get information on Wav format files:

audioinfo('wav')

Name: WAV (Microsoft)
Extension: wav
Subformats:
    Signed 16 bit PCM
    Signed 24 bit PCM
    Signed 32 bit PCM
    Unsigned 8 bit PCM
    32 bit float
    64 bit float
    U-Law
    A-Law
    IMA ADPCM
    Microsoft ADPCM
    GSM 6.10
    32kbs G721 ADPCM
Name: WAV (NIST Sphere)
Extension: wav
Subformats:
    Signed 8 bit PCM
    Signed 16 bit PCM
    Signed 24 bit PCM
    Signed 32 bit PCM
    U-Law
    A-Law
    Name: WAVEX (Microsoft)
    Extension: wav
    Subformats:
    Signed 16 bit PCM
    Signed 24 bit PCM
    Signed 32 bit PCM
    Unsigned 8 bit PCM
    32 bit float
    64 bit float
    U-Law
    A-Law