@jeffy-g/live-midi-types 0.9.0 → 0.9.1
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/midi-event.d.ts +10 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/midi-event.d.ts
CHANGED
|
@@ -18,6 +18,16 @@ export type BaseEvent = {
|
|
|
18
18
|
* + Beat-based timestamps (e.g. 4.5 = 4 beats and an eighth note)
|
|
19
19
|
*/
|
|
20
20
|
time: number;
|
|
21
|
+
/**
|
|
22
|
+
* Interpolation method used to generate this envelope sample.
|
|
23
|
+
*
|
|
24
|
+
* - `"bezier"`: Generated using Bézier interpolation.
|
|
25
|
+
* - `"linear"`: Generated using linear interpolation.
|
|
26
|
+
*
|
|
27
|
+
* Intended for diagnostics. Omitted for original or discrete events.
|
|
28
|
+
* @date 2026/09/16 21:09:00
|
|
29
|
+
*/
|
|
30
|
+
source?: "bezier" | "linear";
|
|
21
31
|
};
|
|
22
32
|
/**
|
|
23
33
|
* ```
|
|
@@ -58,11 +68,6 @@ export type ControlChangeEvent = BaseEvent & {
|
|
|
58
68
|
* Value of the controller (0-127, floating number).
|
|
59
69
|
*/
|
|
60
70
|
value: number;
|
|
61
|
-
/**
|
|
62
|
-
* Source type: "curve" for interpolated, "single" for discrete.
|
|
63
|
-
* + In **LME**, the "curve" is assigned to Bezier events, while it is omitted in regular discrete events.
|
|
64
|
-
*/
|
|
65
|
-
source?: "curve" | "single";
|
|
66
71
|
};
|
|
67
72
|
/**
|
|
68
73
|
* @date 2026/09/14 06:21:51
|