logicxkit 0.1.0__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.
- logicxkit-0.1.0/.env.example +44 -0
- logicxkit-0.1.0/CHANGELOG.md +41 -0
- logicxkit-0.1.0/CODE_OF_CONDUCT.md +46 -0
- logicxkit-0.1.0/CONTRIBUTING.md +57 -0
- logicxkit-0.1.0/LICENSE +202 -0
- logicxkit-0.1.0/MANIFEST.in +9 -0
- logicxkit-0.1.0/NOTICE +16 -0
- logicxkit-0.1.0/PKG-INFO +259 -0
- logicxkit-0.1.0/README.md +230 -0
- logicxkit-0.1.0/config/example-chains.json +50 -0
- logicxkit-0.1.0/config/example-psts.json +62 -0
- logicxkit-0.1.0/config/example-retrack.json +37 -0
- logicxkit-0.1.0/config/example-strips.json +72 -0
- logicxkit-0.1.0/docs/CAPABILITIES.md +111 -0
- logicxkit-0.1.0/pyproject.toml +67 -0
- logicxkit-0.1.0/setup.cfg +4 -0
- logicxkit-0.1.0/src/logicxkit/__init__.py +18 -0
- logicxkit-0.1.0/src/logicxkit/au/__init__.py +16 -0
- logicxkit-0.1.0/src/logicxkit/au/_views.py +74 -0
- logicxkit-0.1.0/src/logicxkit/au/cli.py +94 -0
- logicxkit-0.1.0/src/logicxkit/au/services/__init__.py +0 -0
- logicxkit-0.1.0/src/logicxkit/au/services/aupreset.py +54 -0
- logicxkit-0.1.0/src/logicxkit/au/services/embed.py +37 -0
- logicxkit-0.1.0/src/logicxkit/au/services/ffp.py +41 -0
- logicxkit-0.1.0/src/logicxkit/au/services/host.py +108 -0
- logicxkit-0.1.0/src/logicxkit/au/services/juce.py +164 -0
- logicxkit-0.1.0/src/logicxkit/au/services/report.py +132 -0
- logicxkit-0.1.0/src/logicxkit/au/services/sonible.py +96 -0
- logicxkit-0.1.0/src/logicxkit/au/services/tables.py +54 -0
- logicxkit-0.1.0/src/logicxkit/au/services/tr5.py +41 -0
- logicxkit-0.1.0/src/logicxkit/au/services/waves.py +45 -0
- logicxkit-0.1.0/src/logicxkit/cli.py +62 -0
- logicxkit-0.1.0/src/logicxkit/logic/__init__.py +88 -0
- logicxkit-0.1.0/src/logicxkit/logic/_apply.py +188 -0
- logicxkit-0.1.0/src/logicxkit/logic/_apply_template.py +200 -0
- logicxkit-0.1.0/src/logicxkit/logic/_apply_tracks.py +158 -0
- logicxkit-0.1.0/src/logicxkit/logic/_binary.py +94 -0
- logicxkit-0.1.0/src/logicxkit/logic/_capabilities.py +215 -0
- logicxkit-0.1.0/src/logicxkit/logic/_chains_cmd.py +176 -0
- logicxkit-0.1.0/src/logicxkit/logic/_controlbar.py +77 -0
- logicxkit-0.1.0/src/logicxkit/logic/_diagnose.py +87 -0
- logicxkit-0.1.0/src/logicxkit/logic/_edit.py +111 -0
- logicxkit-0.1.0/src/logicxkit/logic/_groups.py +78 -0
- logicxkit-0.1.0/src/logicxkit/logic/_header.py +70 -0
- logicxkit-0.1.0/src/logicxkit/logic/_inspect.py +222 -0
- logicxkit-0.1.0/src/logicxkit/logic/_metronome.py +89 -0
- logicxkit-0.1.0/src/logicxkit/logic/_modes.py +81 -0
- logicxkit-0.1.0/src/logicxkit/logic/_prefs.py +96 -0
- logicxkit-0.1.0/src/logicxkit/logic/_song.py +213 -0
- logicxkit-0.1.0/src/logicxkit/logic/_toolbar.py +67 -0
- logicxkit-0.1.0/src/logicxkit/logic/_width.py +71 -0
- logicxkit-0.1.0/src/logicxkit/logic/cli.py +457 -0
- logicxkit-0.1.0/src/logicxkit/logic/orchestrators/__init__.py +0 -0
- logicxkit-0.1.0/src/logicxkit/logic/orchestrators/apply_ops.py +104 -0
- logicxkit-0.1.0/src/logicxkit/logic/orchestrators/apply_template.py +403 -0
- logicxkit-0.1.0/src/logicxkit/logic/orchestrators/ops.py +33 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/__init__.py +1 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/addtrack.py +310 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/arrangement.py +84 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/arrangement_write.py +195 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/binding.py +116 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/chain_report.py +83 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/chains.py +432 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/channel_alloc.py +238 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/comp.py +54 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/controlbar.py +244 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/donors.py +145 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/environment.py +294 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/eq.py +61 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/events.py +75 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/graft.py +115 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/groups.py +394 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/header.py +149 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/inputs_create.py +69 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/insert.py +434 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/instout.py +180 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/integrity.py +117 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/keyflags.py +107 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/levels.py +160 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/library.py +63 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/limiter.py +54 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/manifest.py +77 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/metronome.py +126 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/modes.py +96 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/neural.py +36 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/ocr.py +89 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/pairing.py +281 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/prefs.py +204 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/prefs_table.py +268 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/projdiff.py +78 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/project.py +193 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/pst.py +83 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/recbuild.py +66 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/recdiff.py +125 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/records.py +107 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/regions.py +117 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/registry.py +205 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/reorder.py +66 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/retrack.py +272 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/routing.py +59 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/selection.py +38 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/sends.py +104 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/sends_write.py +148 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/sequence.py +248 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/settings.py +86 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/signature.py +137 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/signature_write.py +161 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/slotkeys.py +74 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/spec.py +137 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/stack_create.py +182 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/stacks.py +288 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/stripsave.py +56 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/tempo.py +69 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/tempo_write.py +153 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/toolbar.py +133 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/tracklist.py +181 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/transplant.py +175 -0
- logicxkit-0.1.0/src/logicxkit/logic/services/validate.py +123 -0
- logicxkit-0.1.0/src/logicxkit/logicx/__init__.py +15 -0
- logicxkit-0.1.0/src/logicxkit/logicx/container.py +70 -0
- logicxkit-0.1.0/src/logicxkit/native/aulatency.swift +61 -0
- logicxkit-0.1.0/src/logicxkit/native/auprobe.swift +142 -0
- logicxkit-0.1.0/src/logicxkit/native/vision_ocr.swift +37 -0
- logicxkit-0.1.0/src/logicxkit/utils/__init__.py +6 -0
- logicxkit-0.1.0/src/logicxkit/utils/data.py +49 -0
- logicxkit-0.1.0/src/logicxkit/utils/env.py +20 -0
- logicxkit-0.1.0/src/logicxkit/utils/swiftrun.py +37 -0
- logicxkit-0.1.0/src/logicxkit.egg-info/PKG-INFO +259 -0
- logicxkit-0.1.0/src/logicxkit.egg-info/SOURCES.txt +248 -0
- logicxkit-0.1.0/src/logicxkit.egg-info/dependency_links.txt +1 -0
- logicxkit-0.1.0/src/logicxkit.egg-info/entry_points.txt +2 -0
- logicxkit-0.1.0/src/logicxkit.egg-info/requires.txt +8 -0
- logicxkit-0.1.0/src/logicxkit.egg-info/top_level.txt +1 -0
- logicxkit-0.1.0/tests/_data.py +16 -0
- logicxkit-0.1.0/tests/_goldens.py +91 -0
- logicxkit-0.1.0/tests/_liveguard.py +72 -0
- logicxkit-0.1.0/tests/_paths.py +119 -0
- logicxkit-0.1.0/tests/au/_juce.py +61 -0
- logicxkit-0.1.0/tests/au/test_au_report.py +65 -0
- logicxkit-0.1.0/tests/au/test_aupreset.py +54 -0
- logicxkit-0.1.0/tests/au/test_cli_views.py +46 -0
- logicxkit-0.1.0/tests/au/test_embed.py +46 -0
- logicxkit-0.1.0/tests/au/test_ffp.py +43 -0
- logicxkit-0.1.0/tests/au/test_host.py +68 -0
- logicxkit-0.1.0/tests/au/test_juce.py +65 -0
- logicxkit-0.1.0/tests/au/test_sonible.py +41 -0
- logicxkit-0.1.0/tests/au/test_strip_path.py +76 -0
- logicxkit-0.1.0/tests/au/test_tables.py +51 -0
- logicxkit-0.1.0/tests/au/test_tr5.py +36 -0
- logicxkit-0.1.0/tests/au/test_waves.py +42 -0
- logicxkit-0.1.0/tests/conftest.py +24 -0
- logicxkit-0.1.0/tests/goldens/__init__.py +1 -0
- logicxkit-0.1.0/tests/goldens/test_addtrack.py +66 -0
- logicxkit-0.1.0/tests/goldens/test_apply_template.py +78 -0
- logicxkit-0.1.0/tests/goldens/test_binding.py +60 -0
- logicxkit-0.1.0/tests/goldens/test_chains.py +142 -0
- logicxkit-0.1.0/tests/goldens/test_channel_create.py +118 -0
- logicxkit-0.1.0/tests/goldens/test_controlbar.py +96 -0
- logicxkit-0.1.0/tests/goldens/test_environment.py +39 -0
- logicxkit-0.1.0/tests/goldens/test_groups.py +114 -0
- logicxkit-0.1.0/tests/goldens/test_header.py +75 -0
- logicxkit-0.1.0/tests/goldens/test_instout.py +67 -0
- logicxkit-0.1.0/tests/goldens/test_integrity.py +122 -0
- logicxkit-0.1.0/tests/goldens/test_manifest.py +32 -0
- logicxkit-0.1.0/tests/goldens/test_metronome.py +87 -0
- logicxkit-0.1.0/tests/goldens/test_modes.py +54 -0
- logicxkit-0.1.0/tests/goldens/test_neural.py +57 -0
- logicxkit-0.1.0/tests/goldens/test_projdiff.py +43 -0
- logicxkit-0.1.0/tests/goldens/test_project.py +51 -0
- logicxkit-0.1.0/tests/goldens/test_reorder.py +28 -0
- logicxkit-0.1.0/tests/goldens/test_routing.py +28 -0
- logicxkit-0.1.0/tests/goldens/test_sends.py +43 -0
- logicxkit-0.1.0/tests/goldens/test_sends_write.py +66 -0
- logicxkit-0.1.0/tests/goldens/test_sequence.py +68 -0
- logicxkit-0.1.0/tests/goldens/test_settings.py +141 -0
- logicxkit-0.1.0/tests/goldens/test_signature.py +32 -0
- logicxkit-0.1.0/tests/goldens/test_signature_write.py +64 -0
- logicxkit-0.1.0/tests/goldens/test_song.py +47 -0
- logicxkit-0.1.0/tests/goldens/test_song_write.py +271 -0
- logicxkit-0.1.0/tests/goldens/test_stack_create.py +85 -0
- logicxkit-0.1.0/tests/goldens/test_stack_moves.py +104 -0
- logicxkit-0.1.0/tests/goldens/test_stacks.py +65 -0
- logicxkit-0.1.0/tests/goldens/test_toolbar.py +67 -0
- logicxkit-0.1.0/tests/goldens/test_transplant.py +58 -0
- logicxkit-0.1.0/tests/goldens/test_width.py +45 -0
- logicxkit-0.1.0/tests/logic/__init__.py +1 -0
- logicxkit-0.1.0/tests/logic/_fixtures.py +26 -0
- logicxkit-0.1.0/tests/logic/_invariants.py +70 -0
- logicxkit-0.1.0/tests/logic/_records.py +163 -0
- logicxkit-0.1.0/tests/logic/test_addtrack.py +29 -0
- logicxkit-0.1.0/tests/logic/test_apply_template.py +241 -0
- logicxkit-0.1.0/tests/logic/test_binding.py +73 -0
- logicxkit-0.1.0/tests/logic/test_build_cli.py +137 -0
- logicxkit-0.1.0/tests/logic/test_capabilities.py +138 -0
- logicxkit-0.1.0/tests/logic/test_chains.py +272 -0
- logicxkit-0.1.0/tests/logic/test_channel_alloc.py +75 -0
- logicxkit-0.1.0/tests/logic/test_channel_width.py +142 -0
- logicxkit-0.1.0/tests/logic/test_chunks.py +73 -0
- logicxkit-0.1.0/tests/logic/test_controlbar.py +184 -0
- logicxkit-0.1.0/tests/logic/test_donor_version.py +108 -0
- logicxkit-0.1.0/tests/logic/test_donors.py +155 -0
- logicxkit-0.1.0/tests/logic/test_environment.py +135 -0
- logicxkit-0.1.0/tests/logic/test_events.py +40 -0
- logicxkit-0.1.0/tests/logic/test_graft.py +243 -0
- logicxkit-0.1.0/tests/logic/test_groups.py +263 -0
- logicxkit-0.1.0/tests/logic/test_header.py +55 -0
- logicxkit-0.1.0/tests/logic/test_insert.py +480 -0
- logicxkit-0.1.0/tests/logic/test_instout.py +101 -0
- logicxkit-0.1.0/tests/logic/test_keyflags.py +73 -0
- logicxkit-0.1.0/tests/logic/test_levels.py +150 -0
- logicxkit-0.1.0/tests/logic/test_library.py +143 -0
- logicxkit-0.1.0/tests/logic/test_logic.py +148 -0
- logicxkit-0.1.0/tests/logic/test_manifest.py +48 -0
- logicxkit-0.1.0/tests/logic/test_modes.py +24 -0
- logicxkit-0.1.0/tests/logic/test_neural.py +157 -0
- logicxkit-0.1.0/tests/logic/test_ocr.py +55 -0
- logicxkit-0.1.0/tests/logic/test_pairing.py +199 -0
- logicxkit-0.1.0/tests/logic/test_prefs.py +119 -0
- logicxkit-0.1.0/tests/logic/test_projdiff.py +157 -0
- logicxkit-0.1.0/tests/logic/test_project.py +175 -0
- logicxkit-0.1.0/tests/logic/test_pst.py +91 -0
- logicxkit-0.1.0/tests/logic/test_recdiff.py +66 -0
- logicxkit-0.1.0/tests/logic/test_regions.py +111 -0
- logicxkit-0.1.0/tests/logic/test_registry.py +102 -0
- logicxkit-0.1.0/tests/logic/test_reorder.py +56 -0
- logicxkit-0.1.0/tests/logic/test_retrack.py +314 -0
- logicxkit-0.1.0/tests/logic/test_routing.py +52 -0
- logicxkit-0.1.0/tests/logic/test_selection.py +66 -0
- logicxkit-0.1.0/tests/logic/test_sends.py +59 -0
- logicxkit-0.1.0/tests/logic/test_sends_write.py +264 -0
- logicxkit-0.1.0/tests/logic/test_sequence.py +114 -0
- logicxkit-0.1.0/tests/logic/test_settings.py +26 -0
- logicxkit-0.1.0/tests/logic/test_signature.py +23 -0
- logicxkit-0.1.0/tests/logic/test_slots.py +138 -0
- logicxkit-0.1.0/tests/logic/test_song.py +21 -0
- logicxkit-0.1.0/tests/logic/test_song_write.py +20 -0
- logicxkit-0.1.0/tests/logic/test_stack_create.py +210 -0
- logicxkit-0.1.0/tests/logic/test_stacks.py +197 -0
- logicxkit-0.1.0/tests/logic/test_strip_values.py +275 -0
- logicxkit-0.1.0/tests/logic/test_stripsave.py +36 -0
- logicxkit-0.1.0/tests/logic/test_toolbar.py +43 -0
- logicxkit-0.1.0/tests/logic/test_transplant.py +298 -0
- logicxkit-0.1.0/tests/logic/test_validate.py +99 -0
- logicxkit-0.1.0/tests/rig/test_rig_preflight.py +31 -0
- logicxkit-0.1.0/tests/test_cli_dispatch.py +78 -0
- logicxkit-0.1.0/tests/test_env.py +73 -0
- logicxkit-0.1.0/tests/test_goldens_report.py +62 -0
- logicxkit-0.1.0/tests/test_native_assets.py +51 -0
- logicxkit-0.1.0/tests/test_no_live_library.py +116 -0
- logicxkit-0.1.0/tests/test_package_layering.py +90 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# Copy to .env (gitignored). All are optional — each has a working default.
|
|
2
|
+
# macOS only: the tools read and write Logic Pro's own files, the Swift helpers under
|
|
3
|
+
# src/logicxkit/native/ run through the `swift` toolchain, and `logic ocr` uses Apple Vision.
|
|
4
|
+
|
|
5
|
+
# X32 scene file for the tests/rig preflight golden. Absent -> those tests skip.
|
|
6
|
+
LOGICXKIT_SCENE="$HOME/Music/Behringer/x32/Scenes/example.scn"
|
|
7
|
+
|
|
8
|
+
# Names the goldens build their paths from: the two channel-strip library folders and the
|
|
9
|
+
# prefix on the .logicx templates. The files themselves are not in this repo, so a golden
|
|
10
|
+
# whose file is missing skips. The values below are placeholders — use your own.
|
|
11
|
+
LOGICXKIT_STRIP_LIB="Example Mixing"
|
|
12
|
+
LOGICXKIT_TRACK_LIB="Example Tracking"
|
|
13
|
+
LOGICXKIT_PROJECT_PREFIX="Example"
|
|
14
|
+
|
|
15
|
+
# Logic's own user folder, the base for both settings libraries.
|
|
16
|
+
# Absent -> ~/Music/Audio Music Apps.
|
|
17
|
+
LOGICXKIT_AUDIO_MUSIC_APPS=
|
|
18
|
+
|
|
19
|
+
# Root for a spec's relative strip paths, and where `logic diff --library` looks.
|
|
20
|
+
# Absent -> Logic's own ~/Music/Audio Music Apps/Channel Strip Settings, which is what you
|
|
21
|
+
# want for real use; the tests fall back to a staged snapshot under resources/ instead of the
|
|
22
|
+
# live library (see resources/README.md — those files are not in the repo). Leave it unset
|
|
23
|
+
# unless you keep your strips somewhere else.
|
|
24
|
+
LOGICXKIT_STRIP_ROOT=
|
|
25
|
+
# Read Logic's settings from a copy instead of ~/Library/Preferences. Absent -> Logic's own.
|
|
26
|
+
LOGICXKIT_LOGIC_PREFS=
|
|
27
|
+
# Logic.app itself, for the factory .pst defaults. Absent -> /Applications/Logic Pro.app.
|
|
28
|
+
LOGICXKIT_LOGIC_APP=
|
|
29
|
+
|
|
30
|
+
# Root of a rig config tree kept outside this repo: the tests/rig preflight golden reads
|
|
31
|
+
# <root>/x32/preflight.json. Absent -> ~/.config/logicxkit/rig; missing -> those tests skip.
|
|
32
|
+
LOGICXKIT_RIG_CONFIG="$HOME/.config/logicxkit/rig"
|
|
33
|
+
# Logic-written record templates, donor slots and AU tables. Written by Logic and by plugin
|
|
34
|
+
# vendors, so they are not in the repo — see resources/data/README.md for how to make them.
|
|
35
|
+
LOGICXKIT_DATA=resources/data
|
|
36
|
+
# --- test-only ---
|
|
37
|
+
# Reference corpus the goldens read. Absent -> resources/ beside this file; the files are not
|
|
38
|
+
# in the repo (see resources/README.md), so the goldens skip when it is empty.
|
|
39
|
+
LOGICXKIT_RESOURCES=
|
|
40
|
+
# Project templates within that corpus. Absent -> <resources>/templates.
|
|
41
|
+
LOGICXKIT_TEMPLATES=
|
|
42
|
+
# Set to 1 to turn a golden whose file is missing into a failure instead of a skip. Every run
|
|
43
|
+
# prints `goldens: N of M keys found`; this is how you stop N from quietly being 0.
|
|
44
|
+
LOGICXKIT_REQUIRE_GOLDENS=
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Notable changes to logicxkit. Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/);
|
|
4
|
+
versions follow [semantic versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
|
|
6
|
+
## 0.1.0 — 2026-09-10
|
|
7
|
+
|
|
8
|
+
First public release.
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `logicxkit logic` — Logic Pro channel-strip (`.cst`) build and decode, read-only `.logicx`
|
|
13
|
+
project analysis, and writers for the track list, stacks, groups, sends, routing, channel
|
|
14
|
+
levels and width, arrangement, tempo, time and key signatures, transport modes, metronome,
|
|
15
|
+
track headers, control bar, toolbar and Logic's own settings. Every project-mutating command
|
|
16
|
+
requires `--out` and works on a copy.
|
|
17
|
+
- `logicxkit logic apply-template` — migrate a session onto a template, pairing by Environment
|
|
18
|
+
object id within a lineage and by an explicit map across lineages.
|
|
19
|
+
- `logicxkit logic diff` — project-to-project and project-to-strip-library drift.
|
|
20
|
+
- `logicxkit logic image` / `ocr` — extract and OCR the auto-saved WindowImage via Apple Vision.
|
|
21
|
+
- `logicxkit au` — Audio Unit preset and state decode: FabFilter `.ffp` and `.aupreset`, Waves
|
|
22
|
+
XPst, TR5 chain XML, sonible protobuf field walk, and the third-party states embedded in
|
|
23
|
+
`.cst` strips and `.logicx` projects.
|
|
24
|
+
- Headless AU host (`auprobe.swift`) — loads an installed plugin's state and dumps every
|
|
25
|
+
parameter with real names and UI-formatted values.
|
|
26
|
+
- `logicxkit logic capabilities` — what each command is trusted for, generated from
|
|
27
|
+
`logic/_capabilities.py`.
|
|
28
|
+
- `logicxkit --version` (`-V`) prints the installed version.
|
|
29
|
+
- Write gate (`logic/services/integrity.py`): every project write is held against its input and
|
|
30
|
+
refused on any regression; a refused run discards the copy.
|
|
31
|
+
- A write by a command whose capability level is `CLAIMED`, `DERIVED` or `BROKEN` prints a
|
|
32
|
+
one-line notice naming that level (`LOGICXKIT_NO_NOTICE=1` silences it).
|
|
33
|
+
- `logic transplant` refuses a clone that overruns the channel's slot key range or crosses a
|
|
34
|
+
record class version; `--force` overrides.
|
|
35
|
+
- `logic build` and `logic pst` refuse to write into Logic's own library unless `--install` is
|
|
36
|
+
passed.
|
|
37
|
+
- Strip specs take `output_root`, which moves where built strips land without moving where
|
|
38
|
+
their sources are read from.
|
|
39
|
+
- CI on a macOS runner; `v*` tags build an sdist + wheel, check the wheel carries the Swift
|
|
40
|
+
helpers and no reference material, and publish to PyPI through a trusted publisher gated on
|
|
41
|
+
reviewer approval.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a
|
|
6
|
+
harassment-free experience for everyone, regardless of age, body size, visible or invisible
|
|
7
|
+
disability, ethnicity, sex characteristics, gender identity and expression, level of experience,
|
|
8
|
+
education, socio-economic status, nationality, personal appearance, race, caste, colour,
|
|
9
|
+
religion, or sexual identity and orientation.
|
|
10
|
+
|
|
11
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive,
|
|
12
|
+
and healthy community.
|
|
13
|
+
|
|
14
|
+
## Our standards
|
|
15
|
+
|
|
16
|
+
Examples of behaviour that contributes to a positive environment:
|
|
17
|
+
|
|
18
|
+
- Demonstrating empathy and kindness toward other people
|
|
19
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
20
|
+
- Giving and gracefully accepting constructive feedback
|
|
21
|
+
- Accepting responsibility and apologising to those affected by our mistakes
|
|
22
|
+
- Focusing on what is best for the overall community
|
|
23
|
+
|
|
24
|
+
Examples of unacceptable behaviour:
|
|
25
|
+
|
|
26
|
+
- The use of sexualised language or imagery, and sexual attention or advances of any kind
|
|
27
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
28
|
+
- Public or private harassment
|
|
29
|
+
- Publishing others' private information, such as a physical or email address, without their
|
|
30
|
+
explicit permission
|
|
31
|
+
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
32
|
+
|
|
33
|
+
## Enforcement
|
|
34
|
+
|
|
35
|
+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported to the
|
|
36
|
+
project maintainers by opening a report through
|
|
37
|
+
[GitHub's private reporting](https://github.com/phierceweb/logicxkit/security/advisories/new)
|
|
38
|
+
or by contacting the maintainer through their GitHub profile. All complaints will be reviewed
|
|
39
|
+
and investigated promptly and fairly. Maintainers are obligated to respect the privacy and
|
|
40
|
+
security of the reporter of any incident.
|
|
41
|
+
|
|
42
|
+
## Attribution
|
|
43
|
+
|
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org),
|
|
45
|
+
version 2.1, available at
|
|
46
|
+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
## Requirements
|
|
4
|
+
|
|
5
|
+
macOS with Logic Pro, Python 3.12, and a `swift` toolchain. There is no Linux path. CI runs
|
|
6
|
+
lint and the suite on a macOS runner, but a runner has no reference corpus and no console, so
|
|
7
|
+
the goldens and `tests/rig` skip there and a green check proves the synthetic layer only.
|
|
8
|
+
`bin/run lint && bin/run pytest` on your own machine, before you open a pull request, is still
|
|
9
|
+
the gate — and if you have the corpus staged, say so in the PR, because that run is worth more
|
|
10
|
+
than the runner's.
|
|
11
|
+
|
|
12
|
+
## Setup
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
bin/run setup
|
|
16
|
+
bin/run pytest
|
|
17
|
+
bin/run lint
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`bin/run setup rig` additionally installs `x32scene`, which only `tests/rig` needs.
|
|
21
|
+
|
|
22
|
+
## What a green suite does and does not prove
|
|
23
|
+
|
|
24
|
+
Tests that read real Logic files skip when those files are absent, and they are absent in every
|
|
25
|
+
clone — the reference corpus is not distributed. Every run ends with a
|
|
26
|
+
`goldens: N of M keys found` line; on a machine without the corpus it reads `0 of M` and the
|
|
27
|
+
suite is still green. Set `LOGICXKIT_REQUIRE_GOLDENS=1` to make a missing golden fail instead.
|
|
28
|
+
See `resources/README.md` and `resources/data/README.md` for what the corpus is and how to
|
|
29
|
+
build your own.
|
|
30
|
+
|
|
31
|
+
## Evidence
|
|
32
|
+
|
|
33
|
+
A claim about byte layout needs a real file behind it. `None` beats a guess, and a command's
|
|
34
|
+
confidence level in `logic/_capabilities.py` may only be raised by evidence the level names:
|
|
35
|
+
|
|
36
|
+
- **CONFIRMED** — the output was opened in Logic and the change was there.
|
|
37
|
+
- **DERIVED** — reasoned from reads and diffs; never opened in Logic.
|
|
38
|
+
- **CLAIMED** — was confirmed once, but the artifact is gone or the code has changed since.
|
|
39
|
+
|
|
40
|
+
A file that opens in Logic can still be wrong. The way to check a writer is Save As in Logic and
|
|
41
|
+
diff the record list against the input.
|
|
42
|
+
|
|
43
|
+
## House rules
|
|
44
|
+
|
|
45
|
+
- File size: 300 lines is the target, 500 is the hard limit enforced by `bin/run lint`. There is
|
|
46
|
+
no baseline file — split the file instead.
|
|
47
|
+
- One concern per file. `src/logicxkit/au` must never import `src/logicxkit/logic`; both read
|
|
48
|
+
Logic containers through `src/logicxkit/logicx`. `tests/test_package_layering.py` enforces it.
|
|
49
|
+
- `X | None` types, src-layout, no `sys.path` hacks.
|
|
50
|
+
- Comments carry the non-obvious why, an invariant, or a trap — not what the code already says,
|
|
51
|
+
and not history.
|
|
52
|
+
- Tests travel with the change.
|
|
53
|
+
|
|
54
|
+
## Licensing of contributions
|
|
55
|
+
|
|
56
|
+
logicxkit is Apache-2.0. Under section 5 of that licence, anything you deliberately submit for
|
|
57
|
+
inclusion is contributed under the same terms. There is no separate CLA.
|
logicxkit-0.1.0/LICENSE
ADDED
|
@@ -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.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# distutils' sdist default globs `tests/test*.py`: top level only, and only names starting with
|
|
2
|
+
# `test`. conftest.py and the `_*.py` helpers it imports are left behind, so the tree cannot collect.
|
|
3
|
+
recursive-include tests *.py
|
|
4
|
+
# test_capabilities.py reads these two; without them the shipped suite fails rather than skips.
|
|
5
|
+
recursive-include docs *.md
|
|
6
|
+
recursive-include config *.json
|
|
7
|
+
include CHANGELOG.md CONTRIBUTING.md CODE_OF_CONDUCT.md .env.example
|
|
8
|
+
recursive-exclude * __pycache__
|
|
9
|
+
recursive-exclude * *.py[co]
|
logicxkit-0.1.0/NOTICE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
logicxkit
|
|
2
|
+
Copyright 2026 Mike Farr
|
|
3
|
+
|
|
4
|
+
This product includes software developed by Mike Farr.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
7
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
8
|
+
License at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
"Logic Pro", "Audio Units" and "Apple" are trademarks of Apple Inc. Other product
|
|
13
|
+
and plug-in names are the trademarks of their respective owners. This project is
|
|
14
|
+
not affiliated with, endorsed by, or sponsored by Apple Inc. or any plug-in vendor;
|
|
15
|
+
their names appear only to identify the file formats and products this software
|
|
16
|
+
reads.
|