Skip to content

Work & Overwork v0.9.1 — the chain editor works on stock schwung again

Choose a tag to compare

@timncox timncox released this 07 Sep 00:22
· 19 commits to main since this release

The bug

On the Move, opening Work in a Signal Chain slot showed schwung's generic parameter list instead of Work's own editor — so the machines had no controls. Reported by kortiss; the audio was always fine, because the DSP was never the problem.

ui_chain.js was not loading at all. enterComponentEdit() tries getComponentHierarchy() first and only falls through to loadModuleUi() when it comes back empty, so answering ui_hierarchy is a claim on the screen rather than a description of the module.

v0.9.0 served that key behind "remote_only": true, which releases the device editor — but that flag exists only in a fork of schwung. On stock schwung it is an unknown field, so the divert happened anyway and the chain slot had no machine controls from v0.9.0 onward.

The fix

The engine no longer answers ui_hierarchy. chain_params stays — it diverts nothing.

Verified on hardware against stock upstream schwung v1.2.0: the editor opens onto Work's own UI (T1 MACHINES, page 1/8, SRC / FX 1 / FX 2, MIX / LVL / PAN).

Also fixed

Selecting a machine left the previous machine's eight values on screen under the new machine's labels. The clean-up for that existed but had been unreachable behind its own branch's return since the FX pages became stages.

Known cost

A Master FX position now opens the module-swap list rather than a parameter menu — as it did from v0.5.3 through v0.8.x. The engine cannot tell a master-bus read from a chain-slot read, so the two cannot be served differently. The chain slot is the surface that was reported broken, and it wins.

If you installed v0.9.0, update — the chain editor has been unusable that whole time. Sorry about that.