API

Interface IFlowGraphSoundAsset

Describes a sound asset declared by a flow graph coordinator. Declared sound assets are serialized with the coordinator and loaded before its graphs are parsed, so a serialized flow graph can carry the sounds it plays.

interface IFlowGraphSoundAsset {
    name: string;
    url: string;
}
Index
name: string

The unique name of the sound asset. Audio blocks reference the sound using this name.

url: string

The URL of the audio file. This can be a data: URL to embed the audio in the serialized graph.