Ableton / maxdevtools

MIT License
271 stars 14 forks source link

maxdiff: better handle stored parameter info #27

Closed MattijsKneppers closed 6 months ago

MattijsKneppers commented 6 months ago

Shows object names instead of object ids where possible.

What was previously shown as obj-10::obj-2 ['In a subpatcher', 'live.dial', 0] is now shown as [p MySubpatcher]/[live.dial]: ['In a subpatcher', 'live.dial', 0]. Unless the parameter lives in an abstraction, then you see [AbstractionWithParameter]/[obj-1]: ['MyParameter', 'MyParameter', 0]

Also shows all parameters stored in the root patcher instead of just the overridden ones.

Also makes it easier to update the baseline files by adding a new script test_rewrite_baselines.py. Previously this needed to be done manually.