tone
Version:
A Web Audio framework for making interactive music in the browser.
13 lines (12 loc) • 437 B
TypeScript
/**
* Add a class to the AudioWorkletGlobalScope
*/
export declare function addToWorklet(classOrFunction: string): void;
/**
* Register a processor in the AudioWorkletGlobalScope with the given name
*/
export declare function registerProcessor(name: string, classDesc: string): void;
/**
* Get all of the modules which have been registered to the AudioWorkletGlobalScope
*/
export declare function getWorkletGlobalScope(): string;