Tone.js/Tone/index.ts
2019-07-24 21:54:57 -04:00

13 lines
336 B
TypeScript

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