@jeffy-g/live-midi-types 0.7.0 → 0.7.2

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.
@@ -12,18 +12,16 @@
12
12
  * Ableton Live color palette.
13
13
  * @date 2025/6/27 4:51:48
14
14
  */
15
- export const abletonColorPalette = [
16
- "#ff94a6", "#ffa529", "#cc9927", "#f7f47c", "#bffb00", "#1aff2f", "#25ffa8",
17
- "#5cffe8", "#8bc5ff", "#5480e4", "#92a7ff", "#d86ce4", "#e553a0", "#ffffff",
18
- "#ff3636", "#f66c03", "#99724b", "#fff034", "#87ff67", "#3dc300", "#00bfaf",
19
- "#19e9ff", "#10a4ee", "#007dc0", "#886ce4", "#b677c6", "#ff39d4", "#d0d0d0",
20
- "#e2675a", "#ffa374", "#d3ad71", "#edffae", "#d2e498", "#bad074", "#9bc48d",
21
- "#d4fde1", "#cdf1f8", "#b9c1e3", "#cdbbe4", "#ae98e5", "#e5dce1", "#a9a9a9",
22
- "#c6928b", "#b78256", "#99836a", "#bfba69", "#a6be00", "#7db04d", "#88c2ba",
23
- "#9bb3c4", "#85a5c2", "#8393cc", "#a595b5", "#bf9fbe", "#bc7196", "#7b7b7b",
24
- "#af3333", "#a95131", "#724f41", "#dbc300", "#85961f", "#539f31", "#0a9c8e",
25
- "#236384", "#1a2f96", "#2f52a2", "#624bad", "#a34bad", "#cc2e6e", "#3c3c3c"
26
- ];
15
+ export const abletonColorPalette = "#ff94a6:#ffa529:#cc9927:#f7f47c:#bffb00:#1aff2f:#25ffa8:\
16
+ #5cffe8:#8bc5ff:#5480e4:#92a7ff:#d86ce4:#e553a0:#ffffff:\
17
+ #ff3636:#f66c03:#99724b:#fff034:#87ff67:#3dc300:#00bfaf:\
18
+ #19e9ff:#10a4ee:#007dc0:#886ce4:#b677c6:#ff39d4:#d0d0d0:\
19
+ #e2675a:#ffa374:#d3ad71:#edffae:#d2e498:#bad074:#9bc48d:\
20
+ #d4fde1:#cdf1f8:#b9c1e3:#cdbbe4:#ae98e5:#e5dce1:#a9a9a9:\
21
+ #c6928b:#b78256:#99836a:#bfba69:#a6be00:#7db04d:#88c2ba:\
22
+ #9bb3c4:#85a5c2:#8393cc:#a595b5:#bf9fbe:#bc7196:#7b7b7b:\
23
+ #af3333:#a95131:#724f41:#dbc300:#85961f:#539f31:#0a9c8e:\
24
+ #236384:#1a2f96:#2f52a2:#624bad:#a34bad:#cc2e6e:#3c3c3c".split(":");
27
25
  /**
28
26
  * Get color code from Ableton color index.
29
27
  * @param {number} colorIndex Index of Ableton color palette.
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.0";
5
+ export declare const version = "v0.7.2";
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.0";
5
+ export const version = "v0.7.2";
@@ -9,6 +9,14 @@
9
9
  * @file src/midi-event.ts
10
10
  * @summary Common MIDI event types for Ableton Live and related tools.
11
11
  */
12
+ /**
13
+ * ```
14
+ * // Path to `MidiClip` element
15
+ * `/Ableton/LiveSet/Tracks/MidiTrack[]/DeviceChain/MainSequencer/ClipTimeable/ArrangerAutomation/Events/MidiClip[]`
16
+ * // this type is `MidiNoteEvent`
17
+ * `<MidiClip>/Notes/KeyTracks/KeyTrack[]/Notes/MidiNoteEvent[]`
18
+ * ```
19
+ */
12
20
  export type NoteEvent = {
13
21
  /**
14
22
  * NOTE: floating number
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeffy-g/live-midi-types",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Common TypeScript types for Ableton Live MIDI clip and event data.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",