ref: a9a2128f0d991dd09e9d8c6dc08f05ee700727ca orca-toy/README.md -rw-r--r-- 3.2 KiB
a9a2128fneauoire Extended grid size 4 months ago


Orca is an esoteric programming language, written in Uxntal.

In Orca, every letter of the alphabet is an operation, where lowercase letters operate on bang, uppercase letters operate each frame.


You must have the Uxn assembler and emulator.

uxnasm orca.tal orca.rom && uxnemu orca.rom

If do not wish to assemble it yourself, you can download orca.rom.


The : operator is used to send note values to other applications, to convert the signal to midi, use the shim.

uxnemu orca.rom | shim


To display the list of operators inside of Orca, use CmdOrCtrl+G.

  • A add(a b): Outputs sum of inputs.
  • B subtract(a b): Outputs difference of inputs.
  • C clock(rate mod): Outputs modulo of frame.
  • D delay(rate mod): Bangs on modulo of frame.
  • E east: Moves eastward, or bangs.
  • F if(a b): Bangs if inputs are equal.
  • G generator(x y len): Writes operands with offset.
  • H hold: Holds southward operand.
  • I increment(step mod): Increments southward operand.
  • J jumper(val): Outputs northward operand.
  • K konkat(len): Reads multiple variables.
  • L lesser(a b): Outputs smallest of inputs.
  • M multiply(a b): Outputs product of inputs.
  • N north: Moves Northward, or bangs.
  • O read(x y read): Reads operand with offset.
  • P push(len key val): Writes eastward operand.
  • Q query(x y len): Reads operands with offset.
  • R random(min max): Outputs random value.
  • S south: Moves southward, or bangs.
  • T track(key len val): Reads eastward operand.
  • U uclid(step max): Bangs on Euclidean rhythm.
  • V variable(write read): Reads and writes variable.
  • W west: Moves westward, or bangs.
  • X write(x y val): Writes operand with offset.
  • Y yumper(val): Outputs westward operand.
  • Z lerp(rate target): Transitions operand to input.
  • * bang: Bangs neighboring operands.
  • # comment: Halts a line.


  • = synth(channel octave note): Plays a synth note.
  • : midi(channel octave note vel len): Sends a midi note.
  • ; note(octave note): Sends a single note.
  • / byte(hb lb): Sends a single byte.
  • $ self(path): Inject file in grid.

Orca listens to stdin events and inputs the byte values as keyboard inputs. The cursor can also be moved with special bytes:

  • #11 up
  • #12 down
  • #13 left
  • #14 right



  • mouse1 select cell


  • arrow move
  • shift+arrow scale selection
  • ctrl+arrow drag selection


  • ctrl+n new
  • ctrl+r rename
  • ctrl+o open
  • ctrl+s save
  • ctrl+c copy
  • ctrl+v paste
  • ctrl+x cut
  • ctrl+h toggle guide
  • ctrl+i toggle insert
  • ctrl+a select all


  • space toggle play
  • backspace erase
  • escape deselect


For more details, see the complete operation manual.