Layouts


Description

Layouts allows you to generate supercollider interfaces from XML.

Install

After downloading, place the "Layouts" folder in the "SCClassLibrary" directory. Start Supercollider, go to the "Lang" drop down and click "Compile Library".

Examples

Using the example layout scene.sc.
//create onload function
onLoadFunc = {
    arg thisLayout;
    
    //show window - this is the id attribute of the window tag in scene.sc, ie. id="keyboard_operator_window"
    thisLayout.getLayoutItem("keyboard_operator_window").front;
}

//load scene
Layouts.load(”scene.sc”, onLoadFunction);

Download

Version 0.0.1

Files

Layouts.sc Layout.sc