@motion-script/core / filtersKey
Function: filtersKey()
filtersKey(
filters):string
Defined in: attributes/audio/filters/union.ts:26
Deterministic string key for a filter chain, including time-varying curve params.
Playback identity must change when filters change so the audio device tears down the old source and rebuilds the graph (otherwise an edited volume/filter keeps playing the stale source until the next stop/start). Keyed via paramKey so two chains with identical curves collapse to the same string.
Parameters
filters
readonly AudioFilterItem[] | undefined
Returns
string