tone 15.3.0 → 15.3.2

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.
Files changed (58) hide show
  1. package/LICENSE.md +1 -1
  2. package/Tone/core/clock/Transport.test.ts +60 -60
  3. package/Tone/core/clock/Transport.ts +4 -4
  4. package/Tone/core/clock/TransportEvent.test.ts +4 -4
  5. package/Tone/core/clock/TransportEvent.ts +2 -2
  6. package/Tone/core/clock/TransportRepeatEvent.test.ts +4 -4
  7. package/Tone/core/clock/TransportRepeatEvent.ts +1 -1
  8. package/Tone/core/context/BaseContext.ts +4 -4
  9. package/Tone/core/context/Context.test.ts +8 -8
  10. package/Tone/core/context/Context.ts +14 -10
  11. package/Tone/core/context/Destination.test.ts +2 -2
  12. package/Tone/core/context/Destination.ts +3 -3
  13. package/Tone/core/context/DummyContext.ts +4 -4
  14. package/Tone/core/context/Listener.test.ts +2 -2
  15. package/Tone/core/context/Listener.ts +3 -2
  16. package/Tone/core/context/ToneWithContext.ts +1 -1
  17. package/Tone/core/index.ts +0 -3
  18. package/Tone/core/util/Draw.test.ts +4 -4
  19. package/Tone/core/util/Draw.ts +2 -2
  20. package/Tone/fromContext.ts +8 -8
  21. package/Tone/index.test.ts +9 -9
  22. package/Tone/index.ts +20 -16
  23. package/Tone/signal/SyncedSignal.ts +1 -1
  24. package/Tone/version.ts +1 -1
  25. package/build/Tone.js +1 -1
  26. package/build/Tone.js.map +1 -1
  27. package/build/esm/core/clock/Transport.d.ts +1 -1
  28. package/build/esm/core/clock/Transport.js +4 -4
  29. package/build/esm/core/clock/Transport.js.map +1 -1
  30. package/build/esm/core/clock/TransportEvent.d.ts +2 -2
  31. package/build/esm/core/clock/TransportEvent.js +1 -1
  32. package/build/esm/core/clock/TransportRepeatEvent.d.ts +1 -1
  33. package/build/esm/core/context/BaseContext.d.ts +4 -4
  34. package/build/esm/core/context/Context.d.ts +4 -4
  35. package/build/esm/core/context/Context.js +8 -6
  36. package/build/esm/core/context/Context.js.map +1 -1
  37. package/build/esm/core/context/Destination.d.ts +1 -1
  38. package/build/esm/core/context/Destination.js +3 -3
  39. package/build/esm/core/context/Destination.js.map +1 -1
  40. package/build/esm/core/context/DummyContext.d.ts +4 -4
  41. package/build/esm/core/context/Listener.d.ts +2 -1
  42. package/build/esm/core/context/Listener.js +3 -2
  43. package/build/esm/core/context/Listener.js.map +1 -1
  44. package/build/esm/core/context/ToneWithContext.d.ts +1 -1
  45. package/build/esm/core/context/ToneWithContext.js +1 -1
  46. package/build/esm/core/index.js +0 -2
  47. package/build/esm/core/index.js.map +1 -1
  48. package/build/esm/core/util/Draw.d.ts +1 -1
  49. package/build/esm/core/util/Draw.js +2 -2
  50. package/build/esm/core/util/Draw.js.map +1 -1
  51. package/build/esm/fromContext.d.ts +8 -8
  52. package/build/esm/index.d.ts +25 -21
  53. package/build/esm/index.js +8 -8
  54. package/build/esm/index.js.map +1 -1
  55. package/build/esm/signal/SyncedSignal.d.ts +1 -1
  56. package/build/esm/signal/SyncedSignal.js +1 -1
  57. package/build/esm/version.js +1 -1
  58. package/package.json +2 -2
@@ -23,14 +23,14 @@ export function immediate() {
23
23
  }
24
24
  /**
25
25
  * The Transport object belonging to the global Tone.js Context.
26
- * @see {@link TransportClass}
26
+ * @see {@link TransportInstance}
27
27
  * @category Core
28
28
  * @deprecated Use {@link getTransport} instead
29
29
  */
30
30
  export const Transport = getContext().transport;
31
31
  /**
32
32
  * The Transport object belonging to the global Tone.js Context.
33
- * @see {@link TransportClass}
33
+ * @see {@link TransportInstance}
34
34
  * @category Core
35
35
  */
