Documentation Wiki rss-feed

Talkers and Controllers

Video Part One Includes:

  • What talkers are.
  • Adding a new keygroup output and connecting it to a new talker.

Video Part Two Includes:

  • Converting belcanto phrases for use with talkers.
  • Adding phrases to talker agents.

Video Part Three

  • Running scripts using a talker.

EigenD version 1.2.11, Alpha setup 1.

Transcript:

Talkers are the agents which add control keys to the eigenharp keyboard, and when these keys are pressed the talker will 'say' a belcanto phrase. Any phrase that you can type in using the eigencommander or with the language keys can be added to a talker.

One talker agent can contain several control keys, you don't need a new talker for every new key.

In the seminar, Dave creates a new kgroup output on kgroup 99, which is later connected to a talker. This has been covered in more detail in the previous seminar Belcanto part 2

error 21 21 5
Error 9 9 hey
125 12 22 111
output 2 0 create

This creates a new output, inside which our talker will reside. To see the new talker you will need to select the new output using the main mode key and the new red light on key 20. (This assumes you are using Alpha setup 1. You may need to use a number other than 20 since the other setups use it already.)

Creating a talker agent is done by:

4322 111
talker create
66 23 4322 15 17 13 123 74
it to talker 5 7 3 name ify

573 is an unused talker number.

Names don't have to contain numbers, and can use other words from the belcanto lexicon. In the seminar, Dave names the talker 'hungarian talker'. Hungarian is a word in the lexicon since it is the name of a scale, but here it is just serving as part of the name of the talker. This means it is possible to give very confusing names to agents in a setup, so a good choice of name is important to make setups easier to navigate and for others to understand.

The renaming is done by:

4322 15 17 13 23 4137 4322 123 74
talker 5 7 3 to hungarian talker name ify

We then connect the talker to the keygroup output we created earlier, which is done as follows:

345 5
plumber hey
error 21 21 125 12 22 23 4137 4322 61
Error 9 9 output 2 0 to hungarian talker connect

Adding commands to a talker involves modifying the belcanto phrase we want to assign, so that EigenD knows to add it to the talker and not to run it directly now. This is done by adding 'when X' before the verb at the end of the phrase, where X is a key number within the talker. Belcanto verbs are words such as 'connect', 'set', 'start' etc, and are usually at the end of a phrase. The example uses the metronome agent and the verbs 'start' 'stop' and 'toggle start'. It goes as follows:

First we make an empty conversation with no agents:

68 1181
empty join

Then we need to add both the talker and the agent to which it will 'say' its phrases into the conversation:

52 1131
metronome listen
4137 4322 1131
hungarian talker listen

The modified phrase using 'when' is:

32 11 56
when 1 start

This makes a new orange key on the keyboard which will start the metronome when you press it.

Dave adds some more keys:

32 12 57
when 2 stop
32 13 441 56
when 3 toggle start

168 23 11 17 22 32 12 14 67
tempo to 1 7 0 when 2 4 set
168 23 18 22 32 12 15 67
tempo to 8 0 when 2 5 set

And then adds more that talk instead to keygroup 1 and change the course offsets:

68 1181
empty join
4137 4322 1131
hungarian talker listen
error 11 1131
Error 1 listen
1471 12 1436 23 12 14 1241 32 14 17 67
course 2 offset to 2 4 interval when 4 7 set
1471 12 1436 23 11 1241 32 14 18 67
course 2 offset to 1 interval when 4 8 set

Running scripts.

Talkers can be used to trigger scripts written in belcanto. The script must be written in plain text, and saved to username/Library/Eigenlabs/Scripts/

The script from the example turns on multiple drum loops at the same time, and is as follows:

description
    test script

name
    test script

script
    drummer listen
    1 play
    2 play
    3 play
    4 play
    5 play
    6 play

To assign this script to a talker key:

68 1181
empty join
4137 4322 1131
hungarian talker listen
8724 1131
interpreter listen
5115 8817 32 11 22 8842
test script when 1 0 execute

Other talker commands

Browsing the contents of a talker

8777 5
eigenbrowser hey
4137 4322 1513 413
hungarian talker phrase browse

Clearing phrases

4137 4322 5
hungarian talker hey
11 1823
1 cancel

or to clear all phrases:

4137 4322 5
hungarian talker hey
63 1513 1823
all phrase cancel