Skip to content

Interface: SSAudioEvent ​

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:82

An audio event fired by a part: the SSAB sound reference (hashes + alias name) plus loop count. The runtime plays no audio — the host resolves the sound and plays it on its own audio engine.

Properties ​

frameNo ​

frameNo: number

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:89

The frame the key is authored on — not necessarily the frame it was noticed on, since one tick can step across several.


loopNum ​

loopNum: number

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:99


partIndex ​

partIndex: number

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:83


partName ​

partName: string | null

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:84


soundListNameHash ​

soundListNameHash: number

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:96


soundName ​

soundName: string | null

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:98


soundNameHash ​

soundNameHash: number

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:97


source ​

source: number

Defined in: packages/ssplayer-pixi/src/SSPlayer.ts:95

The source that fired it: a handle like those getTrackMainSource and addTrackSource return. Tells track 0's main animation from an overlay or from the outgoing side of a crossfade.