Play

Hear Mora patterns in your browser.

Write pattern forms, evaluate them, and listen. The website translates a subset of Mora into Strudel, a JavaScript port of TidalCycles, which plays them with Web Audio. It is a sketchpad for the language: Mora itself runs in Common Lisp and sends sound to SuperDirt.

Stopped

Put the cursor inside a form and press Ctrl+Return to evaluate it, the same key as in Mora Studio. Channels d1! to d8! keep playing until you replace them or stop.

What plays here

Translated
Channels, tempo, s and notes literals with mini notation, >> pipelines, stack, the cat family, time-cat and arrange, transformations such as every, jux, within, swing-by, echo-spaced, pick, and pace, scale degrees, chord voicings, equal tunings, signals and arithmetic, and sound parameters such as gain and cut.
Sounds
Sample names such as bd, sn, and hh load from the Dirt-Samples collection, so they can differ from your SuperDirt banks. Levels follow SuperDirt's gain curve. The SuperDirt instrument psin plays as a sine tone with the same decay.
Mora only
Visual facets, inline views and controls, sample libraries (loops, part, stem), Lisp extension forms such as defpattern, and everything in Mora Studio. Forms the translator does not support are reported instead of guessed.
Credits
Browser playback uses Strudel (AGPL-3.0-or-later) and the Dirt-Samples collection, loaded when you first press play.

Search the documentation

Results update as you type. Use the up and down arrow keys to choose a result and Enter to open it.