Skip to content

About

Native Apple Silicon macOS editor for the WORLDE EasyControl.9 MIDI controller (CoreMIDI, Swift 6, SwiftUI)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Easy Control Edit — Native macOS Studio for WORLDE EasyControl.9

Platform Swift 6 CI License: MIT

Easy Control Edit is a modern, native Apple Silicon (arm64) macOS hardware configuration studio for the WORLDE EasyControl.9 MIDI controller, built with Swift 6, SwiftUI, CoreMIDI, and IOKit.

It replaces the broken 2020 EASY CONTROL EDIT.app (x86_64) utility — which fails to connect on modern macOS due to an exclusive raw USB bulk-pipe lock conflict with MIDIServer — and fixes a firmware-editor bug in the original manufacturer app that wiped Button 1–9 Toggle states on read.

sequenceDiagram
    participant App as Easy Control Edit (CoreMIDI)
    participant HW as WORLDE EasyControl.9
    App->>HW: Handshake: 9B 01 02, 9B 7E 7D
    HW-->>App: ACK: 9B 01 02, Model ID: 9B 01 32
    App->>HW: Read Scenes: 9B 01 04 → 1,012× (9B 01 06) → 9B 01 05
    HW-->>App: Nibble Pairs: 90 <hi_nibble> <lo_nibble> (4 × 222-Byte Scenes)
    App->>HW: Write Scenes: 9B 01 03, 9B 00 02 → 2 × 512-Byte Nibble Pages
    HW-->>App: EEPROM Page Commit ACKs
Loading

Download & Installation

Option 1: Install via Homebrew

brew install --cask appsscriptdev/tap/easy-control-edit

Option 2: Download Pre-Built macOS App

  1. Download Easy-Control-Edit-macOS-v2.0.0.zip from the Latest Release.
  2. Unzip and drag Easy Control Edit.app to /Applications.
  3. First Launch Note: Because this open-source app uses ad-hoc code signing rather than a paid Apple Developer ID, right-click Easy Control Edit.app → Open on first launch (or clear quarantine in Terminal):
    xattr -cr "/Applications/Easy Control Edit.app"

Option 3: Build from Source

Requires macOS 14.0+ and Xcode 16+ / Swift 6.0+:

git clone https://github.com/appsscriptdev/worlde-easycontrol-edit.git
cd worlde-easycontrol-edit
./Scripts/bundle_easy_control_app.sh
open "Easy Control Edit.app"

Run the automated binary codec & protocol unit tests:

swift test

Why the Original 2020 Manufacturer App Fails on Modern macOS

Disassembling the 2020 EASY CONTROL EDIT.app (Mach-O 64-bit x86_64, bundle ID com.zyjdyx.Arturia) uncovered three root causes:

  1. Exclusive USB Interface Lock Conflict (kIOReturnExclusiveAccess):
    • The 2020 app did not link CoreMIDI. Instead, +[InterfaceAction CreateInterface] used IOKit (IOUSBDeviceInterface / IOUSBInterfaceInterface) to locate USB interface #1 (standard USB Audio/MIDI Streaming Class 1, Subclass 3) and called USBInterfaceOpen to perform raw bulk pipe I/O (WritePipe 2 / ReadPipe 1).
    • Because the WORLDE EasyControl.9 is a class-compliant USB-MIDI device, macOS's MIDIServer (AppleUSBMIDI) automatically claims USB interface #1 as soon as the controller is plugged in. As a result, USBInterfaceOpen fails immediately and the 2020 app aborts with "Could not connect to midi device".
  2. Discovery — The "Raw USB" Protocol Is Standard MIDI Note-On Traffic:
    • Every 4-byte packet written to Bulk Pipe 2 and read from Bulk Pipe 1 in ControlSceneAction begins with USB-MIDI Event Header 0x09 (Cable 0, Code Index Number 0x9 = MIDI Note-On).
    • Stripping transport byte 0x09 reveals that the entire WORLDE EEPROM protocol consists of standard 3-byte MIDI Note-On messages (9B xx yy on Channel 12 and 90 hi lo on Channel 1). Communicating via native CoreMIDI cooperates seamlessly with MIDIServer (even while your DAW is running!) with zero driver conflicts or Rosetta translation.
  3. Original 2020 App Bug Fixed (KeyBehavior vs. PadBehavior):
    • In the 2020 binary, +[ControlSceneAction GetSceneFromDevice] stored Channel Buttons 1–9 Toggle/Momentary bytes (0x92..0x9A) into ButtonValue.KeyBehavior, whereas ControlViewController and +[ControlSceneAction sceneToBytes:] read ButtonValue.PadBehavior. Reading from the hardware in the 2020 app silently wiped Toggle settings back to Momentary on Buttons 1–9. Easy Control Edit maps 0x92..0x9A consistently on both read and write.

Deconstructed WORLDE EasyControl.9 Wire Protocol

All commands are standard 3-byte MIDI Note-On messages sent with 4 ms pacing:

