audial-live 0.1.8__tar.gz
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.
- audial_live-0.1.8/.gitignore +58 -0
- audial_live-0.1.8/.python-version +1 -0
- audial_live-0.1.8/LICENSE +202 -0
- audial_live-0.1.8/NOTICE +8 -0
- audial_live-0.1.8/PKG-INFO +128 -0
- audial_live-0.1.8/README.md +106 -0
- audial_live-0.1.8/SECURITY.md +23 -0
- audial_live-0.1.8/TRADEMARKS.md +21 -0
- audial_live-0.1.8/pyproject.toml +60 -0
- audial_live-0.1.8/scripts/align_parity.py +420 -0
- audial_live-0.1.8/scripts/build_mcpb.py +81 -0
- audial_live-0.1.8/src/audial_live/__init__.py +3 -0
- audial_live-0.1.8/src/audial_live/align/METHOD.md +235 -0
- audial_live-0.1.8/src/audial_live/align/__init__.py +5 -0
- audial_live-0.1.8/src/audial_live/align/decode.py +98 -0
- audial_live-0.1.8/src/audial_live/align/drums.py +154 -0
- audial_live-0.1.8/src/audial_live/align/dsp.py +591 -0
- audial_live-0.1.8/src/audial_live/align/fit.py +381 -0
- audial_live-0.1.8/src/audial_live/align/kind.py +125 -0
- audial_live-0.1.8/src/audial_live/align/livepad.py +137 -0
- audial_live-0.1.8/src/audial_live/align/pipeline.py +897 -0
- audial_live-0.1.8/src/audial_live/align/pitched.py +289 -0
- audial_live-0.1.8/src/audial_live/align/timemap.py +84 -0
- audial_live-0.1.8/src/audial_live/align/types.py +30 -0
- audial_live-0.1.8/src/audial_live/align/validate.py +299 -0
- audial_live-0.1.8/src/audial_live/applog.py +139 -0
- audial_live-0.1.8/src/audial_live/audio_io.py +105 -0
- audial_live-0.1.8/src/audial_live/cli.py +130 -0
- audial_live-0.1.8/src/audial_live/client.py +200 -0
- audial_live-0.1.8/src/audial_live/install.py +104 -0
- audial_live-0.1.8/src/audial_live/live.py +79 -0
- audial_live-0.1.8/src/audial_live/midi_io.py +165 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/__init__.py +7 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/core.py +252 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/dispatch.py +316 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/framing.py +80 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/launcher.py +32 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/lom.py +908 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_browser.py +378 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_dev.py +79 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_env.py +158 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_events.py +135 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_media.py +255 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_mirror.py +648 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_notes.py +144 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_set.py +957 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/ops_turns.py +280 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/server.py +259 -0
- audial_live-0.1.8/src/audial_live/remote_script/Audial/surface.py +104 -0
- audial_live-0.1.8/src/audial_live/remote_script/__init__.py +1 -0
- audial_live-0.1.8/src/audial_live/server.py +148 -0
- audial_live-0.1.8/src/audial_live/theory.py +355 -0
- audial_live-0.1.8/src/audial_live/tools/__init__.py +9 -0
- audial_live-0.1.8/src/audial_live/tools/_common.py +70 -0
- audial_live-0.1.8/src/audial_live/tools/align.py +509 -0
- audial_live-0.1.8/src/audial_live/tools/clips.py +320 -0
- audial_live-0.1.8/src/audial_live/tools/content.py +113 -0
- audial_live-0.1.8/src/audial_live/tools/creative.py +289 -0
- audial_live-0.1.8/src/audial_live/tools/devices.py +229 -0
- audial_live-0.1.8/src/audial_live/tools/extras.py +202 -0
- audial_live-0.1.8/src/audial_live/tools/groups.py +60 -0
- audial_live-0.1.8/src/audial_live/tools/media.py +510 -0
- audial_live-0.1.8/src/audial_live/tools/session.py +385 -0
- audial_live-0.1.8/src/audial_live/tools/snapshots.py +264 -0
- audial_live-0.1.8/src/audial_live/tools/tracks.py +214 -0
- audial_live-0.1.8/tests/align/synth_audio.py +179 -0
- audial_live-0.1.8/tests/align/test_decode.py +205 -0
- audial_live-0.1.8/tests/align/test_dsp.py +306 -0
- audial_live-0.1.8/tests/align/test_fit.py +438 -0
- audial_live-0.1.8/tests/align/test_kind.py +107 -0
- audial_live-0.1.8/tests/align/test_pipeline.py +880 -0
- audial_live-0.1.8/tests/align/test_placement.py +520 -0
- audial_live-0.1.8/tests/align/test_refine.py +442 -0
- audial_live-0.1.8/tests/align/test_timemap.py +85 -0
- audial_live-0.1.8/tests/client/test_io.py +64 -0
- audial_live-0.1.8/tests/conftest.py +69 -0
- audial_live-0.1.8/tests/fake_live.py +919 -0
- audial_live-0.1.8/tests/fixtures/live-run/probe-12.4.16.json +1013 -0
- audial_live-0.1.8/tests/live/test_live.py +296 -0
- audial_live-0.1.8/tests/live/test_turns_live.py +110 -0
- audial_live-0.1.8/tests/mcp/test_align_tool.py +731 -0
- audial_live-0.1.8/tests/mcp/test_applog.py +208 -0
- audial_live-0.1.8/tests/mcp/test_tools.py +369 -0
- audial_live-0.1.8/tests/plugin/test_claude_plugin.py +148 -0
- audial_live-0.1.8/tests/remote/test_core_units.py +478 -0
- audial_live-0.1.8/tests/remote/test_events.py +178 -0
- audial_live-0.1.8/tests/remote/test_ids.py +66 -0
- audial_live-0.1.8/tests/remote/test_launcher.py +39 -0
- audial_live-0.1.8/tests/remote/test_minors.py +155 -0
- audial_live-0.1.8/tests/remote/test_mirror.py +237 -0
- audial_live-0.1.8/tests/remote/test_mirror2.py +266 -0
- audial_live-0.1.8/tests/remote/test_ops.py +262 -0
- audial_live-0.1.8/tests/remote/test_surface_stub.py +101 -0
- audial_live-0.1.8/tests/remote/test_turns.py +147 -0
- audial_live-0.1.8/tests/remote/test_turns_review.py +145 -0
- audial_live-0.1.8/uv.lock +1582 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Environments, build output, caches
|
|
2
|
+
.venv/
|
|
3
|
+
venv/
|
|
4
|
+
dist/
|
|
5
|
+
build/
|
|
6
|
+
*.egg-info/
|
|
7
|
+
__pycache__/
|
|
8
|
+
*.pyc
|
|
9
|
+
.pytest_cache/
|
|
10
|
+
.ruff_cache/
|
|
11
|
+
.mypy_cache/
|
|
12
|
+
.coverage
|
|
13
|
+
htmlcov/
|
|
14
|
+
node_modules/
|
|
15
|
+
.DS_Store
|
|
16
|
+
|
|
17
|
+
# Extension build staging and output (built by scripts/build_mcpb.py)
|
|
18
|
+
mcpb/stage/
|
|
19
|
+
*.mcpb
|
|
20
|
+
|
|
21
|
+
# Private to the author, never published: research scripts (only the numpy port in src/ is public),
|
|
22
|
+
# internal plans and notes (docs/, except the Claude plugin submission pack), and agent scratch folders
|
|
23
|
+
reference/
|
|
24
|
+
docs/*
|
|
25
|
+
!docs/LISTING-CLAUDE-PLUGIN.md
|
|
26
|
+
PLAN.md
|
|
27
|
+
.superpowers/
|
|
28
|
+
.claude/
|
|
29
|
+
scratch/
|
|
30
|
+
tmp/
|
|
31
|
+
|
|
32
|
+
# Audio, Live sets and anything local
|
|
33
|
+
*.wav
|
|
34
|
+
*.mp3
|
|
35
|
+
*.flac
|
|
36
|
+
*.aif
|
|
37
|
+
*.aiff
|
|
38
|
+
*.m4a
|
|
39
|
+
*.ogg
|
|
40
|
+
*.als
|
|
41
|
+
*.alc
|
|
42
|
+
*.adg
|
|
43
|
+
*.adv
|
|
44
|
+
*.amxd
|
|
45
|
+
*.mid
|
|
46
|
+
*.midi
|
|
47
|
+
*.log
|
|
48
|
+
.env
|
|
49
|
+
.env.*
|
|
50
|
+
*.pem
|
|
51
|
+
*.key
|
|
52
|
+
.audial/
|
|
53
|
+
|
|
54
|
+
# Live-test outputs (the per-version API probe JSON is kept)
|
|
55
|
+
tests/fixtures/live-run/*
|
|
56
|
+
!tests/fixtures/live-run/probe-*.json
|
|
57
|
+
# Internal: checks the private clean-room inventory docs (not published)
|
|
58
|
+
tests/test_parity_doc.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.11
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
audial_live-0.1.8/NOTICE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Audial for Ableton Live (audial-live)
|
|
2
|
+
Copyright 2026 Audial
|
|
3
|
+
|
|
4
|
+
This product includes software developed by Audial (https://audialmusic.ai).
|
|
5
|
+
|
|
6
|
+
The Audial name and logo are trademarks of Audial and are not licensed under the
|
|
7
|
+
Apache License; see TRADEMARKS.md. Ableton and Live are trademarks of Ableton AG;
|
|
8
|
+
this project is not affiliated with or endorsed by Ableton.
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: audial-live
|
|
3
|
+
Version: 0.1.8
|
|
4
|
+
Summary: Audial for Ableton Live: a fast MCP server that controls Ableton Live — tracks, clips, notes, devices, mixer, browser, plus audio and MIDI import and export.
|
|
5
|
+
Project-URL: Homepage, https://audialmusic.ai
|
|
6
|
+
Project-URL: Repository, https://github.com/AudialAI/audial-live
|
|
7
|
+
Project-URL: Issues, https://github.com/AudialAI/audial-live/issues
|
|
8
|
+
Author-email: Audial <contact@audialmusic.ai>
|
|
9
|
+
License-Expression: Apache-2.0
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
12
|
+
Keywords: ableton,audial,daw,live,mcp,model-context-protocol,music
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Topic :: Multimedia :: Sound/Audio
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Requires-Dist: mcp<3,>=2.2
|
|
17
|
+
Requires-Dist: mido>=1.3
|
|
18
|
+
Requires-Dist: numpy>=1.24
|
|
19
|
+
Requires-Dist: pydantic>=2
|
|
20
|
+
Requires-Dist: soundfile>=0.12
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# Audial for Ableton Live
|
|
24
|
+
|
|
25
|
+
An MCP server that controls Ableton Live — tracks, groups, clips, notes, devices and presets, mixer, scenes,
|
|
26
|
+
browser, automation — and imports and exports audio and MIDI. Built for speed: a tool call takes about 10 ms
|
|
27
|
+
(a few ms when calls follow each other), and a whole job (say, ten groups of tracks with presets, audio and notes)
|
|
28
|
+
is a single call.
|
|
29
|
+
|
|
30
|
+
Measured on Live 12.4.16 (Apple silicon):
|
|
31
|
+
|
|
32
|
+
| | |
|
|
33
|
+
|---|---|
|
|
34
|
+
| MCP tool call, end to end over stdio | ~11 ms spaced out like a model's calls, ~2 ms back to back |
|
|
35
|
+
| Round trip to Live | 0.1 ms after a reply, ~5 ms on average otherwise (Live's timer ticks every 10 ms) |
|
|
36
|
+
| Whole-set read / 200 reads in one batch | 0.4 ms / 1 ms |
|
|
37
|
+
| Two tracks with a plug-in preset, an audio file and a MIDI clip | 0.2 s, one call |
|
|
38
|
+
|
|
39
|
+
## How it works
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
MCP client (Claude, …) ──stdio──▶ audial-live (this package) ──TCP 127.0.0.1:9890──▶ "Audial" control surface in Live
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
- **Inside Live**, the `Audial` control-surface script does all its work on Live's main thread, on every tick
|
|
46
|
+
(Live's 10 ms timer, plus its ~10 Hz display timer). There are no threads, so no hand-offs waiting on each other.
|
|
47
|
+
Each tick runs queued requests for up to 20 ms so Live's interface stays responsive, and after answering it keeps
|
|
48
|
+
listening for ~2 ms (at most 8 ms a tick), so a client's follow-up request is answered at once instead of on the
|
|
49
|
+
next tick.
|
|
50
|
+
- **Batches**: any number of steps run in one round trip; later steps use earlier results (`{"$ref": "a/ref"}`).
|
|
51
|
+
- **Security**: loopback only, and every connection must present the token Live writes to
|
|
52
|
+
`~/.audial/live/session.json` (readable only by you).
|
|
53
|
+
|
|
54
|
+
## Install
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
uv tool install audial-live # or: pipx install audial-live
|
|
58
|
+
audial-live install # copies the Audial script into Live's User Library
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Then restart Live and choose **Audial** under *Settings → Link, Tempo & MIDI → Control Surface* (any free slot;
|
|
62
|
+
it can run next to other control surfaces). Add the server to your MCP client:
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{"mcpServers": {"audial-live": {"command": "audial-live"}}}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
`audial-live doctor` checks the setup; `audial-live bench` measures round trips to Live.
|
|
69
|
+
|
|
70
|
+
Requires Live 12 (Python 3.11 inside Live). Some features need newer 12.x versions and are detected at runtime:
|
|
71
|
+
inserting native devices by name (12.3), arrangement audio clips from files and moving clips (12.2).
|
|
72
|
+
|
|
73
|
+
**Claude plugin.** `claude-plugin/` is a Claude plugin with this server (run with `uvx`, pinned to this package's
|
|
74
|
+
version) and two skills: one for working in a set, one for installing and switching on the control surface. See
|
|
75
|
+
`claude-plugin/README.md` for installing it from Claude's plugin directory or from Audial's marketplace.
|
|
76
|
+
|
|
77
|
+
## Tools (59)
|
|
78
|
+
|
|
79
|
+
| Area | Tools |
|
|
80
|
+
|---|---|
|
|
81
|
+
| Session | `live_status`, `get_set`, `live_context`, `transport`, `view`, `live_stats` |
|
|
82
|
+
| Tracks & mixer | `create_tracks`, `make_group`, `set_tracks`, `delete_tracks`, `duplicate_track`, `get_track`, `send_return`, `take_lanes` |
|
|
83
|
+
| Scenes & launching | `edit_scenes`, `launch`, `session_record` |
|
|
84
|
+
| Clips | `get_clip`, `create_clip`, `edit_clips`, `delete_clips`, `duplicate_clip`, `clip_action`, `warp_markers`, `clip_automation` |
|
|
85
|
+
| Notes | `get_notes`, `write_notes`, `edit_notes`, `remove_notes`, `transform_notes`, `scale_notes`, `copy_notes`, `grid_notation`, `generate_notes`, `align_midi_to_audio` |
|
|
86
|
+
| Devices | `load_device`, `get_device`, `set_device_params`, `device_action`, `device_properties`, `snapshots`, `macros`, `chain_templates` |
|
|
87
|
+
| Browser | `browse`, `load_browser_item` |
|
|
88
|
+
| Import / export | `import_audio`, `import_midi`, `export_midi`, `export_audio`, `export_clip_audio`, `analyze_audio` |
|
|
89
|
+
| Arrangement | `arrangement_time`, `analyze`, `convert` |
|
|
90
|
+
| Anything else | `run_batch`, `live_api`, `set_data`, `groove_pool`, `watch` |
|
|
91
|
+
|
|
92
|
+
Notes on behaviour:
|
|
93
|
+
|
|
94
|
+
- **Audio import is unwarped by default**: raw audio at its own speed, the clip spans the whole file. Pass
|
|
95
|
+
`warp=true` to let Live warp it to the set's tempo.
|
|
96
|
+
- **Audio export** plays the range in real time and records it inside Live (Live's API has no offline render).
|
|
97
|
+
Recording uses punch-in/out, so files line up with the arrangement to within a couple of samples; other tracks
|
|
98
|
+
are disarmed and a recorder is selected meanwhile, so nothing records over your clips; several stems record in
|
|
99
|
+
one pass; temporary
|
|
100
|
+
tracks are removed and settings restored. Stems export correctly while other tracks are soloed (the recorders
|
|
101
|
+
join the solo for the export). `export_clip_audio` writes an audio clip's file region instantly.
|
|
102
|
+
- **Arrangement time edits** (`arrangement_time`: delete / duplicate / insert silence) move clips on every track as
|
|
103
|
+
one undo step; Live's API has no time-edit calls of its own. Edit points must fall between clips (the API can't
|
|
104
|
+
split a clip); track automation and locators stay where they are.
|
|
105
|
+
- **MIDI import** maps the file's beat grid onto Live's (or keeps real time with `timing="seconds"`); each MIDI
|
|
106
|
+
track or channel becomes a Live track, drum channels can get their own instrument. **MIDI export** writes clips or
|
|
107
|
+
whole tracks over a bar range, with looped arrangement clips unrolled as they play.
|
|
108
|
+
- **Groups**: Live's API can't group existing tracks. `make_group` creates a new group with new tracks by copying
|
|
109
|
+
an existing group; a set needs one group (Cmd+G once) for that.
|
|
110
|
+
- Plug-in presets load from `.vstpreset` / `.adv` / `.adg` / `.fxp` / `.aupreset` files (copied into the User
|
|
111
|
+
Library when needed). Live can't load `.vital` or `.SerumPreset` files directly.
|
|
112
|
+
|
|
113
|
+
## Development
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
uv sync
|
|
117
|
+
uv run pytest # unit + end-to-end tests against a fake Live
|
|
118
|
+
AUDIAL_LIVE=1 uv run pytest -m live tests/live -s # against the running Live (uses a scratch area of the set)
|
|
119
|
+
uv run audial-live install # after changes: copies the script and hot-reloads it if Live is running
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`src/audial_live/remote_script/Audial` is the script Live runs (standard library only, Python 3.11). The script can
|
|
123
|
+
reload itself in place (`dev.reload`), so most changes don't need a Live restart.
|
|
124
|
+
|
|
125
|
+
## Licence
|
|
126
|
+
|
|
127
|
+
Apache-2.0 (see `LICENSE` and `NOTICE`). The Audial name and logo are not licensed: forks must rename (`TRADEMARKS.md`).
|
|
128
|
+
Security reports: `SECURITY.md`. Ableton and Live are trademarks of Ableton AG; this project is not affiliated with Ableton.
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Audial for Ableton Live
|
|
2
|
+
|
|
3
|
+
An MCP server that controls Ableton Live — tracks, groups, clips, notes, devices and presets, mixer, scenes,
|
|
4
|
+
browser, automation — and imports and exports audio and MIDI. Built for speed: a tool call takes about 10 ms
|
|
5
|
+
(a few ms when calls follow each other), and a whole job (say, ten groups of tracks with presets, audio and notes)
|
|
6
|
+
is a single call.
|
|
7
|
+
|
|
8
|
+
Measured on Live 12.4.16 (Apple silicon):
|
|
9
|
+
|
|
10
|
+
| | |
|
|
11
|
+
|---|---|
|
|
12
|
+
| MCP tool call, end to end over stdio | ~11 ms spaced out like a model's calls, ~2 ms back to back |
|
|
13
|
+
| Round trip to Live | 0.1 ms after a reply, ~5 ms on average otherwise (Live's timer ticks every 10 ms) |
|
|
14
|
+
| Whole-set read / 200 reads in one batch | 0.4 ms / 1 ms |
|
|
15
|
+
| Two tracks with a plug-in preset, an audio file and a MIDI clip | 0.2 s, one call |
|
|
16
|
+
|
|
17
|
+
## How it works
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
MCP client (Claude, …) ──stdio──▶ audial-live (this package) ──TCP 127.0.0.1:9890──▶ "Audial" control surface in Live
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- **Inside Live**, the `Audial` control-surface script does all its work on Live's main thread, on every tick
|
|
24
|
+
(Live's 10 ms timer, plus its ~10 Hz display timer). There are no threads, so no hand-offs waiting on each other.
|
|
25
|
+
Each tick runs queued requests for up to 20 ms so Live's interface stays responsive, and after answering it keeps
|
|
26
|
+
listening for ~2 ms (at most 8 ms a tick), so a client's follow-up request is answered at once instead of on the
|
|
27
|
+
next tick.
|
|
28
|
+
- **Batches**: any number of steps run in one round trip; later steps use earlier results (`{"$ref": "a/ref"}`).
|
|
29
|
+
- **Security**: loopback only, and every connection must present the token Live writes to
|
|
30
|
+
`~/.audial/live/session.json` (readable only by you).
|
|
31
|
+
|
|
32
|
+
## Install
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
uv tool install audial-live # or: pipx install audial-live
|
|
36
|
+
audial-live install # copies the Audial script into Live's User Library
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Then restart Live and choose **Audial** under *Settings → Link, Tempo & MIDI → Control Surface* (any free slot;
|
|
40
|
+
it can run next to other control surfaces). Add the server to your MCP client:
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{"mcpServers": {"audial-live": {"command": "audial-live"}}}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`audial-live doctor` checks the setup; `audial-live bench` measures round trips to Live.
|
|
47
|
+
|
|
48
|
+
Requires Live 12 (Python 3.11 inside Live). Some features need newer 12.x versions and are detected at runtime:
|
|
49
|
+
inserting native devices by name (12.3), arrangement audio clips from files and moving clips (12.2).
|
|
50
|
+
|
|
51
|
+
**Claude plugin.** `claude-plugin/` is a Claude plugin with this server (run with `uvx`, pinned to this package's
|
|
52
|
+
version) and two skills: one for working in a set, one for installing and switching on the control surface. See
|
|
53
|
+
`claude-plugin/README.md` for installing it from Claude's plugin directory or from Audial's marketplace.
|
|
54
|
+
|
|
55
|
+
## Tools (59)
|
|
56
|
+
|
|
57
|
+
| Area | Tools |
|
|
58
|
+
|---|---|
|
|
59
|
+
| Session | `live_status`, `get_set`, `live_context`, `transport`, `view`, `live_stats` |
|
|
60
|
+
| Tracks & mixer | `create_tracks`, `make_group`, `set_tracks`, `delete_tracks`, `duplicate_track`, `get_track`, `send_return`, `take_lanes` |
|
|
61
|
+
| Scenes & launching | `edit_scenes`, `launch`, `session_record` |
|
|
62
|
+
| Clips | `get_clip`, `create_clip`, `edit_clips`, `delete_clips`, `duplicate_clip`, `clip_action`, `warp_markers`, `clip_automation` |
|
|
63
|
+
| Notes | `get_notes`, `write_notes`, `edit_notes`, `remove_notes`, `transform_notes`, `scale_notes`, `copy_notes`, `grid_notation`, `generate_notes`, `align_midi_to_audio` |
|
|
64
|
+
| Devices | `load_device`, `get_device`, `set_device_params`, `device_action`, `device_properties`, `snapshots`, `macros`, `chain_templates` |
|
|
65
|
+
| Browser | `browse`, `load_browser_item` |
|
|
66
|
+
| Import / export | `import_audio`, `import_midi`, `export_midi`, `export_audio`, `export_clip_audio`, `analyze_audio` |
|
|
67
|
+
| Arrangement | `arrangement_time`, `analyze`, `convert` |
|
|
68
|
+
| Anything else | `run_batch`, `live_api`, `set_data`, `groove_pool`, `watch` |
|
|
69
|
+
|
|
70
|
+
Notes on behaviour:
|
|
71
|
+
|
|
72
|
+
- **Audio import is unwarped by default**: raw audio at its own speed, the clip spans the whole file. Pass
|
|
73
|
+
`warp=true` to let Live warp it to the set's tempo.
|
|
74
|
+
- **Audio export** plays the range in real time and records it inside Live (Live's API has no offline render).
|
|
75
|
+
Recording uses punch-in/out, so files line up with the arrangement to within a couple of samples; other tracks
|
|
76
|
+
are disarmed and a recorder is selected meanwhile, so nothing records over your clips; several stems record in
|
|
77
|
+
one pass; temporary
|
|
78
|
+
tracks are removed and settings restored. Stems export correctly while other tracks are soloed (the recorders
|
|
79
|
+
join the solo for the export). `export_clip_audio` writes an audio clip's file region instantly.
|
|
80
|
+
- **Arrangement time edits** (`arrangement_time`: delete / duplicate / insert silence) move clips on every track as
|
|
81
|
+
one undo step; Live's API has no time-edit calls of its own. Edit points must fall between clips (the API can't
|
|
82
|
+
split a clip); track automation and locators stay where they are.
|
|
83
|
+
- **MIDI import** maps the file's beat grid onto Live's (or keeps real time with `timing="seconds"`); each MIDI
|
|
84
|
+
track or channel becomes a Live track, drum channels can get their own instrument. **MIDI export** writes clips or
|
|
85
|
+
whole tracks over a bar range, with looped arrangement clips unrolled as they play.
|
|
86
|
+
- **Groups**: Live's API can't group existing tracks. `make_group` creates a new group with new tracks by copying
|
|
87
|
+
an existing group; a set needs one group (Cmd+G once) for that.
|
|
88
|
+
- Plug-in presets load from `.vstpreset` / `.adv` / `.adg` / `.fxp` / `.aupreset` files (copied into the User
|
|
89
|
+
Library when needed). Live can't load `.vital` or `.SerumPreset` files directly.
|
|
90
|
+
|
|
91
|
+
## Development
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
uv sync
|
|
95
|
+
uv run pytest # unit + end-to-end tests against a fake Live
|
|
96
|
+
AUDIAL_LIVE=1 uv run pytest -m live tests/live -s # against the running Live (uses a scratch area of the set)
|
|
97
|
+
uv run audial-live install # after changes: copies the script and hot-reloads it if Live is running
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
`src/audial_live/remote_script/Audial` is the script Live runs (standard library only, Python 3.11). The script can
|
|
101
|
+
reload itself in place (`dev.reload`), so most changes don't need a Live restart.
|
|
102
|
+
|
|
103
|
+
## Licence
|
|
104
|
+
|
|
105
|
+
Apache-2.0 (see `LICENSE` and `NOTICE`). The Audial name and logo are not licensed: forks must rename (`TRADEMARKS.md`).
|
|
106
|
+
Security reports: `SECURITY.md`. Ableton and Live are trademarks of Ableton AG; this project is not affiliated with Ableton.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
## Reporting a vulnerability
|
|
4
|
+
|
|
5
|
+
Email **contact@audialmusic.ai** with "audial-live security" in the subject. Please include what you found, the
|
|
6
|
+
version (`audial-live --version`), your operating system and Live version, and steps to reproduce it. Do not open a
|
|
7
|
+
public issue for a vulnerability.
|
|
8
|
+
|
|
9
|
+
We aim to reply within 3 working days and to fix confirmed problems in the next release.
|
|
10
|
+
|
|
11
|
+
## What is in scope
|
|
12
|
+
|
|
13
|
+
- The control-surface script that runs inside Live (`src/audial_live/remote_script/Audial`) and the MCP server
|
|
14
|
+
(`src/audial_live`).
|
|
15
|
+
- By design the script listens only on `127.0.0.1` (ports 9890-9899), and every connection must present a random
|
|
16
|
+
token that Live writes to `~/.audial/live/session.json`, readable only by the current user. A way around either is
|
|
17
|
+
a vulnerability.
|
|
18
|
+
- Tools can run arbitrary Live API calls (`live_api`, `run_batch`) and read and write files you point them at. That
|
|
19
|
+
is what the tool is for: treat the AI client you connect as having full control of your open Live Set.
|
|
20
|
+
|
|
21
|
+
## Supported versions
|
|
22
|
+
|
|
23
|
+
The latest release only.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Trademarks
|
|
2
|
+
|
|
3
|
+
The source code in this repository is licensed under the Apache License 2.0 (see `LICENSE`). That licence covers the
|
|
4
|
+
code only. It does not grant any right to use the **Audial** name, the Audial logo, or the names "Audial Assist" and
|
|
5
|
+
"Audial for Live", all of which belong to Audial.
|
|
6
|
+
|
|
7
|
+
If you fork or redistribute this project:
|
|
8
|
+
|
|
9
|
+
- Give your version a different name and a different logo. Do not call it "Audial", "Audial Live" or anything that
|
|
10
|
+
could be taken for ours.
|
|
11
|
+
- Remove the Audial logo (`mcpb/icon.png`, `claude-plugin/icon.png`) from your builds, and change the author, support
|
|
12
|
+
and homepage details in `pyproject.toml`, `mcpb/manifest.template.json` and `claude-plugin/.claude-plugin/plugin.json`.
|
|
13
|
+
Give the Claude plugin its own `name` too: a plugin directory refuses a name another publisher already uses.
|
|
14
|
+
- You may say, truthfully, that your project is "based on audial-live" and link to this repository.
|
|
15
|
+
- The control-surface script installs into Live as a folder named `Audial`. A fork should rename it, so the two can
|
|
16
|
+
live side by side in one Live installation.
|
|
17
|
+
|
|
18
|
+
Ableton and Live are trademarks of Ableton AG. This project is independent and is not affiliated with or endorsed by
|
|
19
|
+
Ableton.
|
|
20
|
+
|
|
21
|
+
Questions: contact@audialmusic.ai
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.25"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "audial-live"
|
|
7
|
+
version = "0.1.8"
|
|
8
|
+
description = "Audial for Ableton Live: a fast MCP server that controls Ableton Live — tracks, clips, notes, devices, mixer, browser, plus audio and MIDI import and export."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "Apache-2.0"
|
|
11
|
+
license-files = ["LICENSE", "NOTICE"]
|
|
12
|
+
requires-python = ">=3.10"
|
|
13
|
+
authors = [{ name = "Audial", email = "contact@audialmusic.ai" }]
|
|
14
|
+
keywords = ["mcp", "ableton", "live", "music", "daw", "audial", "model-context-protocol"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Topic :: Multimedia :: Sound/Audio",
|
|
18
|
+
]
|
|
19
|
+
dependencies = [
|
|
20
|
+
"mcp>=2.2,<3",
|
|
21
|
+
"pydantic>=2",
|
|
22
|
+
"mido>=1.3",
|
|
23
|
+
"soundfile>=0.12",
|
|
24
|
+
"numpy>=1.24",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
Homepage = "https://audialmusic.ai"
|
|
29
|
+
Repository = "https://github.com/AudialAI/audial-live"
|
|
30
|
+
Issues = "https://github.com/AudialAI/audial-live/issues"
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
audial-live = "audial_live.cli:main"
|
|
34
|
+
|
|
35
|
+
[tool.hatch.build.targets.wheel]
|
|
36
|
+
packages = ["src/audial_live"]
|
|
37
|
+
|
|
38
|
+
[tool.hatch.build.targets.sdist]
|
|
39
|
+
exclude = ["docs", "tests/fixtures/*.wav", ".github", "mcpb", "claude-plugin"]
|
|
40
|
+
|
|
41
|
+
[dependency-groups]
|
|
42
|
+
dev = ["pytest>=8", "ruff>=0.6", "build>=1.2", "anyio>=4"]
|
|
43
|
+
|
|
44
|
+
[tool.pytest.ini_options]
|
|
45
|
+
testpaths = ["tests"]
|
|
46
|
+
markers = ["live: needs Ableton Live running with the Audial control surface (AUDIAL_LIVE=1)"]
|
|
47
|
+
addopts = "-m 'not live' -q"
|
|
48
|
+
|
|
49
|
+
[tool.ruff]
|
|
50
|
+
line-length = 140
|
|
51
|
+
target-version = "py310"
|
|
52
|
+
extend-exclude = ["PLAN.md", "docs"]
|
|
53
|
+
|
|
54
|
+
[tool.ruff.lint]
|
|
55
|
+
select = ["E", "F", "W", "I", "B"]
|
|
56
|
+
ignore = ["B008", "B904", "E731", "B905"]
|
|
57
|
+
|
|
58
|
+
[tool.ruff.lint.per-file-ignores]
|
|
59
|
+
"src/audial_live/remote_script/**" = ["B006", "B023"]
|
|
60
|
+
"tests/**" = ["B011", "E501"]
|