tone 14.9.13 → 14.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Tone/index.ts +5 -5
- package/Tone/version.ts +1 -1
- package/build/Tone.js +1 -1
- package/build/Tone.js.map +1 -1
- package/build/esm/index.d.ts +5 -6
- package/build/esm/index.js +4 -4
- package/build/esm/version.js +1 -1
- package/package.json +1 -1
package/build/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { getContext, setContext } from "./core/Global";
|
|
2
|
-
import { BaseContext } from "./core/context/BaseContext";
|
|
3
2
|
export * from "./classes";
|
|
4
3
|
export * from "./version";
|
|
5
4
|
import { ToneAudioBuffer } from "./core/context/ToneAudioBuffer";
|
|
@@ -8,13 +7,13 @@ import { Seconds } from "./core/type/Units";
|
|
|
8
7
|
export { supported } from "./core/context/AudioContext";
|
|
9
8
|
/**
|
|
10
9
|
* The current audio context time of the global {@link BaseContext}.
|
|
11
|
-
* @see {@link
|
|
10
|
+
* @see {@link Context.now}
|
|
12
11
|
* @category Core
|
|
13
12
|
*/
|
|
14
13
|
export declare function now(): Seconds;
|
|
15
14
|
/**
|
|
16
|
-
* The current audio context time of the global {@link
|
|
17
|
-
* @see {@link
|
|
15
|
+
* The current audio context time of the global {@link Context} without the {@link Context.lookAhead}
|
|
16
|
+
* @see {@link Context.immediate}
|
|
18
17
|
* @category Core
|
|
19
18
|
*/
|
|
20
19
|
export declare function immediate(): Seconds;
|
|
@@ -75,10 +74,10 @@ export declare const Draw: import("./core/util/Draw").DrawClass;
|
|
|
75
74
|
export declare function getDraw(): import("./core/util/Draw").DrawClass;
|
|
76
75
|
/**
|
|
77
76
|
* A reference to the global context
|
|
78
|
-
* @see {@link
|
|
77
|
+
* @see {@link Context}
|
|
79
78
|
* @deprecated Use {@link getContext} instead
|
|
80
79
|
*/
|
|
81
|
-
export declare const context: BaseContext;
|
|
80
|
+
export declare const context: import("./classes").BaseContext;
|
|
82
81
|
/**
|
|
83
82
|
* Promise which resolves when all of the loading promises are resolved.
|
|
84
83
|
* Alias for static {@link ToneAudioBuffer.loaded} method.
|
package/build/esm/index.js
CHANGED
|
@@ -7,15 +7,15 @@ export { start } from "./core/Global";
|
|
|
7
7
|
export { supported } from "./core/context/AudioContext";
|
|
8
8
|
/**
|
|
9
9
|
* The current audio context time of the global {@link BaseContext}.
|
|
10
|
-
* @see {@link
|
|
10
|
+
* @see {@link Context.now}
|
|
11
11
|
* @category Core
|
|
12
12
|
*/
|
|
13
13
|
export function now() {
|
|
14
14
|
return getContext().now();
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
|
-
* The current audio context time of the global {@link
|
|
18
|
-
* @see {@link
|
|
17
|
+
* The current audio context time of the global {@link Context} without the {@link Context.lookAhead}
|
|
18
|
+
* @see {@link Context.immediate}
|
|
19
19
|
* @category Core
|
|
20
20
|
*/
|
|
21
21
|
export function immediate() {
|
|
@@ -86,7 +86,7 @@ export function getDraw() {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* A reference to the global context
|
|
89
|
-
* @see {@link
|
|
89
|
+
* @see {@link Context}
|
|
90
90
|
* @deprecated Use {@link getContext} instead
|
|
91
91
|
*/
|
|
92
92
|
export const context = getContext();
|
package/build/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "14.9.
|
|
1
|
+
export const version = "14.9.14";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|