Tone.js/Tone/index.ts
Yotam Mann 61c9f191b6 removing calls to tslint
getting rid of tslint from project and using eslint instead
2019-09-14 18:06:46 -04:00

21 lines
552 B
TypeScript

export { getContext, setContext } from "./core/Global";
export * from "./classes";
import { getContext } from "./core/Global";
export { start } from "./core/Global";
/**
* The current audio context time
*/
export function now(): import("./core/type/Units").Seconds {
return getContext().now();
}
/**
* The Transport object belonging to the global Tone.js Context
*/
export const Transport = getContext().transport;
/**
* The Destination (output) belonging to the global Tone.js Context
*/
export const Destination = getContext().destination;