C# Class GAudio.GATWavHelper

Convenience helper methods and constants for reading and writing wav files.
Afficher le fichier Open project: gregzo/G-Audio Class Usage Examples

Méthodes publiques

Свойство Type Description
dataBytes byte[]
floatToInt16RescaleFactor int
fmtBytes byte[]
headerSize int
riffBytes byte[]
waveBytes byte[]

Méthodes publiques

Méthode Description
GetHeader ( int numChannels, int sampleRate, int numBytes ) : byte[]

Returns the header for a 16 bit uncompressed wav file.

IsEqualTo ( this bytes, byte comparand ) : bool

Compare byte arrays ( extension method )

Method Details

GetHeader() public static méthode

Returns the header for a 16 bit uncompressed wav file.
public static GetHeader ( int numChannels, int sampleRate, int numBytes ) : byte[]
numChannels int
sampleRate int
numBytes int
Résultat byte[]

IsEqualTo() public static méthode

Compare byte arrays ( extension method )
public static IsEqualTo ( this bytes, byte comparand ) : bool
bytes this
comparand byte
Résultat bool

Property Details

dataBytes public_oe static_oe property

public static byte[] dataBytes
Résultat byte[]

floatToInt16RescaleFactor public_oe static_oe property

Multiplier for converting float32 to int16
public static int floatToInt16RescaleFactor
Résultat int

fmtBytes public_oe static_oe property

public static byte[] fmtBytes
Résultat byte[]

headerSize public_oe static_oe property

The size of the header, in bytes.
public static int headerSize
Résultat int

riffBytes public_oe static_oe property

public static byte[] riffBytes
Résultat byte[]

waveBytes public_oe static_oe property

public static byte[] waveBytes
Résultat byte[]