Scripts

From Eigenzone

Jump to: navigation, search

As of EigenD 1.1.0-unstable 5 it's possible to write scripts with textual Belcanto commands that can be executed into your user setup.

This allows for any operation that is understand by the Belcanto system to be executed, even though there's no direct key binding on the instrument for it.

Instructions

Scripts can be selected in the EigenBrowser after they've been placed in the directory ~/Library/Eigenlabs/Scripts. You typically edit scripts in a plain text editor (like TextEdit or TextWrangler). Changes to this directory and the scripts within are picked up immediately by EigenD and allow for continuous experimentation.

Scripts are formatted as such:

description
    A description of the scripts
script
    the Belcanto commands
  • The first line has to be "description"
  • The second line explains what the purpose of the script is and has to be prefixed by at least one space or a tab character. The description can span multiple lines, but these then also have to be prefixed with at least one space or a tab character.
  • The third line has to be "script"
  • The fourth line starts the actual script, which can be as many lines as required. Each line again needs to be prefixed with at least one space or a tab character.

Scripting language

There is very little known about the scripting language and there's no official documentation yet. This section will be expanded as more is discovered.

Scripts library

  • Scaler 1 Pitchbend Off : the first scaler is the first sampler instrument, simply increase the first to affect another instrument. Instead of using 0 for the range, you can use any number to set the pitch bend to a certain number of semitones.