Skip to content

SpectrogramProfiler

new SpectrogramProfiler(viewer: ISpectrogramViewer, options?: SpectrogramProfilerOptions): SpectrogramProfiler;
ParameterType
viewerISpectrogramViewer
optionsSpectrogramProfilerOptions

SpectrogramProfiler

destroy(): void;

void


getStats(): SpectrogramProfileStats;

SpectrogramProfileStats


isDestroyed(): boolean;

boolean


on<K>(event: K, handler: (data: SpectrogramProfilerEvents[K]) => void): () => void;
Type Parameter
K extends keyof SpectrogramProfilerEvents
ParameterType
eventK
handler(data: SpectrogramProfilerEvents[K]) => void

() => void