Sound
(NOTE) Used with a CustomAudioNode to play audio data directly.
Methods | Properties | Base Classes | Derived Classes |
---|---|---|---|
AddMicUncompressedData | SampleCount | referencecountedobject | |
AddSampleToBuffer | |||
GetSampleAtIndex | |||
Reset |
Properties
SampleCount : integer
read-only
The number of samples currently in the buffer.
var SampleCount : Integer
Methods
AddMicUncompressedData : Void
Name Type Description Array[real] function AddMicUncompressedData( : Array[Real])
AddSampleToBuffer : Void
Adds a new audio sample to the end of the buffer. |Name|Type|Description| |---|---|---| |sample|real| |
function AddSampleToBuffer(sample : Real)
GetSampleAtIndex : real
Returns the sample at a specific index from the beginning of the buffer. |Name|Type|Description| |---|---|---| |index|integer| |
function GetSampleAtIndex(index : Integer) : Real
Reset : Void
Removes all data from the buffer and resets it. |Name|Type|Description| |---|---|---|
function Reset()