Tone.js/Tone/index.ts
2019-07-18 14:48:02 -04:00

12 lines
305 B
TypeScript

export { getContext, setContext } from "./core/Global";
export * from "./core/index";
export * from "./source/index";
export * from "./instrument/index";
import { getContext } from "./core/Global";
/**
* The current audio context time
*/
export function now(): Seconds {
return getContext().now();
}