In most cases, the clipboard is shared between live, edit and the 2 preset modes.
Key
Action
<left> / ctrl-b
move cursor left
<right> / ctrl-f
move cursor right
<home> / ctrl-a
move to beginning of line
<end> / ctrl-e
move to end of line
<backspace> / ctrl-h
backwards delete one character
<delete> / ctrl-d
forwards delete one character
shift-<backspace> / ctrl-u
delete from cursor to beginning
shift-<delete> / ctrl-e
delete from cursor to end
alt-<backspace> / ctrl-w
delete from cursor to beginning of word
ctrl-x / alt-x
cut to clipboard
ctrl-c / alt-c
copy to clipboard
ctrl-v / alt-v
paste to clipboard
Live mode
Key
Action
<down> / C-n
history next
<up> / C-p
history previous
<enter>
execute command
[ / ]
switch to edit mode
Edit mode
Key
Action
<down> / C-n
line down
<up> / C-p
line up
[
previous script
]
next script
<enter>
enter command
shift-<enter>
insert command
Pattern mode
The pattern mode clipboard is independent of text and code clipboard.
Key
Action
<down>
move down
alt-<down>
move a page down
<up>
move up
alt-<up>
move a page up
<left>
move left
alt-<left>
move to the very left
<right>
move right
alt-<right>
move to the very right
[
decrement by 1
]
increment by 1
<backspace>
delete a digit
shift-<backspace>
delete an entry, shift numbers up
<enter>
move down (increase length only if on the entry immediately after the current length)
shift-<enter>
duplicate entry and shift downwards (increase length as <enter>)
alt-x
cut value (n.b. ctrl-x not supported)
alt-c
copy value (n.b. ctrl-c not supported)
alt-v
paste value (n.b. ctrl-v not supported)
shift-alt-v
insert value
shift-l
set length to current position
alt-l
go to current length entry
shift-s
set start to current position
alt-s
go to start entry
shift-e
set end to current position
alt-e
go to end entry
-
negate value
<space>
toggle non-zero to zero, and zero to 1
0 to 9
numeric entry
Preset read mode
Key
Action
<down> / C-n
line down
<up> / C-p
line up
<left> / [
preset down
<right> / ]
preset up
<enter>
load preset
Preset write mode
Key
Action
<down> / C-n
line down
<up> / C-p
line up
[
preset down
]
preset up
<enter>
enter text
alt-<enter>
save preset
Help mode
Key
Action
<down> / C-n
line down
<up> / C-p
line up
<left> / [
previous page
<right> / ]
next page
OPs and MODs
Variables
OP
OP (set)
(aliases)
Description
A
A x
get / set the variable A, default value 1
B
B x
get / set the variable B, default value 2
C
C x
get / set the variable C, default value 3
D
D x
get / set the variable D, default value 4
DRUNK
DRUNK x
changes by -1, 0, or 1 upon each read saving its state, setting will give it a new value for the next read
DRUNK.MIN
DRUNK.MIN x
set the lower bound for DRUNK
FLIP
FLIP x
returns inverted state (0 or 1) on each read (also settable)
Maths
OP
OP (set)
(aliases)
Description
ADD x y
+
add x and y together
Extended OP documentation
ADD
ADD x y
alias: +
Add 2 numbers together
Example 1:
ADD 2 3
= 5
Example 2:
+ 2 5
= 7
DRUNK
DRUNK / DRUNK x
Changes by -1, 0, or 1 upon each read, saving its state. Setting DRUNK will give it a new value for the next read, and drunkedness will continue on from there with subsequent reads.
BREAKING: remove II op. Ops that required it will now work with out it. (e.g. II MP.PRESET 1 will become just MP.PRESET 1)
BREAKING: merge the MUTE and UNMUTE ops. Now MUTE x will return the mute status for trigger x (0 is unmuted, 1 is muted), and MUTE x y will set the mute for trigger x (y = 0 to unmute, y = 1 to mute)
NEW: sub commands, use a ; separator to run multiple commands on a single line, e.g. X 1; Y 2
NEW: multiple commands on each line separated by ':'
NEW: aliases: + for ADD, - for SUB, * for MUL, / for DIV, % for MOD, << for LSH, >> for RSH, == for EQ, != for NE, < for LT, > for GT, <= for LTE, >= for GTE, ! for EZ, && for AND, || for OR, PRM for PARAM, TR.P for TR.PULSE
NEW: new ops: LTE (less than or equal), and GTE (greater than or equal)
NEW: new pattern ops: PN.L, PN.WRAP, PN.START, PN.END, PN.I, PN.HERE, PN.NEXT, PN.PREV, PN.INS, PN.RM, PN.PUSH and PN.POP
NEW: USB disk loading and saving works at any time
IMP: new Ragel parser backend
IMP: script recursion enhanced, maximum recursion depth is 8, and self recursion is allowed
IMP: removed the need to prefix : and ; with a space, e.g. IF X : TR.PULSE 1 becomes IF X: TR.PULSE
FIX: divide by zero errors now explicitly return a 0 (e.g. DIV 5 0 now returns 0 instead of -1), previously the behaviour was undefined and would crash the simulator
FIX: numerous crashing bugs with text entry
FIX: i2c bus crashes under high M times with external triggers
v1.4.1
NEW: added Ansible remote commands LV.CV and CY.CV
NEW: Added TELEX Modules Support for the TXi and the TXo
NEW: 75 New Operators Across the Two Modules
NEW: Supports all basic Teletype functions (add TI and TO to the commands you already know)
NEW: Extended functionality allows for additional capabilities for existing functions
NEW: Experimental input operators add capabilities such as input range mapping and quantization