FMTSubChunk {Microsoft.VisualBasic.Data.Wave} | .NET clr documentation

## FMTSubChunk

### Description

The "fmt " subchunk describes the sound data's format

### Declare

    # namespace Microsoft.VisualBasic.Data.Wave
    export class FMTSubChunk extends SubChunk {
       # PCM = 1 (i.e. Linear quantization) Values other than 1 indicate some form of compression.
       audioFormat: wFormatTag;
       # 8 bits = 8, 16 bits = 16, etc.
       BitsPerSample: integer;
       # ```
       #  NumChannels * BitsPerSample / 8
       #  ```
       #
       #  The number Of bytes For one sample including
       #  all channels. I wonder what happens When
       #  this number isn't an integer?
       BlockAlign: integer;
       # (bytes_per sec) 音频的码率，每秒播放的字节数。
       #
       #  SampleRate * NumChannels * BitsPerSample / 8
       #
       ByteRate: integer;
       channels: Channels;
       chunkID: string;
       chunkSize: integer;
       # Pulse Code Modulation
       isPCM: boolean;
       # 22.05KHz/44.1kHz/48KHz
       SampleRate: integer;
    }

### .NET clr type reference tree

1. this class extends from SubChunk class: SubChunk
2. use by property member `audioFormat`: wFormatTag
3. use by property member `channels`: Channels

[Package {$package} version {$version} Index]