![Gordius TinyBox User Manual Download Page 22](http://html1.mh-extra.com/html/gordius/tinybox/tinybox_user-manual_2244906022.webp)
21
Programming the TinyBox
To specify the content of a TinyBox preset, you use a programming language which contains a limited
number of easy commands like
SendMidi,SendSysEx
, etc. While creating your setup, the editor
constantly gives you hints about the commands which are available in the current context. At the start
of a new line just type ‘?’ to get a list of possible commands.
A TinyBox setup can be kept very straightforward, just specifying one or a few MIDI commands for
each preset in your setup. However, the TinyBox programming language allows you to take it a step
further if you wish, and for instance make use of variables, an essential concept in any programming
language. The content of a variable can be set or modified in one preset, then in another preset you
can use conditional "if... then... else..." statements to act upon the variable contents. This way you can
create a very dynamic and smart setup.
As a TinyBox setup can be described in plain text format, it is very easy to save, share or backup your
setups as text files. Also editing a setup is very simple: any text editor will do. However, we do provide
a very intuitive setup editor for the TinyBox, which can do more than a regular text editor: it has
“intelligent code completion” which assists you by suggesting the possible choices at any place in your
setup:
Editor with code completion
It also has some clever auto-formatting which results in a spreadsheet like setup overview which stays
nicely aligned as you type :