@jeffy-g/live-midi-types 0.2.0 → 0.4.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/README.md CHANGED
@@ -7,7 +7,9 @@ Common TypeScript type definitions for working with Ableton Live MIDI data.
7
7
 
8
8
  > ## Description
9
9
 
10
- This package provides a centralized collection of TypeScript type definitions for working with data extracted from Ableton Live Set (`.als`) files. It is designed to ensure type safety and data consistency across projects that handle Ableton Live's MIDI data, such as the `live-midi-export` tool.
10
+ This package provides a centralized collection of TypeScript type definitions for working with data extracted from Ableton Live Set (`.als`) files.
11
+
12
+ It is designed to ensure type safety and data consistency across projects that handle Ableton Live's MIDI data, such as the `live-midi-export` tool.
11
13
 
12
14
  By providing a single source of truth for data structures, this library simplifies development and reduces errors when passing MIDI and project data between different modules.
13
15
 
@@ -73,7 +75,7 @@ This library exports several key types to model the data within an Ableton Live
73
75
 
74
76
  - **`TMidiClipSummary<T>`**: A generic type for creating a summary of a MIDI clip, often used for UI purposes. It includes a unique `id`, `clipName`, and `trackName`.
75
77
  - **`TTrackInfo<T>`**: Represents the information for a single track, including its `name`, `color`, and a collection of its associated `TMidiClipSummary` objects.
76
- - **`TParsedLiveAlsProject<T>`**: Represents the entire parsed project, containing `ticksPerQuarter` and an array of `TTrackInfo` objects.
78
+ - **`TParsedAbletonLiveSet<T>`**: Represents the entire parsed project, containing `ticksPerQuarter` and an array of `TTrackInfo` objects.
77
79
 
78
80
  ### Ableton Color Utilities
79
81
 
@@ -34,6 +34,10 @@ export type TMidiClipData = {
34
34
  * Time adjustment for tempo mapping (in beats).
35
35
  */
36
36
  adjustTimeOftempee: number;
37
+ /**
38
+ * List of known CC events in this clip.
39
+ */
40
+ knownCCEvents: number[];
37
41
  /**
38
42
  * Array of extracted note events.
39
43
  */
package/dist/project.d.ts CHANGED
@@ -37,7 +37,7 @@ export type TTrackInfo<T extends Record<string, any>> = {
37
37
  */
38
38
  clips: Record<string, TClipSummary<T>>;
39
39
  };
40
- export type TParsedLiveAlsProject<T extends Record<string, any>> = {
40
+ export type TParsedAbletonLiveSet<T extends Record<string, any>> = {
41
41
  /**
42
42
  * Ableton Live のプロジェクト名
43
43
  * 通常、拡張子を除いた als file name.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffy-g/live-midi-types",
3
- "version": "0.2.0",
3
+ "version": "0.4.1",
4
4
  "description": "Common TypeScript types for Ableton Live MIDI clip and event data.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",