--- title: Creating Patterns layout: ../../layouts/MainLayout.astro --- import { MiniRepl } from '../../docs/MiniRepl'; import { JsDoc } from '../../docs/JsDoc'; # Creating Patterns The following functions will return a pattern. These are the equivalents used by the Mini Notation: | function | mini | | -------------------------------- | ---------------- | | `cat(x, y)` | `""` | | `seq(x, y)` | `"x y"` | | `stack(x, y)` | `"x,y"` | | `s_cat([3,x],[2,y])` | `"x@3 y@2"` | | `s_polymeter([a, b, c], [x, y])` | `"{a b c, x y}"` | | `s_polymeterSteps(2, x, y, z)` | `"{x y z}%2"` | | `silence` | `"~"` | ## cat ## seq ## stack ## s_cat ## arrange ## s_polymeter ## s_polymeterSteps ## silence ## run After Pattern Constructors, let's see what [Time Modifiers](/learn/time-modifiers) are available.