$ git clone https://github.com/inmusic-software/mpc-plugin-builder-sdk.git
$ cd mpc-plugin-builder-sdk/
~/workspace/mpc-plugin-builder-sdk$ ll
total 92
drwxr-xr-x 14
drwxr-xr-x 5
drwxr-xr-x 3
drwxr-xr-x 3
drwxr-xr-x 7
drwxr-xr-x 3
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
-rw-r--r-- 1
drwxr-xr-x 2
drwxr-xr-x 5
drwxr-xr-x 3
drwxr-xr-x 2
drwxr-xr-x 2
drwxr-xr-x 4
drwxr-xr-x 4
drwxr-xr-x 3
「README.md」を参照
2.サンプルがビルドされることを確認
$ python tools/build.py examples/StereoDelay
自分の環境では、下記 $ python3 tools/build.py examples/StereoDelay 色々エラーが出力されたが、
下記のエラーメッセージの内の 「* download zig from https://ziglang.org/download/ and put it on your PATH (or use --zig /zig)」部分が
自分の環境ではよさそうだったので、zigをインストール
エラーメッセージの一部
ここから~
ERROR:
pip install ziglang failed. How to get zig (any ONE of these): * pip install ziglang
then: build.py --zig (or set ZIG=)
* download zig from https://ziglang.org/download/ and put it on your PATH (or use --zig /zig) *
macOS: brew install zig
Linux: snap install zig --classic --beta
Windows: winget install zig.zig * or use --toolchain gcc (needs arm-linux-gnueabihf-g++ and aarch64-linux-gnu-g++) or --toolchain docker
~ここまで
~$ tar -xf zig-x86_64-linux-0.17.1.tar.xz
「.bashrc」に下記を追記。再起動
「export PATH="~/zig-x86_64-linux-0.17.1:$PATH"」
「--zig ~/zig-x86_64-linux-0.17.1/zig」のオプションを追加して、再度実行
$ python3 tools/build.py --zig ~/zig-x86_64-linux-0.17.1/zig examples/StereoDelay
Building Stereo Delay by MPC SDK Examples (/home/
toolchain: zig target: all release
Using zig 0.17.1 (from --zig)
[1/7] Native build (for host_sim and testing on this computer)
[native] compiling 1 source file -> build/native/stereo-delay.so
[native] ok (2.4 MB, 8.6s)
[2/7] Parameter dump (host_sim) -> build/params.json
building host_sim (first use) -> /home/
host_sim dump -> build/params.json
[3/7] arm32 build (MPC Live/X/One (32-bit))
[arm32] compiling 1 source file -> build/MPC SDK Examples - VST - Stereo Delay/VST/stereo-delay-arm32.so
[arm32] ok (187 KB, 6.5s)
[4/7] arm64 build (MPC Live II/One+/Key 61/X SE/3 (64-bit))
[arm64] compiling 1 source file -> build/MPC SDK Examples - VST - Stereo Delay/VST/stereo-delay-arm64.so
[arm64] ok (240 KB, 7.7s)
[5/7] Assemble output folder: build/MPC SDK Examples - VST - Stereo Delay/
copied plugin.json
gen_ui.py (ui.json) -> Plugin Skins/
[6/7] version.xml
version 1.0.0.0, uiversion 0.1.0.0
[7/7] Validate
Validating /home/
OK plugin.json: Stereo Delay by MPC SDK Examples (effect, uid MxSd)
OK folder name "MPC SDK Examples - VST - Stereo Delay"
OK file32: stereo-delay-arm32.so is a 32-bit ARM shared object
OK file32: needed libraries: libm.so.6, libc.so.6, ld-linux-armhf.so.3, libdl.so.2
OK file32: max GLIBC requirement 2.27
OK file32: exports VSTPluginMain
OK file64: stereo-delay-arm64.so is a 64-bit AArch64 shared object
OK file64: needed libraries: libm.so.6, libc.so.6, libpthread.so.0, libdl.so.2
OK file64: max GLIBC requirement 2.27
OK file64: exports VSTPluginMain
OK uid matches the binary (MxSd)
OK name matches the binary (Stereo Delay)
OK manufacturer matches the binary (MPC SDK Examples)
OK kind matches the binary (effect)
OK numInputs matches the binary (2)
OK numOutputs matches the binary (2)
OK TUI.json: all parameter handles are within 0..7
OK TUI.json: image fader_h_uni.png present
OK TUI.json: image knob_uni.png present
OK TUI.json: image toggle_off.png present
OK TUI.json: image toggle_on.png present
OK TUI.json: 1 tab
OK Q-Links.json: 1 tab map, all values in range
OK version.xml uiversion 0.1.0.0
0 errors, 0 warnings
========================================================================
Build finished: MPC SDK Examples - VST - Stereo Delay
Output folder: /home/
plugin.json 406 B
version.xml 152 B
Plugin Skins/Q-Links.json 1 KB
Plugin Skins/TUI.json 56 KB
Plugin Skins/fader_h_uni.png 98 KB
Plugin Skins/knob_uni.png 80 KB
Plugin Skins/toggle_off.png 1 KB
Plugin Skins/toggle_on.png 1 KB
VST/stereo-delay-arm32.so 187 KB
VST/stereo-delay-arm64.so 240 KB
Native test build: /home/
Next:
* Make a zip for sharing: python tools/package.py examples/StereoDelay
* Or copy the output folder into a folder named "VST2 Plugins" on your MPC's drive (see INSTALL.txt in the zip).
ここから、MPC Live II本体で動作確認する手順が上手く行かない。(よくわかんない)
# 3. Try an example on the MPC
1. Copy that folder into a folder called `VST2 Plugins` at the root of your USB stick or SD card (create it if it is not there).
2. Put the drive in the MPC.
3. Enable external plugins on the device: Preferences → Enhancements (Beta) → turn on **Enable Enhancements** and **External Plugin Support**.
This switch only exists on MPC OS 3.10.1 and later; update the MPC first if you do not see it.
Read the warning: third-party plugins can crash the MPC; save often.
4. Add an insert effect to a track; the browser lists **External Plugins → Stereo Delay**.
Play something. Press the function keys to switch pages; touch a control to grab the knobs.

