Skip to content

Interface: TransitionSoundProps ​

A transition sound (p:sndAc). Either a start sound — an embedded WAV played when the transition runs (p:stSnd → p:snd), optionally looped — or the stop-previous form (p:endSnd) that silences a still-playing transition sound. Built-in PowerPoint sounds embed identically to a custom file, so there is no separate built-in path: supply the WAV bytes via data or path. See docs/animations-and-transitions.md.

Properties ​

data? ​

optional data?: string

Embedded sound bytes as a base64 data URI (e.g. data:audio/wav;base64,…) or raw base64.


loop? ​

optional loop?: boolean

Loop the sound until the next sound starts (<p:stSnd loop="1">).

Default ​

ts
false

name? ​

optional name?: string

Display name emitted on <p:snd @name> (e.g. ding.wav); defaults to the file name.


path? ​

optional path?: string

Path to a sound file, read at export time (alternative to data).


stopPrevious? ​

optional stopPrevious?: boolean

Emit the stop-previous form (<p:endSnd/>) instead of a start sound. Mutually exclusive with data/path.