A. Handshake (HandshakeOperation)

  1. Host sends 9B 01 02, then 9B 7E 7D.
  2. Controller replies:
    • 9B 01 02 — Handshake ACK
    • 9B 01 32 — Model ID (0x32 = WORLDE EasyControl.9)
    • (Optional 3rd packet: 9B <fw_major> <fw_minor>)

B. Read All 4 Scenes (GetSceneFromDevice)

  1. Execute Handshake.
  2. Host sends 9B 01 04 (Start Read); controller replies with a 2-packet burst (9B 01 04 ACK + 9B 00 01 header), drained before reading byte 0.
  3. Loop 1,012 times (4 blocks × 253 [0xFD] bytes):
    • Host sends 9B 01 06 (Read Next Byte).
    • Controller replies 90 <hi_nibble> <lo_nibble> (or 9B <hi_nibble> <lo_nibble>), where hi_nibble <= 0x0F and lo_nibble <= 0x0F.
    • Reconstruct 8-bit EEPROM byte: ((hi_nibble & 0x0F) << 4) | (lo_nibble & 0x0F).
  4. Host sends 9B 01 05 (End Read).
  5. Decode 4 contiguous scenes × 222 (0xDE) bytes = 888 bytes (0x000..0x377).

C. Write All 4 Scenes (SendSceneToDevice:)

  1. Encode all 4 scenes into 888 (4 × 222) bytes and partition into 2 × 512-byte (0x200) pages (1,024 bytes total, padded from 888..<1024 with 0xFF).
  2. Execute Handshake.
  3. Host sends 9B 01 03 (Start Write), followed by 9B 00 02 (Page Count = 2), and waits for controller ACK.
  4. For each 512-byte page (Page 1 and Page 2):
    • Stream all 512 bytes as 90 <(byte >> 4) & 0x0F> <byte & 0x0F> with 4 ms inter-packet pacing.
    • Wait 1.0 s, receive EEPROM page-commit ACK packet from controller, and wait 1.0 s.

222-Byte (0xDE) Per-Scene EEPROM Memory Map

Byte Offset Size Control / Field Encoding
0x00 1 B Global MIDI Channel 0..15 (Ch 1..16)
0x01..0x0C 12 B Scene Name 12-byte ASCII, 0x00-padded (e.g. "SCENE 1")
0x0D..0x11 5 B Mod Button 1 (bottom-left) [AssignType, Behavior, CC/Note, OnVal, OffVal]
0x12..0x16 5 B Mod Button 2 (bottom-left) [AssignType, Behavior, CC/Note, OnVal, OffVal]
0x17..0x29 19 B Reserved firmware slots Unused prototype slots (preserved on round-trip)
0x2A..0x32 9 B Strip 1–9 MIDI Channel 0..15 = Ch 1..16, 16 = Global
0x33 1 B Reserved 10th strip channel Preserved
0x34..0x3C 9 B Knob 1–9 Enable 0 = Disable, 1 = Enable
0x3D..0x45 9 B Knob 1–9 CC Number 0..127 (Factory: 14..22)
0x46..0x4E 9 B Knob 1–9 Max Value 0..127 (UpperOrRightValue, Factory: 127)
0x4F..0x57 9 B Knob 1–9 Min Value 0..127 (LowerOrLeftValue, Factory: 0)
0x58..0x60 9 B Slider 1–9 Enable 0 = Disable, 1 = Enable
0x61 1 B Reserved Slider 10 Enable Preserved
0x62..0x6A 9 B Slider 1–9 CC Number 0..127 (Factory: 3..11)
0x6B 1 B Reserved Slider 10 CC Preserved
0x6C..0x74 9 B Slider 1–9 Max Value 0..127 (UpperOrRightValue, Factory: 127)
0x75 1 B Reserved Slider 10 Max Preserved
0x76..0x7E 9 B Slider 1–9 Min Value 0..127 (LowerOrLeftValue, Factory: 0)
0x7F 1 B Reserved Slider 10 Min Preserved
0x80..0x88 9 B Button 1–9 Assign Type 0 = No Assign, 1 = CC, 2 = Note
0x89..0x91 9 B Button 1–9 CC / Note # 0..127 (Factory: 23..31)
0x92..0x9A 9 B Button 1–9 Behavior 0 = Momentary, 1 = Toggle
0x9B..0xA3 9 B Button 1–9 On Value 0..127 (Factory: 127)
0xA4..0xAC 9 B Button 1–9 Off Value 0..127 (Factory: 0)
0xAD..0xBE 18 B Button 1–9 Upper / Lower 9 B Upper + 9 B Lower (0..127)
0xBF 1 B Transport MIDI Channel 0..15 = Ch 1..16, 16 = Global
0xC0..0xDD 30 B Transport (REW, PLAY, FF, LOOP, STOP, REC) 6 × 5 B: [AssignType, CC, Behavior, MMCDevID, MMCCmd]

Companion Toolkit

Looking to inspect raw SysEx, probe pad LEDs, or virtually remap any MIDI controller on macOS? Check out MIDI Auditor.

License

Released under the MIT License.

About

Native Apple Silicon macOS editor for the WORLDE EasyControl.9 MIDI controller (CoreMIDI, Swift 6, SwiftUI)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages