1.1.1
ARRANGEMENT
MATH SEQ · CORE MONITOR
OUT

Откуда берутся x и p. Их не задаёшь ты — их подставляет движок, а формулы описывают, что с ними делать.

x — время в долях (четвертях). Это часы секвенсора: после Play растёт от 0 (сейчас на 2 в секунду) и сбрасывается в 0, дойдя до LOOP. t — то же время в секундах с момента Play.

p — фаза колебания, 0…1. За один период звуковой волны p проходит от 0 до 1 и начинает заново, поэтому бежит с частотой ноты: на A4 — 440 оборотов в секунду. Чем выше y(x), тем быстрее бежит p.

x → y(x) высота → частота → p → w(p) форма волны → × a(x) громкость → фильтр c(x) → звук

How it works

Every track is four formulas, evaluated for every audio sample:

y(x)pitch in semitones relative to the track's root note. 12 = one octave up.
a(x)amplitude, 0…1. This is your envelope and your rhythm.
w(p)waveform. p is the oscillator phase, 0…1 once per period. A pair (left, right) makes a stereo wave: on the XY oscilloscope the left channel is x and the right is y, so the parametric curve x = sin t, y = sin 2t is (sin(2pi p), sin(4pi p)).
c(x)filter cutoff in Hz (optional; leave empty to bypass).

Variables: x — time in beats (quarter notes), loops every LOOP beats · t — seconds since play · p — phase (waveform only) · constants pi, tau, e.

Rhythm cheat-sheet: mod(x, 1) restarts every beat, mod(x, 1/2) every 8th, mod(x, 1/4) every 16th, mod(x, 4) every bar. e^(-8mod(x, 1/2)) is a decaying hit on every 8th.

Syntax: + - * / ^ %, comparisons < > <= >= == != (give 1 or 0), brackets () [] {}. Multiplication can be implicit: 12e^(-8x), 2pi p, 4mod(x,1).

Name a formula for the display: fi(x) = 12e^(-8mod(x, 1/2)) - 12 shows as φ(x). Greek names (phi/fi, omega, psi, …), Greek letters (φ, ω) and subscripts (N_0(x)) work. The name is cosmetic — the row still decides whether it is pitch, amplitude, wave or cutoff.

Functions

Space — play/stop · click a formula to show it on the monitor · MIX shows every track as notes · XY shows the output as an oscilloscope figure.