Each letter of the alphabet is an operation,
lowercase letters operate on bang, uppercase letters operate each frame.
Install & Run
You can download builds for OSX, Windows and Linux, or if you wish to build it yourself, follow these steps:
git clone https://github.com/hundredrabbits/Orca.git cd Orca/desktop/ npm install npm start
Aadd(a b): Outputs sum of inputs.
Bbounce(rate mod): Outputs values between inputs.
Cclock(rate mod): Outputs modulo of frame.
Ddelay(rate mod): Bangs on modulo of frame.
Eeast: Moves eastward, or bangs.
Fif(a b): Bangs if inputs are equal.
Ggenerator(x y len): Writes operands with offset.
Hhalt: Halts southward operand.
Iincrement(step mod): Increments southward operand.
Jjumper(val): Outputs northward operand.
Kkonkat(len): Reads multiple variables.
Lloop(step len val): Moves eastward operands.
Mmultiply(a b): Outputs product of inputs.
Nnorth: Moves Northward, or bangs.
Oread(x y read): Reads operand with offset.
Ppush(len key val): Writes eastward operand.
Qquery(x y len): Reads operands with offset.
Rrandom(min max): Outputs random value.
Ssouth: Moves southward, or bangs.
Ttrack(key len val): Reads eastward operand.
Uuclid(step max): Bangs on Euclidean rhythm.
Vvariable(write read): Reads and writes variable.
Wwest: Moves westward, or bangs.
Xwrite(x y val): Writes operand with offset.
Yjymper(val): Outputs westward operand.
Zlerp(rate target): Transitions operand to input.
*bang: Bangs neighboring operands.
#comment: Halts a line.
:midi(channel octave note velocity length): Sends a MIDI note.
%mono(channel octave note velocity length): Sends monophonic MIDI note.
!cc(channel knob value): Sends MIDI control change.
;udp: Sends UDP message.
=osc(path): Sends OSC message.
&mono: Receive MIDI note.
The MIDI operator
: takes up to 5 inputs('channel, 'octave, 'note, velocity, length).
:25C, is a C note, on the 5th octave, through the 3rd MIDI channel,
:04c, is a C# note, on the 4th octave, through the 1st MIDI channel. Velocity is an optional value from
g(127/127). Note length is the number of frames during which a note remains active. See it in action with midi.orca.
The MONO operator
% takes up to 5 inputs('channel, 'octave, 'note, velocity, length).
This operator is very similar to the default Midi operator, but each new note will stop the previously playing note, would its length overlap with the new one. Making certain that only a single note is ever played at once, this is ideal for monophonic analog synthetisers that might struggle to dealing with chords and note overlaps.
The MIDI CC operator
! takes 3 inputs('channel, 'knob, 'value).
It sends a value between 0-127, where the value is calculated as a ratio of 36, over a maximum of 127. For example,
!008, is sending 28, or
(8/36)*127 through the first channel, to the control mapped with
id0. You can press enter, with the
! operator selected, to assign it to a controller.
The UDP operator
; locks each consecutive eastwardly ports. For example,
;hello, will send the string "hello", on bang, to the port
localhost. In console, use
terminal.io.udp.select() to select a custom UDP port.
The OSC operator
= locks each consecutive eastwardly ports. The first character is used for the path, the following characters are sent as integers using the base36 Table. In console, use
terminal.io.osc.select() to select a custom osc port.
=1abc will send
/1, via the port
=a123 will send
3, to the path
/a. You can use the listener.js to test OSC messages. See it in action with osc.orca or try it with SonicPi.
Some of Orca's features can be controlled externally via UDP though port
49160, or via its own command-line interface. To activate the command-line prompt, press
CmdOrCtrl+K. The prompt can also be used to inject patterns or graphics, local files are located in the same directory as the active
|UDP Input||OSC Input||UDP Output||OSC Output|
All commands have a shorthand equivalent to their first character, for example,
write can also be called using
runRuns current frame.
time:0Sets the frame value to
find:aVSends cursor to string
move:3;4Move cursor to position
bpm:140Sets bpm speed to
apm:160Animates bpm speed to
inject:patternInject the local file
graphic:123Set the background to the local graphic
color:f00;0f0;00fColorizes the interface.
You can quickly inject orca files into the currently active file, by using the command-line prompt — Allowing you to navigate across multiple files like you would a project. Type
CmdOrCtrl+K and the name of another
.orca file, located in the same folder as the opened file, to paste it into the current patch.
Orca operates on a base of 36 increments. Operators using numeric values will typically also operate on letters and convert them into values as per the following table. For instance
Dp will bang every 24th frame.
The midi operator interprets any letter above the chromatic scale as a transpose value, for instance
3H, is equivalent to
- Pilot, a companion synth tool.
- Aioi, a companion to send complex OSC messages.
- Estra, a companion sampler tool.
- Sonic Pi, a livecoding environment.