The WAVReader is an extension of the BinaryReader and is used to read WAV files.
More...
The WAVReader is an extension of the BinaryReader and is used to read WAV files.
Definition at line 104 of file WAVReader.cs.
◆ WAVReader()
MyCaffe.db.stream.WAVReader.WAVReader |
( |
Stream |
stream | ) |
|
The constructor.
- Parameters
-
stream | Specifies the data stream to read. |
Definition at line 117 of file WAVReader.cs.
◆ ByteArrayToStructure< T >()
static T MyCaffe.db.stream.WAVReader.ByteArrayToStructure< T > |
( |
byte[] |
bytes | ) |
|
|
staticprotected |
Converts a byte array to a structure.
- Template Parameters
-
T | Specifies the structure type. |
- Parameters
-
bytes | Specifies the byte array. |
- Returns
- The structure is returned.
Definition at line 376 of file WAVReader.cs.
◆ ReadToEnd()
bool MyCaffe.db.stream.WAVReader.ReadToEnd |
( |
bool |
bReadHeaderOnly = false | ) |
|
Reads the WAV file data.
- Parameters
-
bReadHeaderOnly | Optionally, specifies to only read the header information. |
- Returns
- If read successfully this function returns true, otherwise false.
Definition at line 151 of file WAVReader.cs.
◆ ExtraInformation
Dictionary<string, List<string> > MyCaffe.db.stream.WAVReader.ExtraInformation |
|
get |
Returns the WAV file header information in a key=value format.
Definition at line 141 of file WAVReader.cs.
◆ Format
Returns the WAV file header information.
Definition at line 125 of file WAVReader.cs.
◆ SampleCount
int MyCaffe.db.stream.WAVReader.SampleCount |
|
get |
Returns the number of samples.
Definition at line 168 of file WAVReader.cs.
◆ Samples
List<double[]> MyCaffe.db.stream.WAVReader.Samples |
|
get |
Returns the frequency samples of the WAV file.
Definition at line 133 of file WAVReader.cs.
The documentation for this class was generated from the following file:
- C:/Data/Data/SS_Projects/Intelligence/GitHub/MyCaffe/MyCaffe.db.stream/stdqueries/wav/WAVReader.cs