Table of Contents

Sound

(NOTE) Uses a SoundBuffer to send audio data directly to the audio engine.

Methods Properties Base Classes Derived Classes
SendBuffer Channels soundnode
SendMicCompressedData MinimumBufferSize
SendMicUncompressedData SystemSampleRate
SendPartialBuffer

Properties


Channels : integer

The number of audio channels that will be in the buffer.

var Channels : Integer

MinimumBufferSize : integer

read-only

The minimum number of samples that should be sent when a NeedMoreSamples event is received.

var MinimumBufferSize : Integer

SystemSampleRate : integer

read-only

The sample rate currently being used by the audio system.

var SystemSampleRate : Integer

Methods


SendBuffer : Void

Sends a buffer of audio samples to the audio system for output. |Name|Type|Description| |---|---|---| |buffer|soundbuffer| |

function SendBuffer(buffer : SoundBuffer)

SendMicCompressedData : Void

Name Type Description
Array[byte]
function SendMicCompressedData( : Array[Byte])

SendMicUncompressedData : Void

Name Type Description
Array[real]
function SendMicUncompressedData( : Array[Real])

SendPartialBuffer : Void

Sends a partial buffer of audio samples to the audio system for output. |Name|Type|Description| |---|---|---| |buffer|soundbuffer| | |startAtIndex|integer| | |howManySamples|integer| |

function SendPartialBuffer(buffer : SoundBuffer, startAtIndex : Integer, howManySamples : Integer)