Documentation · Transforms

^ Inversion

The figure mirrored around the axis: what went up goes down. The axis is degree 1 unless axis says otherwise.

  • Degrees mirror by scale steps, so the result stays in the key. Literal notes mirror by semitones.
  • A chord mirrors its root and swaps major and minor.
  • Two ^ cancel. Drums do not change.
  • Transforms combine in any order: Fig~^ and Fig^~ are both the retrograde inversion.
  • The engine mirrors before it transposes, so a ^ at a use site negates an @k inside the rule.

A rising figure and its mirror.

running…edit it and it re-runs as you type

c4 d4 e4 g4 c4 b3 a3 f3

Degrees stay in the key; literal notes mirror exactly.

running…edit it and it re-runs as you type

a3 g3 f3 g#3 g3 f3

Chords swap major and minor.

running…edit it and it re-runs as you type

c4 e4 g4 c4 d#4 g4 d4 f4 a4 b3 d#4 f#4

The retrograde inversion, in either order.

running…edit it and it re-runs as you type

c4 d4 e4 g4 f3 a3 b3 c4

Two mirrors cancel.

running…edit it and it re-runs as you type

c4 d4 e4 c4 d4 e4