Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Install Unity. Personal edition is fine for desktop usage.
Start a new Unity project.
Import videolab package.
If you want the very latest version, clone the repo and drag drop everything from /Assets into your project. Note: you need the .meta files too, make sure they are copied.
Wiring your first patch
Add a Patch object to your scene - right-click in the Hierarchy and select Klak > Patch.
Click Open Patcher in the Patch component Inspector. This opens the Patcher window, dock it somewhere the suits your editor setup.
Right click inside the Patcher window, browse the Create menu for all the nodes that make up Klak. Nodes are patched together by dragging wires from inlets to outlets in the Patcher window. You need to enter Play mode to see your patch run.
Connect some MIDI-enabled device to your computer and make sure it shows up in the Midi Jack window (Window > MIDI Jack). Experiment with the MIDI input and output Klak nodes.
Organising your patch
Be sure to name the nodes you add, otherwise your patch will quickly become impossible to read.
Also break complex patches up into multiple smaller patches. A super-patch can be used to enable and disable sub-patches using the Active Status Out node.
Klak node multi-editing
While multi-editing is not supported by the Patcher GUI there is a workaround. All nodes are also listed under the Patch object in the Hierarchy panel and selecting them there allows you to edit as many as you want.