livepilot 1.7.1 → 1.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.
|
@@ -82,7 +82,7 @@ def pitch_name(midi: int) -> str:
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
def parse_key(key_str: str) -> dict:
|
|
85
|
-
"""Parse key string -> {tonic: 0-11, mode: str}."""
|
|
85
|
+
"""Parse key string -> {tonic: 0-11, tonic_name: str, mode: str}."""
|
|
86
86
|
parts = key_str.strip().split()
|
|
87
87
|
raw_tonic = parts[0]
|
|
88
88
|
mode = parts[1].lower() if len(parts) > 1 else 'major'
|
|
@@ -97,7 +97,7 @@ def parse_key(key_str: str) -> dict:
|
|
|
97
97
|
if tonic_name not in NOTE_NAMES:
|
|
98
98
|
raise ValueError(f"Unknown tonic: {tonic_name} (from '{key_str}')")
|
|
99
99
|
|
|
100
|
-
return {"tonic": NOTE_NAMES.index(tonic_name), "mode": mode}
|
|
100
|
+
return {"tonic": NOTE_NAMES.index(tonic_name), "tonic_name": tonic_name, "mode": mode}
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
def get_scale_pitches(tonic: int, mode: str) -> list[int]:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "livepilot",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"mcpName": "io.github.dreamrec/livepilot",
|
|
5
5
|
"description": "AI copilot for Ableton Live 12 — 155 tools, device atlas (280+ devices), real-time audio analysis, generative algorithms, neo-Riemannian harmony, MIDI file I/O, and technique memory",
|
|
6
6
|
"author": "Pilot Studio",
|