MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.db.stream.WaveFormat Struct Reference

The WaveFormat structure describes the header information of a WAV file. More...

Public Attributes

ushort wFormatTag
 Specifies the AudioFormat where PCM = 1 for Linear quantization. More...
 
ushort nChannels
 Specifies the number of channels in the data where Mono = 1 and Stero = 2. More...
 
uint nSamplesPerSec
 Specifies the sample rate (e.g. 8000, 44100, etc.) More...
 
uint nAvgBytesPerSec
 Specifies the average byte rate per second (nSamplesPerSec * Channels * BitsPerSample / 8) More...
 
ushort nBlockAlign
 Specifies the block alignment (Channels * BitsPerSample / 8) More...
 
ushort wBitsPerSample
 Specifies the number of bits per sample (8, 16, 32, etc.) More...
 

Detailed Description

The WaveFormat structure describes the header information of a WAV file.

See also
WAVE PCM soundfile format

Definition at line 73 of file WAVReader.cs.

Member Data Documentation

◆ nAvgBytesPerSec

uint MyCaffe.db.stream.WaveFormat.nAvgBytesPerSec

Specifies the average byte rate per second (nSamplesPerSec * Channels * BitsPerSample / 8)

Definition at line 90 of file WAVReader.cs.

◆ nBlockAlign

ushort MyCaffe.db.stream.WaveFormat.nBlockAlign

Specifies the block alignment (Channels * BitsPerSample / 8)

Definition at line 94 of file WAVReader.cs.

◆ nChannels

ushort MyCaffe.db.stream.WaveFormat.nChannels

Specifies the number of channels in the data where Mono = 1 and Stero = 2.

Definition at line 82 of file WAVReader.cs.

◆ nSamplesPerSec

uint MyCaffe.db.stream.WaveFormat.nSamplesPerSec

Specifies the sample rate (e.g. 8000, 44100, etc.)

Definition at line 86 of file WAVReader.cs.

◆ wBitsPerSample

ushort MyCaffe.db.stream.WaveFormat.wBitsPerSample

Specifies the number of bits per sample (8, 16, 32, etc.)

Definition at line 98 of file WAVReader.cs.

◆ wFormatTag

ushort MyCaffe.db.stream.WaveFormat.wFormatTag

Specifies the AudioFormat where PCM = 1 for Linear quantization.

Definition at line 78 of file WAVReader.cs.


The documentation for this struct was generated from the following file: