The AudioData class.
Constructors | |
---|---|
New | Creates a new AudioData object |
Properties | |
---|---|
Data | The actual audio data. (read only) |
Duration | The duration, in seconds, of the audio. (read only) |
Format | The format of the audio. (read only) |
Hertz | The playback rate of the audio. (read only) |
Length | The length, in samples, of the audio. (read only) |
Size | The size, in bytes of the audio data. (read only) |
Methods | |
---|---|
GetSample | Gets a sample at a given sample index. |
SetSample | Sets a sample at a given sample index. |
Functions | |
---|---|
Load | Loads audio data from a file. |