-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathAudioParam.res
More file actions
56 lines (49 loc) · 1.58 KB
/
Copy pathAudioParam.res
File metadata and controls
56 lines (49 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
open WebAudioTypes
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueAtTime)
*/
@send
external setValueAtTime: (audioParam, ~value: float, ~startTime: float) => audioParam =
"setValueAtTime"
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/linearRampToValueAtTime)
*/
@send
external linearRampToValueAtTime: (audioParam, ~value: float, ~endTime: float) => audioParam =
"linearRampToValueAtTime"
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/exponentialRampToValueAtTime)
*/
@send
external exponentialRampToValueAtTime: (audioParam, ~value: float, ~endTime: float) => audioParam =
"exponentialRampToValueAtTime"
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/setTargetAtTime)
*/
@send
external setTargetAtTime: (
audioParam,
~target: float,
~startTime: float,
~timeConstant: float,
) => audioParam = "setTargetAtTime"
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
*/
@send
external setValueCurveAtTime: (
audioParam,
~values: array<float>,
~startTime: float,
~duration: float,
) => audioParam = "setValueCurveAtTime"
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelScheduledValues)
*/
@send
external cancelScheduledValues: (audioParam, float) => audioParam = "cancelScheduledValues"
/**
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelAndHoldAtTime)
*/
@send
external cancelAndHoldAtTime: (audioParam, float) => audioParam = "cancelAndHoldAtTime"