tone 14.9.11 → 14.9.13

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 (202) hide show
  1. package/Tone/component/analysis/Analyser.ts +3 -3
  2. package/Tone/component/analysis/DCMeter.ts +2 -1
  3. package/Tone/component/analysis/FFT.ts +3 -3
  4. package/Tone/component/analysis/Meter.ts +6 -5
  5. package/Tone/component/analysis/Waveform.ts +1 -1
  6. package/Tone/component/channel/Channel.ts +6 -6
  7. package/Tone/component/channel/MidSideMerge.ts +2 -2
  8. package/Tone/component/channel/MidSideSplit.ts +1 -1
  9. package/Tone/component/channel/Recorder.ts +1 -1
  10. package/Tone/component/dynamics/Gate.ts +4 -3
  11. package/Tone/component/dynamics/Limiter.ts +1 -1
  12. package/Tone/component/dynamics/MidSideCompressor.ts +3 -2
  13. package/Tone/component/dynamics/MultibandCompressor.ts +2 -1
  14. package/Tone/component/envelope/FrequencyEnvelope.ts +2 -2
  15. package/Tone/component/filter/BiquadFilter.ts +1 -1
  16. package/Tone/component/filter/LowpassCombFilter.ts +1 -1
  17. package/Tone/core/Global.ts +1 -1
  18. package/Tone/core/clock/TickParam.ts +2 -2
  19. package/Tone/core/clock/Transport.ts +1 -1
  20. package/Tone/core/clock/TransportEvent.ts +1 -1
  21. package/Tone/core/context/AbstractParam.ts +4 -4
  22. package/Tone/core/context/Context.ts +11 -10
  23. package/Tone/core/context/Listener.ts +1 -1
  24. package/Tone/core/context/Offline.ts +1 -1
  25. package/Tone/core/context/ToneAudioNode.ts +2 -1
  26. package/Tone/core/context/ToneWithContext.ts +1 -1
  27. package/Tone/core/index.ts +1 -0
  28. package/Tone/core/type/Time.ts +1 -1
  29. package/Tone/core/util/Defaults.ts +2 -0
  30. package/Tone/core/worklet/ToneAudioWorkletProcessor.worklet.ts +1 -1
  31. package/Tone/effect/AutoPanner.ts +1 -1
  32. package/Tone/effect/AutoWah.ts +1 -1
  33. package/Tone/effect/Chorus.ts +4 -3
  34. package/Tone/effect/Freeverb.ts +1 -1
  35. package/Tone/effect/JCReverb.ts +2 -2
  36. package/Tone/effect/LFOEffect.ts +4 -2
  37. package/Tone/effect/Reverb.ts +3 -3
  38. package/Tone/effect/StereoXFeedbackEffect.ts +1 -1
  39. package/Tone/effect/Tremolo.ts +1 -1
  40. package/Tone/event/Pattern.ts +1 -1
  41. package/Tone/index.ts +15 -14
  42. package/Tone/instrument/DuoSynth.ts +1 -1
  43. package/Tone/instrument/Instrument.ts +1 -1
  44. package/Tone/instrument/MetalSynth.ts +2 -2
  45. package/Tone/instrument/NoiseSynth.ts +1 -1
  46. package/Tone/instrument/PluckSynth.ts +1 -1
  47. package/Tone/instrument/Sampler.ts +1 -1
  48. package/Tone/instrument/Synth.ts +1 -1
  49. package/Tone/signal/Add.ts +1 -1
  50. package/Tone/signal/AudioToGain.ts +1 -1
  51. package/Tone/signal/GainToAudio.ts +1 -1
  52. package/Tone/signal/Multiply.ts +1 -1
  53. package/Tone/signal/ScaleExp.ts +2 -2
  54. package/Tone/signal/Signal.ts +1 -1
  55. package/Tone/signal/SyncedSignal.ts +1 -1
  56. package/Tone/source/Source.ts +2 -1
  57. package/Tone/source/buffer/Player.ts +1 -1
  58. package/Tone/source/buffer/Players.ts +1 -1
  59. package/Tone/source/oscillator/LFO.ts +5 -3
  60. package/Tone/source/oscillator/OmniOscillator.ts +10 -9
  61. package/Tone/source/oscillator/Oscillator.ts +1 -1
  62. package/Tone/source/oscillator/ToneOscillatorNode.ts +1 -1
  63. package/Tone/version.ts +1 -1
  64. package/build/Tone.js +1 -1
  65. package/build/Tone.js.map +1 -1
  66. package/build/esm/component/analysis/Analyser.d.ts +3 -3
  67. package/build/esm/component/analysis/Analyser.js +3 -3
  68. package/build/esm/component/analysis/DCMeter.d.ts +2 -1
  69. package/build/esm/component/analysis/DCMeter.js +2 -1
  70. package/build/esm/component/analysis/DCMeter.js.map +1 -1
  71. package/build/esm/component/analysis/FFT.d.ts +3 -3
  72. package/build/esm/component/analysis/FFT.js +3 -3
  73. package/build/esm/component/analysis/Meter.d.ts +6 -5
  74. package/build/esm/component/analysis/Meter.js +6 -5
  75. package/build/esm/component/analysis/Meter.js.map +1 -1
  76. package/build/esm/component/analysis/Waveform.d.ts +1 -1
  77. package/build/esm/component/analysis/Waveform.js +1 -1
  78. package/build/esm/component/channel/Channel.d.ts +6 -6
  79. package/build/esm/component/channel/Channel.js +6 -6
  80. package/build/esm/component/channel/MidSideMerge.d.ts +2 -2
  81. package/build/esm/component/channel/MidSideMerge.js +1 -1
  82. package/build/esm/component/channel/MidSideSplit.d.ts +1 -1
  83. package/build/esm/component/channel/Recorder.d.ts +1 -1
  84. package/build/esm/component/channel/Recorder.js +1 -1
  85. package/build/esm/component/dynamics/Gate.d.ts +4 -3
  86. package/build/esm/component/dynamics/Gate.js +4 -3
  87. package/build/esm/component/dynamics/Gate.js.map +1 -1
  88. package/build/esm/component/dynamics/Limiter.d.ts +1 -1
  89. package/build/esm/component/dynamics/Limiter.js +1 -1
  90. package/build/esm/component/dynamics/MidSideCompressor.d.ts +3 -2
  91. package/build/esm/component/dynamics/MidSideCompressor.js +3 -2
  92. package/build/esm/component/dynamics/MidSideCompressor.js.map +1 -1
  93. package/build/esm/component/dynamics/MultibandCompressor.d.ts +2 -1
  94. package/build/esm/component/dynamics/MultibandCompressor.js +2 -1
  95. package/build/esm/component/dynamics/MultibandCompressor.js.map +1 -1
  96. package/build/esm/component/envelope/FrequencyEnvelope.d.ts +2 -2
  97. package/build/esm/component/envelope/FrequencyEnvelope.js +2 -2
  98. package/build/esm/component/filter/BiquadFilter.d.ts +1 -1
  99. package/build/esm/component/filter/BiquadFilter.js +1 -1
  100. package/build/esm/component/filter/LowpassCombFilter.d.ts +1 -1
  101. package/build/esm/component/filter/LowpassCombFilter.js +1 -1
  102. package/build/esm/core/Global.d.ts +1 -1
  103. package/build/esm/core/Global.js +1 -1
  104. package/build/esm/core/clock/TickParam.d.ts +2 -2
  105. package/build/esm/core/clock/TickParam.js +2 -2
  106. package/build/esm/core/clock/Transport.d.ts +1 -1
  107. package/build/esm/core/clock/Transport.js +1 -1
  108. package/build/esm/core/clock/TransportEvent.d.ts +1 -1
  109. package/build/esm/core/clock/TransportEvent.js +1 -1
  110. package/build/esm/core/context/AbstractParam.d.ts +4 -4
  111. package/build/esm/core/context/AbstractParam.js +1 -1
  112. package/build/esm/core/context/Context.d.ts +11 -10
  113. package/build/esm/core/context/Context.js +11 -10
  114. package/build/esm/core/context/Context.js.map +1 -1
  115. package/build/esm/core/context/Listener.d.ts +1 -1
  116. package/build/esm/core/context/Listener.js +1 -1
  117. package/build/esm/core/context/Offline.d.ts +1 -1
  118. package/build/esm/core/context/Offline.js +1 -1
  119. package/build/esm/core/context/ToneAudioNode.d.ts +2 -1
  120. package/build/esm/core/context/ToneAudioNode.js +2 -1
  121. package/build/esm/core/context/ToneAudioNode.js.map +1 -1
  122. package/build/esm/core/context/ToneWithContext.d.ts +1 -1
  123. package/build/esm/core/context/ToneWithContext.js +1 -1
  124. package/build/esm/core/index.d.ts +1 -0
  125. package/build/esm/core/index.js +1 -0
  126. package/build/esm/core/index.js.map +1 -1
  127. package/build/esm/core/type/Time.d.ts +1 -1
  128. package/build/esm/core/type/Time.js +1 -1
  129. package/build/esm/core/util/Defaults.d.ts +2 -0
  130. package/build/esm/core/util/Defaults.js +2 -0
  131. package/build/esm/core/util/Defaults.js.map +1 -1
  132. package/build/esm/core/worklet/ToneAudioWorkletProcessor.worklet.js +1 -1
  133. package/build/esm/effect/AutoPanner.d.ts +1 -1
  134. package/build/esm/effect/AutoPanner.js +1 -1
  135. package/build/esm/effect/AutoWah.d.ts +1 -1
  136. package/build/esm/effect/AutoWah.js +1 -1
  137. package/build/esm/effect/Chorus.d.ts +4 -3
  138. package/build/esm/effect/Chorus.js +4 -3
  139. package/build/esm/effect/Chorus.js.map +1 -1
  140. package/build/esm/effect/Freeverb.d.ts +1 -1
  141. package/build/esm/effect/Freeverb.js +1 -1
  142. package/build/esm/effect/JCReverb.d.ts +2 -2
  143. package/build/esm/effect/JCReverb.js +2 -2
  144. package/build/esm/effect/LFOEffect.d.ts +4 -2
  145. package/build/esm/effect/LFOEffect.js +4 -2
  146. package/build/esm/effect/LFOEffect.js.map +1 -1
  147. package/build/esm/effect/Reverb.d.ts +3 -3
  148. package/build/esm/effect/Reverb.js +3 -3
  149. package/build/esm/effect/StereoXFeedbackEffect.d.ts +1 -1
  150. package/build/esm/effect/StereoXFeedbackEffect.js +1 -1
  151. package/build/esm/effect/Tremolo.d.ts +1 -1
  152. package/build/esm/effect/Tremolo.js +1 -1
  153. package/build/esm/event/Pattern.d.ts +1 -1
  154. package/build/esm/event/Pattern.js +1 -1
  155. package/build/esm/index.d.ts +16 -15
  156. package/build/esm/index.js +14 -14
  157. package/build/esm/index.js.map +1 -1
  158. package/build/esm/instrument/DuoSynth.d.ts +1 -1
  159. package/build/esm/instrument/DuoSynth.js +1 -1
  160. package/build/esm/instrument/Instrument.d.ts +1 -1
  161. package/build/esm/instrument/Instrument.js +1 -1
  162. package/build/esm/instrument/MetalSynth.d.ts +2 -2
  163. package/build/esm/instrument/MetalSynth.js +1 -1
  164. package/build/esm/instrument/NoiseSynth.d.ts +1 -1
  165. package/build/esm/instrument/NoiseSynth.js +1 -1
  166. package/build/esm/instrument/PluckSynth.d.ts +1 -1
  167. package/build/esm/instrument/PluckSynth.js +1 -1
  168. package/build/esm/instrument/Sampler.d.ts +1 -1
  169. package/build/esm/instrument/Sampler.js +1 -1
  170. package/build/esm/instrument/Synth.d.ts +1 -1
  171. package/build/esm/instrument/Synth.js +1 -1
  172. package/build/esm/signal/Add.d.ts +1 -1
  173. package/build/esm/signal/AudioToGain.d.ts +1 -1
  174. package/build/esm/signal/AudioToGain.js +1 -1
  175. package/build/esm/signal/GainToAudio.d.ts +1 -1
  176. package/build/esm/signal/GainToAudio.js +1 -1
  177. package/build/esm/signal/Multiply.d.ts +1 -1
  178. package/build/esm/signal/ScaleExp.d.ts +2 -2
  179. package/build/esm/signal/ScaleExp.js +2 -2
  180. package/build/esm/signal/Signal.d.ts +1 -1
  181. package/build/esm/signal/Signal.js +1 -1
  182. package/build/esm/signal/SyncedSignal.d.ts +1 -1
  183. package/build/esm/signal/SyncedSignal.js +1 -1
  184. package/build/esm/source/Source.d.ts +2 -1
  185. package/build/esm/source/Source.js +2 -1
  186. package/build/esm/source/Source.js.map +1 -1
  187. package/build/esm/source/buffer/Player.d.ts +1 -1
  188. package/build/esm/source/buffer/Player.js +1 -1
  189. package/build/esm/source/buffer/Players.d.ts +1 -1
  190. package/build/esm/source/buffer/Players.js +1 -1
  191. package/build/esm/source/oscillator/LFO.d.ts +5 -3
  192. package/build/esm/source/oscillator/LFO.js +5 -3
  193. package/build/esm/source/oscillator/LFO.js.map +1 -1
  194. package/build/esm/source/oscillator/OmniOscillator.d.ts +10 -9
  195. package/build/esm/source/oscillator/OmniOscillator.js +10 -9
  196. package/build/esm/source/oscillator/OmniOscillator.js.map +1 -1
  197. package/build/esm/source/oscillator/Oscillator.d.ts +1 -1
  198. package/build/esm/source/oscillator/Oscillator.js +1 -1
  199. package/build/esm/source/oscillator/ToneOscillatorNode.d.ts +1 -1
  200. package/build/esm/source/oscillator/ToneOscillatorNode.js +1 -1
  201. package/build/esm/version.js +1 -1
  202. package/package.json +1 -1
