Upload SYNC.md
Browse files
SYNC.md
CHANGED
|
@@ -8,9 +8,11 @@
|
|
| 8 |
**Your ENTIRE job is these commands:**
|
| 9 |
```bash
|
| 10 |
cd ~/pluginbridge && git pull
|
| 11 |
-
cd build && cmake --build . --config Release 2>&1 | tail -30
|
| 12 |
```
|
| 13 |
|
|
|
|
|
|
|
| 14 |
**If build succeeds:** Reply "β
build ok" β nothing else.
|
| 15 |
|
| 16 |
**If build fails:** Reply with ONLY the first 3 errors:
|
|
@@ -24,35 +26,37 @@ cd build && cmake --build . --config Release 2>&1 | tail -30
|
|
| 24 |
- Write code
|
| 25 |
- Add commentary
|
| 26 |
|
| 27 |
-
## Architecture (
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
-
|
| 49 |
-
-
|
| 50 |
-
-
|
| 51 |
-
-
|
| 52 |
-
-
|
|
|
|
|
|
|
| 53 |
|
| 54 |
## Status
|
| 55 |
-
**Last push:** 2026-05-16 β
|
| 56 |
-
**Build:** Needs
|
| 57 |
-
**Test:**
|
| 58 |
-
**
|
|
|
|
| 8 |
**Your ENTIRE job is these commands:**
|
| 9 |
```bash
|
| 10 |
cd ~/pluginbridge && git pull
|
| 11 |
+
cd build && cmake .. -DCMAKE_C_COMPILER=/usr/bin/cc -DCMAKE_CXX_COMPILER=/usr/bin/c++ && cmake --build . --config Release 2>&1 | tail -30
|
| 12 |
```
|
| 13 |
|
| 14 |
+
NOTE: Need full cmake reconfigure (not just build) because CMakeLists.txt changed.
|
| 15 |
+
|
| 16 |
**If build succeeds:** Reply "β
build ok" β nothing else.
|
| 17 |
|
| 18 |
**If build fails:** Reply with ONLY the first 3 errors:
|
|
|
|
| 26 |
- Write code
|
| 27 |
- Add commentary
|
| 28 |
|
| 29 |
+
## Architecture (v0.3 β COMPLETE REWRITE)
|
| 30 |
+
|
| 31 |
+
**In-process hosting (like SnappySnap).** Plugin loads INSIDE Ableton.
|
| 32 |
+
|
| 33 |
+
```
|
| 34 |
+
PluginBridge.vst3 (loaded in Ableton)
|
| 35 |
+
βββ Hosts the plugin IN-PROCESS (processBlock direct)
|
| 36 |
+
βββ Plugin GUI embedded inside PluginBridge's own editor
|
| 37 |
+
βββ MCP server on port 16620
|
| 38 |
+
βββ Blocklist (persistent, prevents known-crashy plugins from loading)
|
| 39 |
+
βββ PluginBridgeHelper (bundled in .vst3/Contents/Resources/)
|
| 40 |
+
βββ ONLY used for test-loading β spawned briefly, quits immediately
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
**User flow:**
|
| 44 |
+
1. Load PluginBridge in Ableton
|
| 45 |
+
2. Select plugin from dropdown (blocked ones greyed out)
|
| 46 |
+
3. Plugin loads β GUI appears inside PluginBridge's window
|
| 47 |
+
4. If load fails β added to blocklist β shows "not compatible" next time
|
| 48 |
+
|
| 49 |
+
**What was removed (v0.2 β v0.3):**
|
| 50 |
+
- β Shared memory audio routing
|
| 51 |
+
- β Semaphores
|
| 52 |
+
- β Unix socket IPC for audio
|
| 53 |
+
- β HelperConnection.h/.cpp
|
| 54 |
+
- β HelperIPC.h/.cpp
|
| 55 |
+
- β Floating GUI window from Helper process
|
| 56 |
+
- β All NSWindow/objc hacks
|
| 57 |
|
| 58 |
## Status
|
| 59 |
+
**Last push:** 2026-05-16 β Complete architecture rewrite to in-process hosting
|
| 60 |
+
**Build:** Needs cmake reconfigure + build
|
| 61 |
+
**Test:** Load in Ableton β select Pro-Q 4 β GUI should appear INSIDE PluginBridge's editor panel (same window as Ableton's plugin view)
|
| 62 |
+
**Known:** HelperIPC.cpp and HelperIPC.h still exist in repo but are no longer compiled. Can be deleted later.
|