Property parser for: sound-information

SoundBag at it's core is always a map: { "sound-name1": "sound-url", // << simple entry "sound-name2": [ // sound-mix-desc "sound-url", sound-volume(default=1), sound-pitch(default=1), sound-offset(default=0) ] }

The output is also a map. But the array is transformed to a expressive format: { "sound-name1": "sound-url", // << simple entry "sound-name2": { "url": "sound-url", "gain": gain, "pitch": pitch, "suspend": suspend } "sound-name3": { "url": "sound-url", "gain": gain "pitch": [0.5, 2], // < random pitch between 0.5 and 2 "suspend": suspend } }

pitch can be an array of two values.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

parserId: string

Methods

Generated using TypeDoc