Skip to content

Interface: TransitionSoundIr ​

A transition's sound (p:sndAc), reduced to what TransitionSoundProps accepts.

data rather than path, for the same reason a background image uses data: the bytes are the thing the IR carries, and a path would bind the script to a file layout the IR knows nothing about. The stop-previous form has no bytes at all — it silences a sound still playing from the previous slide — so it is the one shape here with no AssetRef.

Properties ​

data? ​

optional data?: AssetRef

Bytes of the embedded WAV, for a start sound. Absent for stopPrevious.


loop? ​

optional loop?: boolean

p:stSnd@loop — repeat until the next sound starts. Omitted when false, its default.


name? ​

optional name?: string

p:snd@name, the display name PowerPoint shows for the sound.


stopPrevious? ​

optional stopPrevious?: boolean

The p:endSnd form: stop the previous slide's sound rather than start one.