@jeffy-g/live-midi-types 0.3.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 +4 -2
- package/dist/midi-clip.d.ts +4 -0
- package/package.json +1 -1
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.
|
|
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
|
-
- **`
|
|
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
|
|
package/dist/midi-clip.d.ts
CHANGED