Documentation Wiki rss-feed

Alpha MIDI 1 From Scratch


These scripts are used to start from the Factory Blank setup and create a setup with one MIDI output as described in Alpha MIDI 1

The scripts are attached as a zip archive with two text files that need to be moved to your 'Scripts' directory. For more information on using Belcanto Scripts in the Factory Setups please see Belcanto Scripts. It also contains the file 'MIDI 1.els' which can be imported into Stage to create the tab with the controls.

To be able to run these scripts you need to first load the Blank Factory setup. Afterwards open both the EigenBrowser and EigenCommander and type the following in the command line of the commander: eigenbrowser , interpreter hey script browse

The EigenBrowser will now allow you to browse to the user scripts and execute them. It's very important to first execute 'Alpha MIDI 1 - part1', after which the Alpha instrument will be automatically detected by EigenD. When that is done, the system will be ready to run 'Alpha MIDI 1 - part2'.

Download the archive with the files here: link:Alpha MIDI 1 From Scratch.zip

Below is the contents of both scripts:

Alpha MIDI 1 - part1

description
    Creates an Alpha setup with one kgroup that just sends out MIDI
    Run this script first and wait for the green blinking light on the
    Alpha to disappear. After that run the second part from the other script.

script
    empty join

    # create the required agents
    alpha manager create
    kgroup create
    scaler create
    scale manager create
    midi converter create
    midi output create

Alpha MIDI 1 - part2

description
    Creates an Alpha setup with one kgroup that just sends out MIDI.

    This script should be ran after the first part is finished and the
    green blinking light on the Alpha is gone.

script
    empty join

    # now that the Alpha keyboard should be detected in the meantime
    # connect it up to the kgroup
    alpha keyboard 1 to kgroup 1 connect

    # set up the sole keygroup
    kgroup 1 listen

    output 1 create
    output 1 choose

    k 1 to k 24 as course 1 add
    k 25 to k 48 as course 2 add
    k 49 to k 72 as course 3 add
    k 73 to k 96 as course 4 add
    k 97 to k 120 as course 5 add
    k 121 to k 132 as course 6 add

    course 1 offset to 0 interval set
    course 2 offset to 4 interval set
    course 3 offset to 4 interval set
    course 4 offset to 4 interval set
    course 5 offset to 4 interval set
    course 6 offset to 24 interval set

    empty join

    # configure the scaler to play chromatic and
    # set the pitch bend range two semitones
    scaler 1 hey scale to chromatic set
    scaler 1 hey k bend range to 2 set

    # connect the agents together
    kgroup 1 output 1 to scaler 1 connect
    scaler 1 to midi converter 1 connect
    midi converter 1 to midi output 1 connect
    kgroup 1 output 1 roll output to scaler 1 k pitch bend input connect

    # connect other data streams to parameters for expression    
    kgroup 1 output 1 strip position output 1 to midi converter 1 parameter 1 connect
    midi converter 1 parameter 1 to strip position 1 name ify    
    kgroup 1 output 1 strip position output 2 to midi converter 1 parameter 2 connect
    midi converter 1 parameter 2 to strip position 2 name ify
    kgroup 1 output 1 breath output to midi converter 1 parameter 3 connect
    midi converter 1 parameter 3 to breath name ify
    scaler 1 pressure output to midi converter 1 parameter 5 connect
    midi converter 1 parameter 5 to key pressure name ify
    scaler 1 roll output to midi converter 1 parameter 6 connect
    midi converter 1 parameter 6 to key roll name ify
    scaler 1 yaw output to midi converter 1 parameter 7 connect
    midi converter 1 parameter 7 to key yaw name ify
    kgroup 1 output 1 pedal output 1 to midi converter 1 parameter 8 connect
    midi converter 1 parameter 8 to pedal 1 name ify
    kgroup 1 output 1 pedal output 2 to midi converter 1 parameter 9 connect
    midi converter 1 parameter 9 to pedal 2 name ify
    kgroup 1 output 1 absolute strip output 1 to midi converter 1 parameter 1 0 connect
    midi converter 1 parameter 1 0 to absolute strip 1 name ify
    kgroup 1 output 1 absolute strip output 2 to midi converter 1 parameter 1 1 connect
    midi converter 1 parameter 1 1 to absolute strip 2 name ify
    kgroup 1 output 1 pedal output 3 to midi converter 1 parameter 1 2 connect
    midi converter 1 parameter 1 2 to pedal 3 name ify
    kgroup 1 output 1 pedal output 4 to midi converter 1 parameter 1 3 connect
    midi converter 1 parameter 1 3 to pedal 4 name ify
    scaler 1 pressure output to midi converter 1 parameter 1 6 connect
    midi converter 1 parameter 1 6 to key position name ify

    midi converter 1 listen

    # reduce the MIDI data bandwidth to prevent external hosts to be overwhelmed
    minimum decimation to 10 set

    # set up some mappings in the routing matrix
    parameter 1 for midi 1 6 map
    parameter 2 for midi 1 7 map
    parameter 3 for midi 1 8 map
    parameter 5 for polyphonic aftertouch map
    parameter 7 for midi 1 map
    parameter 8 for midi 6 4 map

    # set the MIDI channel to 1
    midi channel to 1 set

    empty join

    # create a talker to calibrate the pedal bounds
    # it can then be connected up to widgets in Stage
    talker create
    it to pedal talker 1 name ify

    pedal talker 1 listen
    alpha keyboard 1 listen

    pedal 1 when 1 minimise
    pedal 2 when 2 minimise
    pedal 1 when 3 maximise
    pedal 2 when 4 maximise

    empty join

    # create a talker to change the scales
    # it can then be connected up to widgets in Stage
    talker create
    it to scale talker 1 name ify

    scaler 1 listen
    scale talker 1 listen
    interpreter listen

    scale to major when 1 set
    scale to harmonic minor when 2 set
    scale to melodic minor when 3 set
    scale to chromatic when 4 set
    scale to blues when 5 set
    scale to pentatonic major when 6 set
    scale to diminished when 7 set
    scale to whole tone when 8 set

    empty join