36
36
  export function getTransport() {
@@ -38,7 +38,7 @@ export function getTransport() {
38
38
  }
39
39
  /**
40
40
  * The Destination (output) belonging to the global Tone.js Context.
41
- * @see {@link DestinationClass}
41
+ * @see {@link DestinationInstance}
42
42
  * @category Core
43
43
  * @deprecated Use {@link getDestination} instead
44
44
  */
@@ -49,20 +49,20 @@ export const Destination = getContext().destination;
49
49
  export const Master = getContext().destination;
50
50
  /**
51
51
  * The Destination (output) belonging to the global Tone.js Context.
52
- * @see {@link DestinationClass}
52
+ * @see {@link DestinationInstance}
53
53
  * @category Core
54
54
  */
55
55
  export function getDestination() {
56
56
  return getContext().destination;
57
57
  }
58
58
  /**
59
- * The {@link ListenerClass} belonging to the global Tone.js Context.
59
+ * The {@link ListenerInstance} belonging to the global Tone.js Context.
60
60
  * @category Core
61
61
  * @deprecated Use {@link getListener} instead
62
62
  */
63
63
  export const Listener = getContext().listener;
64
64
  /**
65
- * The {@link ListenerClass} belonging to the global Tone.js Context.
65
+ * The {@link ListenerInstance} belonging to the global Tone.js Context.
66
66
  * @category Core
67
67
  */
68
68
  export function getListener() {
@@ -70,7 +70,7 @@ export function getListener() {
70
70
  }
71
71
  /**
72
72
  * Draw is used to synchronize the draw frame with the Transport's callbacks.
73
- * @see {@link DrawClass}
73
+ * @see {@link DrawInstance}
74
74
  * @category Core
75
75
  * @deprecated Use {@link getDraw} instead
76
76
  */
@@ -78,7 +78,7 @@ export const Draw = getContext().draw;
78
78
  /**
79
79
  * Get the singleton attached to the global context.
80
80
  * Draw is used to synchronize the draw frame with the Transport's callbacks.
81
- * @see {@link DrawClass}
81
+ * @see {@link DrawInstance}
82
82
  * @category Core
83
83
  */
84
84
  export function getDraw() {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../Tone/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC1D,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAM3D;;;;GAIG;AACH,MAAM,UAAU,GAAG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,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,EAAE,CAAC,QAAQ,CAAC;AAE9C;;;GAGG;AACH,MAAM,UAAU,WAAW;IAC1B,OAAO,UAAU,EAAE,CAAC,QAAQ,CAAC;AAC9B,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,EAAE,CAAC,IAAI,CAAC;AAEtC;;;;;GAKG;AACH,MAAM,UAAU,OAAO;IACtB,OAAO,UAAU,EAAE,CAAC,IAAI,CAAC;AAC1B,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;AAEpC;;;;GAIG;AACH,MAAM,UAAU,MAAM;IACrB,OAAO,eAAe,CAAC,MAAM,EAAE,CAAC;AACjC,CAAC;AAED,+CAA+C;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,8CAA8C;AAC9C,MAAM,CAAC,MAAM,MAAM,GAA2B,eAAe,CAAC;AAC9D,+CAA+C;AAC/C,MAAM,CAAC,MAAM,OAAO,GAA4B,gBAAgB,CAAC;AACjE,+CAA+C;AAC/C,MAAM,CAAC,MAAM,YAAY,GAA4B,gBAAgB,CAAC"}
@@ -3,7 +3,7 @@ import { OutputNode } from "../core/context/ToneAudioNode.js";
3
3
  import { NormalRange, Time, TransportTime, UnitMap, UnitName } from "../core/type/Units.js";
4
4
  import { Signal, SignalOptions } from "./Signal.js";
5
5
  /**
6
- * Adds the ability to synchronize the signal to the {@link TransportClass}
6
+ * Adds the ability to synchronize the signal to the {@link TransportInstance}
7
7
  * @category Signal
8
8
  */
9
9
  export declare class SyncedSignal<TypeName extends UnitName = "number"> extends Signal<TypeName> {
@@ -4,7 +4,7 @@ import { optionsFromArguments } from "../core/util/Defaults.js";
4
4
  import { Signal } from "./Signal.js";
5
5
  import { ToneConstantSource } from "./ToneConstantSource.js";
6
6
  /**
7
- * Adds the ability to synchronize the signal to the {@link TransportClass}
7
+ * Adds the ability to synchronize the signal to the {@link TransportInstance}
8
8
  * @category Signal
9
9
  */
10
10
  export class SyncedSignal extends Signal {
@@ -1,2 +1,2 @@
1
- export const version = "15.3.0";
1
+ export const version = "15.3.2";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tone",
3
- "version": "15.3.0",
3
+ "version": "15.3.2",
4
4
  "description": "A Web Audio framework for making interactive music in the browser.",
5
5
  "type": "module",
6
6
  "main": "build/esm/index.js",
@@ -92,7 +92,7 @@
92
92
  "tinyglobby": "^0.2.14",
93
93
  "tonal": "^6.0.1",
94
94
  "ts-loader": "^9.5.1",
95
- "typedoc": "^0.25.13",
95
+ "typedoc": "^0.28.12",
96
96
  "typescript": "^5.4.5",
97
97
  "typescript-eslint": "^8.31.0",
98
98
  "ua-parser-js": "^0.7.31",