@@ -121,7 +121,7 @@ export class Pattern<ValueType> extends Loop<PatternOptions<ValueType>> {
121
121
  }
122
122
 
123
123
  /**
124
- * The pattern type. See Tone.CtrlPattern for the full list of patterns.
124
+ * The pattern type.
125
125
  */
126
126
  get pattern(): PatternName {
127
127
  return this._type;
package/Tone/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { getContext, setContext } from "./core/Global";
2
+ import { BaseContext } from "./core/context/BaseContext";
2
3
  export * from "./classes";
3
4
  export * from "./version";
4
5
  import { getContext } from "./core/Global";
@@ -8,8 +9,8 @@ import { Seconds } from "./core/type/Units";
8
9
  export { supported } from "./core/context/AudioContext";
9
10
 
10
11
  /**
11
- * The current audio context time of the global [[Context]].
12
- * See [[Context.now]]
12
+ * The current audio context time of the global {@link BaseContext}.
13
+ * @see {@link BaseContext.now}
13
14
  * @category Core
14
15
  */
15
16
  export function now(): Seconds {
@@ -17,8 +18,8 @@ export function now(): Seconds {
17
18
  }
18
19
 
19
20
  /**
20
- * The current audio context time of the global [[Context]] without the [[Context.lookAhead]]
21
- * See [[Context.immediate]]
21
+ * The current audio context time of the global {@link BaseContext} without the {@link BaseContext.lookAhead}
22
+ * @see {@link BaseContext.immediate}
22
23
  * @category Core
23
24
  */
24
25
  export function immediate(): Seconds {
@@ -27,7 +28,7 @@ export function immediate(): Seconds {
27
28
 
28
29
  /**
29
30
  * The Transport object belonging to the global Tone.js Context.
30
- * See [[TransportClass]]
31
+ * @see {@link TransportClass}
31
32
  * @category Core
32
33
  * @deprecated Use {@link getTransport} instead
33
34
  */
@@ -35,7 +36,7 @@ export const Transport = getContext().transport;
35
36
 
36
37
  /**
37
38
  * The Transport object belonging to the global Tone.js Context.
38
- * See [[TransportClass]]
39
+ * @see {@link TransportClass}
39
40
  * @category Core
40
41
  */
41
42
  export function getTransport(): import("./core/clock/Transport").TransportClass {
@@ -44,7 +45,7 @@ export function getTransport(): import("./core/clock/Transport").TransportClass
44
45
 
45
46
  /**
46
47
  * The Destination (output) belonging to the global Tone.js Context.
47
- * See [[DestinationClass]]
48
+ * @see {@link DestinationClass}
48
49
  * @category Core
49
50
  * @deprecated Use {@link getDestination} instead
50
51
  */
@@ -57,7 +58,7 @@ export const Master = getContext().destination;
57
58
 
58
59
  /**
59
60
  * The Destination (output) belonging to the global Tone.js Context.
60
- * See [[DestinationClass]]
61
+ * @see {@link DestinationClass}
61
62
  * @category Core
62
63
  */
63
64
  export function getDestination(): import("./core/context/Destination").DestinationClass {
@@ -65,14 +66,14 @@ export function getDestination(): import("./core/context/Destination").Destinati
65
66
  }
66
67
 
67
68
  /**
68
- * The [[ListenerClass]] belonging to the global Tone.js Context.
69
+ * The {@link ListenerClass} belonging to the global Tone.js Context.
69
70
  * @category Core
70
71
  * @deprecated Use {@link getListener} instead
71
72
  */
72
73
  export const Listener = getContext().listener;
73
74
 
74
75
  /**
75
- * The [[ListenerClass]] belonging to the global Tone.js Context.
76
+ * The {@link ListenerClass} belonging to the global Tone.js Context.
76
77
  * @category Core
77
78
  */
78
79
  export function getListener(): import("./core/context/Listener").ListenerClass {
@@ -81,7 +82,7 @@ export function getListener(): import("./core/context/Listener").ListenerClass {
81
82
 
82
83
  /**
83
84
  * Draw is used to synchronize the draw frame with the Transport's callbacks.
84
- * See [[DrawClass]]
85
+ * @see {@link DrawClass}
85
86
  * @category Core
86
87
  * @deprecated Use {@link getDraw} instead
87
88
  */
@@ -90,7 +91,7 @@ export const Draw = getContext().draw;
90
91
  /**
91
92
  * Get the singleton attached to the global context.
92
93
  * Draw is used to synchronize the draw frame with the Transport's callbacks.
93
- * See [[DrawClass]]
94
+ * @see {@link DrawClass}
94
95
  * @category Core
95
96
  */
96
97
  export function getDraw(): import("./core/util/Draw").DrawClass {
@@ -99,14 +100,14 @@ export function getDraw(): import("./core/util/Draw").DrawClass {
99
100
 
100
101
  /**
101
102
  * A reference to the global context
102
- * See [[Context]]
103
+ * @see {@link BaseContext}
103
104
  * @deprecated Use {@link getContext} instead
104
105
  */
105
106
  export const context = getContext();
106
107
 
107
108
  /**
108
109
  * Promise which resolves when all of the loading promises are resolved.
109
- * Alias for static [[ToneAudioBuffer.loaded]] method.
110
+ * Alias for static {@link ToneAudioBuffer.loaded} method.
110
111
  * @category Core
111
112
  */
112
113
  export function loaded() {
@@ -18,7 +18,7 @@ export interface DuoSynthOptions extends MonophonicOptions {
18
18
  }
19
19
 
20
20
  /**
21
- * DuoSynth is a monophonic synth composed of two [[MonoSynth]]s run in parallel with control over the
21
+ * DuoSynth is a monophonic synth composed of two {@link MonoSynth}s run in parallel with control over the
22
22
  * frequency ratio between the two voices and vibrato effect.
23
23
  * @example
24
24
  * const duoSynth = new Tone.DuoSynth().toDestination();
@@ -67,7 +67,7 @@ export abstract class Instrument<Options extends InstrumentOptions> extends Tone
67
67
 
68
68
  /**
69
69
  * Sync the instrument to the Transport. All subsequent calls of
70
- * [[triggerAttack]] and [[triggerRelease]] will be scheduled along the transport.
70
+ * {@link triggerAttack} and {@link triggerRelease} will be scheduled along the transport.
71
71
  * @example
72
72
  * const fmSynth = new Tone.FMSynth().toDestination();
73
73
  * fmSynth.volume.value = -6;
@@ -91,7 +91,7 @@ export class MetalSynth extends Monophonic<MetalSynthOptions> {
91
91
  /**
92
92
  * The envelope which is connected both to the
93
93
  * amplitude and a highpass filter's cutoff frequency.
94
- * The lower-limit of the filter is controlled by the [[resonance]]
94
+ * The lower-limit of the filter is controlled by the {@link resonance}
95
95
  */
96
96
  readonly envelope: Envelope;
97
97
 
@@ -231,7 +231,7 @@ export class MetalSynth extends Monophonic<MetalSynthOptions> {
231
231
 
232
232
  /**
233
233
  * The modulationIndex of the oscillators which make up the source.
234
- * see [[FMOscillator.modulationIndex]]
234
+ * see {@link FMOscillator.modulationIndex}
235
235
  * @min 1
236
236
  * @max 100
237
237
  */
@@ -17,7 +17,7 @@ export interface NoiseSynthOptions extends InstrumentOptions {
17
17
  }
18
18
 
19
19
  /**
20
- * Tone.NoiseSynth is composed of [[Noise]] through an [[AmplitudeEnvelope]].
20
+ * Tone.NoiseSynth is composed of {@link Noise} through an {@link AmplitudeEnvelope}.
21
21
  * ```
22
22
  * +-------+ +-------------------+
23
23
  * | Noise +>--> AmplitudeEnvelope +>--> Output
@@ -111,7 +111,7 @@ export class PluckSynth extends Instrument<PluckSynthOptions> {
111
111
  }
112
112
 
113
113
  /**
114
- * Ramp down the [[resonance]] to 0 over the duration of the release time.
114
+ * Ramp down the {@link resonance} to 0 over the duration of the release time.
115
115
  */
116
116
  triggerRelease(time?: Time): this {
117
117
  this._lfcf.resonance.linearRampTo(0, this.release, time);
@@ -33,7 +33,7 @@ export interface SamplerOptions extends InstrumentOptions {
33
33
  * were not explicitly included which can save loading time.
34
34
  *
35
35
  * For sample or buffer playback where repitching is not necessary,
36
- * use [[Player]].
36
+ * use {@link Player}.
37
37
  * @example
38
38
  * const sampler = new Tone.Sampler({
39
39
  * urls: {
@@ -17,7 +17,7 @@ export interface SynthOptions extends MonophonicOptions {
17
17
  }
18
18
 
19
19
  /**
20
- * Synth is composed simply of a [[OmniOscillator]] routed through an [[AmplitudeEnvelope]].
20
+ * Synth is composed simply of a {@link OmniOscillator} routed through an {@link AmplitudeEnvelope}.
21
21
  * ```
22
22
  * +----------------+ +-------------------+
23
23
  * | OmniOscillator +>--> AmplitudeEnvelope +>--> Output
@@ -39,7 +39,7 @@ export class Add extends Signal {
39
39
  readonly addend: Param<"number"> = this._param;
40
40
 
41
41
  /**
42
- * @param value If no value is provided, will sum the input and [[addend]].
42
+ * @param value If no value is provided, will sum the input and {@link addend}.
43
43
  */
44
44
  constructor(value?: number);
45
45
  constructor(options?: Partial<SignalOptions<"number">>);
@@ -4,7 +4,7 @@ import { WaveShaper } from "./WaveShaper";
4
4
 
5
5
  /**
6
6
  * AudioToGain converts an input in AudioRange [-1,1] to NormalRange [0,1].
7
- * See [[GainToAudio]].
7
+ * @see {@link GainToAudio}.
8
8
  * @category Signal
9
9
  */
10
10
  export class AudioToGain extends SignalOperator<ToneAudioNodeOptions> {
@@ -4,7 +4,7 @@ import { WaveShaper } from "./WaveShaper";
4
4
 
5
5
  /**
6
6
  * GainToAudio converts an input in NormalRange [0,1] to AudioRange [-1,1].
7
- * See [[AudioToGain]].
7
+ * @see {@link AudioToGain}.
8
8
  * @category Signal
9
9
  */
10
10
  export class GainToAudio extends SignalOperator<ToneAudioNodeOptions> {
@@ -43,7 +43,7 @@ export class Multiply<TypeName extends "number" | "positive" = "number"> extends
43
43
  input: InputNode;
44
44
 
45
45
  /**
46
- * The product of the input and [[factor]]
46
+ * The product of the input and {@link factor}
47
47
  */
48
48
  output: OutputNode;
49
49
 
@@ -50,8 +50,8 @@ export class ScaleExp extends Scale<ScaleExpOptions> {
50
50
  }
51
51
 
52
52
  /**
53
- * Instead of interpolating linearly between the [[min]] and
54
- * [[max]] values, setting the exponent will interpolate between
53
+ * Instead of interpolating linearly between the {@link min} and
54
+ * {@link max} values, setting the exponent will interpolate between
55
55
  * the two values with an exponential curve.
56
56
  */
57
57
  get exponent(): Positive {
@@ -192,7 +192,7 @@ export class Signal<TypeName extends UnitName = "number"> extends ToneAudioNode<
192
192
  }
193
193
 
194
194
  /**
195
- * See [[Param.apply]].
195
+ * @see {@link Param.apply}.
196
196
  */
197
197
  apply(param: Param | AudioParam): this {
198
198
  this._param.apply(param);
@@ -6,7 +6,7 @@ import { ToneConstantSource } from "./ToneConstantSource";
6
6
  import { OutputNode } from "../core/context/ToneAudioNode";
7
7
 
8
8
  /**
9
- * Adds the ability to synchronize the signal to the [[TransportClass]]
9
+ * Adds the ability to synchronize the signal to the {@link TransportClass}
10
10
  * @category Signal
11
11
  */
12
12
  export class SyncedSignal<TypeName extends UnitName = "number"> extends Signal<TypeName> {
@@ -362,7 +362,8 @@ export abstract class Source<
362
362
  }
363
363
 
364
364
  /**
365
- * Unsync the source to the Transport. See Source.sync
365
+ * Unsync the source to the Transport.
366
+ * @see {@link sync}
366
367
  */
367
368
  unsync(): this {
368
369
  if (this._synced) {
@@ -432,7 +432,7 @@ export class Player extends Source<PlayerOptions> {
432
432
  }
433
433
 
434
434
  /**
435
- * If the buffer should be reversed. Note that this sets the underlying [[ToneAudioBuffer.reverse]], so
435
+ * If the buffer should be reversed. Note that this sets the underlying {@link ToneAudioBuffer.reverse}, so
436
436
  * if multiple players are pointing at the same ToneAudioBuffer, they will all be reversed.
437
437
  * @example
438
438
  * const player = new Tone.Player("https://tonejs.github.io/audio/berklee/chime_1.mp3").toDestination();
@@ -23,7 +23,7 @@ export interface PlayersOptions extends SourceOptions {
23
23
  }
24
24
 
25
25
  /**
26
- * Players combines multiple [[Player]] objects.
26
+ * Players combines multiple {@link Player} objects.
27
27
  * @category Source
28
28
  */
29
29
  export class Players extends ToneAudioNode<PlayersOptions> {
@@ -94,7 +94,7 @@ export class LFO extends ToneAudioNode<LFOOptions> {
94
94
  private _units: UnitName = "number";
95
95
 
96
96
  /**
97
- * If the input value is converted using the [[units]]
97
+ * If the input value is converted using the {@link units}
98
98
  */
99
99
  convert = true;
100
100
 
@@ -238,7 +238,8 @@ export class LFO extends ToneAudioNode<LFOOptions> {
238
238
  }
239
239
 
240
240
  /**
241
- * The type of the oscillator: See [[Oscillator.type]]
241
+ * The type of the oscillator.
242
+ * @see {@link Oscillator.type}
242
243
  */
243
244
  get type(): ToneOscillatorType {
244
245
  return this._oscillator.type;
@@ -249,7 +250,8 @@ export class LFO extends ToneAudioNode<LFOOptions> {
249
250
  }
250
251
 
251
252
  /**
252
- * The oscillator's partials array: See [[Oscillator.partials]]
253
+ * The oscillator's partials array.
254
+ * @see {@link Oscillator.partials}
253
255
  */
254
256
  get partials(): number[] {
255
257
  return this._oscillator.partials;
@@ -192,7 +192,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
192
192
  /**
193
193
  * The value is an empty array when the type is not "custom".
194
194
  * This is not available on "pwm" and "pulse" oscillator types.
195
- * See [[Oscillator.partials]]
195
+ * @see {@link Oscillator.partials}
196
196
  */
197
197
  get partials(): number[] {
198
198
  return this._oscillator.partials;
@@ -297,7 +297,8 @@ export class OmniOscillator<OscType extends AnyOscillator>
297
297
  }
298
298
 
299
299
  /**
300
- * The base type of the oscillator. See [[Oscillator.baseType]]
300
+ * The base type of the oscillator.
301
+ * @see {@link Oscillator.baseType}
301
302
  * @example
302
303
  * const omniOsc = new Tone.OmniOscillator(440, "fmsquare4");
303
304
  * console.log(omniOsc.sourceType, omniOsc.baseType, omniOsc.partialCount);
@@ -315,7 +316,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
315
316
 
316
317
  /**
317
318
  * The width of the oscillator when sourceType === "pulse".
318
- * See [[PWMOscillator]]
319
+ * @see {@link PWMOscillator}
319
320
  */
320
321
  get width(): IsPulseOscillator<OscType, Signal<"audioRange">> {
321
322
  if (this._getOscType(this._oscillator, "pulse")) {
@@ -327,7 +328,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
327
328
 
328
329
  /**
329
330
  * The number of detuned oscillators when sourceType === "fat".
330
- * See [[FatOscillator.count]]
331
+ * @see {@link FatOscillator.count}
331
332
  */
332
333
  get count(): IsFatOscillator<OscType, number> {
333
334
  if (this._getOscType(this._oscillator, "fat")) {
@@ -344,7 +345,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
344
345
 
345
346
  /**
346
347
  * The detune spread between the oscillators when sourceType === "fat".
347
- * See [[FatOscillator.count]]
348
+ * @see {@link FatOscillator.count}
348
349
  */
349
350
  get spread(): IsFatOscillator<OscType, Cents> {
350
351
  if (this._getOscType(this._oscillator, "fat")) {
@@ -361,7 +362,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
361
362
 
362
363
  /**
363
364
  * The type of the modulator oscillator. Only if the oscillator is set to "am" or "fm" types.
364
- * See [[AMOscillator]] or [[FMOscillator]]
365
+ * @see {@link AMOscillator} or {@link FMOscillator}
365
366
  */
366
367
  get modulationType(): IsAmOrFmOscillator<OscType, ToneOscillatorType> {
367
368
  if (this._getOscType(this._oscillator, "fm") || this._getOscType(this._oscillator, "am")) {
@@ -378,7 +379,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
378
379
 
379
380
  /**
380
381
  * The modulation index when the sourceType === "fm"
381
- * See [[FMOscillator]].
382
+ * @see {@link FMOscillator}.
382
383
  */
383
384
  get modulationIndex(): IsFMOscillator<OscType, Signal<"positive">> {
384
385
  if (this._getOscType(this._oscillator, "fm")) {
@@ -390,7 +391,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
390
391
 
391
392
  /**
392
393
  * Harmonicity is the frequency ratio between the carrier and the modulator oscillators.
393
- * See [[AMOscillator]] or [[FMOscillator]]
394
+ * @see {@link AMOscillator} or {@link FMOscillator}
394
395
  */
395
396
  get harmonicity(): IsAmOrFmOscillator<OscType, Signal<"positive">> {
396
397
  if (this._getOscType(this._oscillator, "fm") || this._getOscType(this._oscillator, "am")) {
@@ -402,7 +403,7 @@ export class OmniOscillator<OscType extends AnyOscillator>
402
403
 
403
404
  /**
404
405
  * The modulationFrequency Signal of the oscillator when sourceType === "pwm"
405
- * see [[PWMOscillator]]
406
+ * see {@link PWMOscillator}
406
407
  * @min 0.1
407
408
  * @max 5
408
409
  */
@@ -180,7 +180,7 @@ export class Oscillator extends Source<ToneOscillatorOptions> implements ToneOsc
180
180
 
181
181
  /**
182
182
  * Unsync the oscillator's frequency from the Transport.
183
- * See Oscillator.syncFrequency
183
+ * @see {@link syncFrequency}
184
184
  */
185
185
  unsyncFrequency(): this {
186
186
  this.context.transport.unsyncSignal(this.frequency);
@@ -14,7 +14,7 @@ export interface ToneOscillatorNodeOptions extends OneShotSourceOptions {
14
14
  /**
15
15
  * Wrapper around the native fire-and-forget OscillatorNode.
16
16
  * Adds the ability to reschedule the stop method.
17
- * ***[[Oscillator]] is better for most use-cases***
17
+ * ***{@link Oscillator} is better for most use-cases***
18
18
  * @category Source
19
19
  */
20
20
  export class ToneOscillatorNode extends OneShotSource<ToneOscillatorNodeOptions> {
package/Tone/version.ts CHANGED
@@ -1 +1 @@
1
- export const version: string = "14.9.11";
1
+ export const version: string = "14.9.13";