SoundSync
ClassRepresents beat synchronization data for a music track.
- Available on all platforms
Index
Properties
Methods
Extends
Properties
allBeatsTimestampMS
readonlyallBeatsTimestampMS:number[]
Timestamps of all beats in the music track in milliseconds.
beatPeriodMS
readonlybeatPeriodMS:number
The interval between consecutive beats in milliseconds.
beatsPerMinute
readonlybeatsPerMinute:number
Tempo of the music track expressed as beats per minute (BPM).
downbeatsTimestampsMS
readonlydownbeatsTimestampsMS:number[]
Timestamps of downbeats in milliseconds.
numBeatsInMeasure
readonlynumBeatsInMeasure:number
Number of beats in each musical measure of this music track.
trackDurationSeconds
readonlytrackDurationSeconds:number
Total duration of the track in seconds.
Methods
getTypeName()
staticgetTypeName():TypeName<SoundSync>
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns
TypeName<SoundSync>
Overrides
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
isOfType()
isOfType(
type):boolean
Returns true if the object matches or derives from the passed in type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean