This shows a simple GUI for a given TreeSnapshot. The tree can be periodically updated. SynthSnapshot views are interactive, and can be used to free synths, change controls, and dump debug traces.
TreeSnapshotView is a Singleton, so global instances can be referenced using the constructor: TreeSnapshotView().front; TreeSnapshotView.close();
See the Singleton help file for more details.
It will work without these installed, but layout and affordances may be incorrect.
The top-level View object (may be nil if it has not been constructed yet)
Bring TreeSnapshotView to the front. Construct a view if it has not yet been created.
Turn on/off automatic updating of the view.
up |
Boolean, to turn autoupdate on or off. |
server |
Create a defalt auto-updating TreeSnapshotView for the default server:
TreeSnapshotView's will auto-update synths and groups. Note that the controls of synths can be edited . Clicking on a Group header will hide/show children of that group.