Skip to content

Commit 877f8da

Browse files
committed
feat(docs): add NotSupportedError info
1 parent cdefa87 commit 877f8da

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/audiodocs/docs/core/audio-param.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ as they are more efficient for continuous changes. For more specific use cases,
4949
| Error type | Description |
5050
| :---: | :---- |
5151
| `RangeError` | `startTime` is negative number. |
52+
| `NotSupportedError` | `startTime` falls within the interval $[T, T+D)$ where $T$ is the time of previously scheduled [`setValueCurveAtTime`](/docs/core/audio-param#setvaluecurveattime) event and $D$ is its duration. |
5253

5354
#### Returns `AudioParam`.
5455

@@ -69,6 +70,7 @@ The change begins at the time designated for the previous event. It follows a li
6970
| Error type | Description |
7071
| :---: | :---- |
7172
| `RangeError` | `endTime` is negative number. |
73+
| `NotSupportedError` | `endTime` falls within the interval $[T, T+D)$ where $T$ is the time of previously scheduled [`setValueCurveAtTime`](/docs/core/audio-param#setvaluecurveattime) event and $D$ is its duration. |
7274

7375
#### Returns `AudioParam`.
7476

@@ -89,6 +91,7 @@ The change begins at the time designated for the previous event. It follows an e
8991
| Error type | Description |
9092
| :---: | :---- |
9193
| `RangeError` | `endTime` is negative number. |
94+
| `NotSupportedError` | `endTime` falls within the interval $[T, T+D)$ where $T$ is the time of previously scheduled [`setValueCurveAtTime`](/docs/core/audio-param#setvaluecurveattime) event and $D$ is its duration. |
9295

9396
#### Returns `AudioParam`.
9497

@@ -111,6 +114,7 @@ This method is useful for decay or release portions of [ADSR envelopes](/docs/ef
111114
| :---: | :---- |
112115
| `RangeError` | `startTime` is negative number. |
113116
| `RangeError` | `timeConstant` is negative number. |
117+
| `NotSupportedError` | `startTime` falls within the interval $[T, T+D)$ where $T$ is the time of previously scheduled [`setValueCurveAtTime`](/docs/core/audio-param#setvaluecurveattime) event and $D$ is its duration. |
114118

115119
#### Returns `AudioParam`.
116120

0 commit comments

Comments
 (0)