@jeffy-g/live-midi-types 0.7.4 → 0.8.0

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 CHANGED
@@ -2,4 +2,4 @@ export * from "./midi-event.js";
2
2
  export * from "./midi-clip.js";
3
3
  export * from "./project.js";
4
4
  export * from "./ableton-colors.js";
5
- export declare const version = "v0.7.4";
5
+ export declare const version = "v0.8.0";
package/dist/index.js CHANGED
@@ -2,4 +2,4 @@ export * from "./midi-event.js";
2
2
  export * from "./midi-clip.js";
3
3
  export * from "./project.js";
4
4
  export * from "./ableton-colors.js";
5
- export const version = "v0.7.4";
5
+ export const version = "v0.8.0";
@@ -42,8 +42,14 @@ export type TMidiClipData = {
42
42
  * Array of extracted note events.
43
43
  */
44
44
  notes: NoteEvent[];
45
+ /**
46
+ * Control change event map.
47
+ * @version 0.8.0
48
+ */
49
+ ccMap: Record<string, ControlChangeEvent[]>;
45
50
  /**
46
51
  * Array of extracted control change events.
52
+ * @version 0.8.0
47
53
  */
48
- cc: ControlChangeEvent[];
54
+ cc(): ControlChangeEvent[];
49
55
  };
@@ -50,7 +50,7 @@ export type ControlChangeEvent = {
50
50
  /**
51
51
  * `0` to `127`
52
52
  *
53
- * Value of the controller (0-127, may be float).
53
+ * Value of the controller (0-127, floating number).
54
54
  */
55
55
  value: number;
56
56
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffy-g/live-midi-types",
3
- "version": "0.7.4",
3
+ "version": "0.8.0",
4
4
  "description": "Common TypeScript types for Ableton Live MIDI clip and event data.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",