API Reference

Class List

SoundComponentSystem

Extends: ComponentSystem

Manages creation of SoundComponents.

Summary

Properties

context

Gets the AudioContext currently used by the sound manager.

manager

Gets / sets the sound manager.

volume

Sets / gets the volume for the entire Sound system.

Inherited

Details

Constructor

SoundComponentSystem(app, manager)

Create a SoundComponentSystem.

Parameters

appApplication

The Application.

managerSoundManager

The sound manager.

Properties

AudioContextcontext

Gets the AudioContext currently used by the sound manager. Requires Web Audio API support.

SoundManagermanager

Gets / sets the sound manager.

numbervolume

Sets / gets the volume for the entire Sound system. All sounds will have their volume multiplied by this value. Valid between [0, 1].

Inherited