Orca's R operator outputs a random value between min and max each frame
The R (random) operator outputs a new random value between its two inputs every frame it is evaluated: R(min max). In an uppercase (per-frame) context, R generates a continuously changing value; when used as input to the MIDI note field, it produces random melody. A common idiom uses R to select from a constrained range — e.g., aRG outputs a random letter A through G, which maps to a diatonic note name. Combining R with a D (delay) bang gives controlled randomness at a specific tempo division.
Examples
D8.aRG. .:03D.. → bang every 8 frames; random note A–G on octave 3
Assessment
How would you modify R to produce only pentatonic-range values? What is the difference between RaG and R0Z?