Provider of the Audio Output Audio Track asset.

// @input Asset.AudioTrackAsset audioOutput
audioOutput = script.audioOutput.control;
audioOutput.sampleRate = script.sampleRate;

Hierarchy (View Summary, Expand)

Constructors

Properties

maxFrameSize: number

The maximum frame size of the audio track asset.

sampleRate: number

Sample rate (samples per second) of the audio track asset.

Methods

  • Enqueue audio data into an audio playback system.

    shape.x - buffer size, must be less or equal to audioFrame length.

    Parameters

    • audioFrame: Float32Array
    • inShape: vec3

    Returns void

  • Preferred size for audio output at the current frame update.

    Returns number

  • Returns true if the object matches or derives from the passed in type.

    Parameters

    • type: string

    Returns boolean

MMNEPVFCICPMFPCPTTAAATR